emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org-Contacts skip archived contacts
@ 2015-09-01 16:24 Tory S. Anderson
  0 siblings, 0 replies; only message in thread
From: Tory S. Anderson @ 2015-09-01 16:24 UTC (permalink / raw)
  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---

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-01 16:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-01 16:24 Org-Contacts skip archived contacts Tory S. Anderson

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).