Re: [O] [patch] Add a complex org-contacts template to the file header

2013-06-03 Thread Daimrod
Feng Shu tuma...@gmail.com writes:

Thanks for the patch!

It's merged, I've taken the liberty to fix some typos.

Regards,

-- 
Daimrod/Greg


signature.asc
Description: PGP signature


[O] [PATCH] Add a complex org-contacts template to the file header

2013-06-02 Thread Feng Shu
From ed34362a763447eba684eb46032a3273ce7338ac Mon Sep 17 00:00:00 2001
From: Feng Shu tuma...@gmail.com
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



-- 


[O] [patch] Add a complex org-contacts template to the file header

2013-06-02 Thread Feng Shu
From ed34362a763447eba684eb46032a3273ce7338ac Mon Sep 17 00:00:00 2001
From: Feng Shu tuma...@gmail.com
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


--