|
From: | Daniel J. Sinder |
Subject: | [Orgmode] org-remember templates with dynamic target headline |
Date: | Tue, 16 Jun 2009 20:27:59 -0700 |
User-agent: | Thunderbird 2.0.0.21 (Windows/20090302) |
For a simple example, the effect I'd like to achieve is shown by putting the following in my .emacs:
(setq org-remember-templates`(("Journal" ?j "* %u %?\n" "~/org/wjournal.org" ,(format-time-string "%G: Week %V"))))
I'm an elisp noob, but I realize the problem here is that format-time-string is only evaluated once when my .emacs is read. So, unless I restart emacs every week. This doesn't work.
How can I cause format-time-string to be re-evaluated whenever org-remember is called?
Thanks, Dan
[Prev in Thread] | Current Thread | [Next in Thread] |