From ed34362a763447eba684eb46032a3273ce7338ac Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Mon, 3 Jun 2013 07:35:09 +0800 Subject: [PATCH] Add a complex org-contacts template to the file header contrib/lisp/org-contacts.el: Add a complex org-contacts template. Add a complex org-contacts template to the file header, which can help user know all the org-contacts properties quickly. --- contrib/lisp/org-contacts.el | 18 +++++++++++++++++- 1 个文件被修改,插入 17 行(+),删除 1 行(-) diff --git a/contrib/lisp/org-contacts.el b/contrib/lisp/org-contacts.el index ffd17a1..ee2e657 100644 --- a/contrib/lisp/org-contacts.el +++ b/contrib/lisp/org-contacts.el @@ -25,7 +25,7 @@ ;; This file contains the code for managing your contacts into Org-mode. -;; To enter new contacts, you can use `org-capture' and a template just like +;; To enter new contacts, you can use `org-capture' and a mini template just like ;; this: ;; ("c" "Contacts" entry (file "~/Org/contacts.org") @@ -34,6 +34,22 @@ ;; :EMAIL: %(org-contacts-template-email) ;; :END:"))) ;; +;; You can also use a complex templete, for example: +;; +;; ("c" "Contacts" entry (file "~/Org/contacts.org") +;; "* %(org-contacts-template-name) +;; :PROPERTIES: +;; :EMAIL: %(org-contacts-template-email) +;; :PHONE: +;; :ALIAS: +;; :NICKNAME: +;; :IGNORE: +;; :ICON: +;; :NOTE: +;; :ADDRESS: +;; :BIRTHDAY: +;; :END:"))) +;; ;;; Code: (eval-when-compile -- 1.7.10.4