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

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

[elpa] scratch/org-contacts-rebased 5ee8caa 053/118: org-contacts.el, ad


From: Stefan Monnier
Subject: [elpa] scratch/org-contacts-rebased 5ee8caa 053/118: org-contacts.el, add name alias property.
Date: Fri, 12 Nov 2021 15:37:02 -0500 (EST)

branch: scratch/org-contacts-rebased
commit 5ee8caa67a5863ac02f2b84bb1506b22a9de8ceb
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 65eeea8..a3c4aed 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]