From: Jan Malakhovski <oxij@oxij.org>
To: emacs-orgmode@gnu.org
Cc: Jan Malakhovski <oxij@oxij.org>
Subject: [PATCH 3/3] org-contacts: fix org-contacts-matcher for BIRTHDAYs
Date: Sun, 27 Dec 2015 14:47:56 +0000 [thread overview]
Message-ID: <1451227676-10899-4-git-send-email-oxij@oxij.org> (raw)
In-Reply-To: <1451227676-10899-1-git-send-email-oxij@oxij.org>
* contrib/lisp/org-contacts.el (org-contacts-matcher): Fix expression to work for BIRTHDAY-only contacts.
---
contrib/lisp/org-contacts.el | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/contrib/lisp/org-contacts.el b/contrib/lisp/org-contacts.el
index ebc7bcd..96e163b 100644
--- a/contrib/lisp/org-contacts.el
+++ b/contrib/lisp/org-contacts.el
@@ -159,12 +159,14 @@ The following replacements are available:
:group 'org-contacts)
(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)
- "<>\"\"|")
+ (mapconcat 'identity
+ (mapcar (lambda (x) (concat x "<>\"\""))
+ (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
--
2.6.4
next prev parent reply other threads:[~2015-12-27 14:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-27 14:47 [PATCH v3 part1 0/3] Fixes Jan Malakhovski
2015-12-27 14:47 ` [PATCH 1/3] org-clock: fix a typo Jan Malakhovski
2015-12-29 20:23 ` Nicolas Goaziou
2015-12-27 14:47 ` [PATCH 2/3] ob-calc: don't leave garbage on the stack Jan Malakhovski
2015-12-29 20:23 ` Nicolas Goaziou
2015-12-27 14:47 ` Jan Malakhovski [this message]
2015-12-29 20:23 ` [PATCH 3/3] org-contacts: fix org-contacts-matcher for BIRTHDAYs Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1451227676-10899-4-git-send-email-oxij@oxij.org \
--to=oxij@oxij.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.