[Orgmode] a bug @ remember template

2010-01-31 Thread zwz
I use org-remember for my contact records.

This is a template in org-remember-templates
(Contact ?c * %^{Name} \n%[~/.contact]\n contact.org Contacts)

the content of the file ~/.contact:
:PROPERTIES:
:Mobile: %^{mobile}
:Email:
:Added: %u
:END:

I found that the prompt %^{mobile} works, but *the inactive time stamp %u
does not.* It is not replaced.

I guess it is a bug.




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] a bug @ remember template

2010-01-31 Thread Carsten Dominik


On Jan 31, 2010, at 5:00 PM, zwz wrote:


I use org-remember for my contact records.

This is a template in org-remember-templates
(Contact ?c * %^{Name} \n%[~/.contact]\n contact.org Contacts)

the content of the file ~/.contact:
:PROPERTIES:
:Mobile: %^{mobile}
:Email:
:Added: %u
:END:

I found that the prompt %^{mobile} works, but *the inactive time  
stamp %u

does not.* It is not replaced.

I guess it is a bug.



Maybe not a bug - this simplt depends on the sequence
in which % escapes are expanded in the template.

However, I can see that it could be nice to define the templates
in a separate file like you do - so I have changed the sequence now.
File insertion happens first, so that this should now work (untested).

HTH

- Carsten






___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode