emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org-contacts 68a0286a8f 056/154: org-contacts.el, add n


From: ELPA Syncer
Subject: [elpa] externals/org-contacts 68a0286a8f 056/154: org-contacts.el, add name alias property.
Date: Fri, 9 Sep 2022 15:58:26 -0400 (EDT)

branch: externals/org-contacts
commit 68a0286a8f8636e56f85014ef0b2c212b9537e9b
Author: Feng Shu <tumashu@gmail.com>
Commit: Bastien Guerry <bzg@altern.org>

    org-contacts.el, add name alias property.
    
    * contrib/lisp/org-contacts.el (org-contacts-alias-property): add new
      varible
      (org-contacts-matcher): add org-contacts-alias-property to this list
    
    Name alias is a very useful feature, especially for CJK users.
---
 org-contacts.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/org-contacts.el b/org-contacts.el
index 65eeea8a47..a3c4aed6f5 100644
--- a/org-contacts.el
+++ b/org-contacts.el
@@ -81,6 +81,12 @@ When set to nil, all your Org files will be used."
   :type 'string
   :group 'org-contacts)
 
+(defcustom org-contacts-alias-property "ALIAS"
+  "Name of the property for contact name alias."
+  :type 'string
+  :group 'org-contacts)
+
+
 (defcustom org-contacts-birthday-format "Birthday: %l (%Y)"
   "Format of the anniversary agenda entry.
 The following replacements are available:
@@ -129,6 +135,7 @@ The following replacements are available:
 
 (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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]