emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] help with capture template


From: Christian Moe
Subject: Re: [O] help with capture template
Date: Wed, 14 Sep 2011 13:35:19 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0

Hi,

Try setting the :prepend property:

("l" "System Log" entry (file+headline "~/Documents/org/computer.org" "Log") "* %U %? \n %i\n" :prepend t)

hth,
Christian

On 9/14/11 12:58 PM, Renato wrote:
Hello, I have a computer.org file with this structure:

* Log
** [2011-09-12 Mon 17:34] update ...
** [2011-09-07 Wed 18:09] update ...
** TODO [2011-09-04 Sun 20:23] nouveau + pm-suspend ->  black tty    :bug:

I've been adding entries manually up to now. However I'd like to use
capture to make adding entries easier. I have this template:

("l" "System Log" entry (file+headline "~/Documents/org/computer.org"
"Log") "* %U %? \n %i\n")

which works, the only problem is that the entry gets added at the *bottom*
of the other level 2 headers, while I'd want it to be at the top
(such that the top entry is the latest date).

Any help on how I could modify the template?

cheers
renato







reply via email to

[Prev in Thread] Current Thread [Next in Thread]