From mboxrd@z Thu Jan 1 00:00:00 1970 From: torys.anderson@gmail.com (Tory S. Anderson) Subject: Org-Contacts skip archived contacts Date: Tue, 01 Sep 2015 10:24:52 -0600 Message-ID: <87d1y2150r.fsf@torysa-worldsendless.byu.edu> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWoN7-0006Q5-1N for emacs-orgmode@gnu.org; Tue, 01 Sep 2015 12:25:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWoN2-0003bF-Om for emacs-orgmode@gnu.org; Tue, 01 Sep 2015 12:25:21 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:34814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWoN2-0003aO-KF for emacs-orgmode@gnu.org; Tue, 01 Sep 2015 12:25:16 -0400 Received: by padhy1 with SMTP id hy1so649636pad.1 for ; Tue, 01 Sep 2015 09:24:31 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: orgmode list It would be useful to mark a contact as "archived" so that it won't auto-fill in an email, as when I may want to look someone up in the future but don't need to contact them now. Judging by the docstring I thought the answer would be with `org-contacts-matcher` but I can't quite make sense of how this thing works. Is there a line I should add to this to tell it to ignore `:archive:` tags, or can someone think of an easier way? --8<---------------cut here---------------start------------->8--- (defcustom org-contacts-matcher (mapconcat 'identity (list org-contacts-email-property org-contacts-alias-property org-contacts-tel-property org-contacts-address-property org-contacts-birthday-property) "<>\"\"|") "Matching rule for finding heading that are contacts. This can be a tag name, or a property check." :type 'string :group 'org-contacts) --8<---------------cut here---------------end--------------->8---