Re: [O] help with capture template

2011-09-14 Thread Renato
On Wed, 14 Sep 2011 13:35:19 +0200
Christian Moe  wrote:

> Hi,
> 
> Try setting the :prepend property:
> 
> ("l" "System Log" entry (file+headline "~/Documents/org/computer.org" 
> "Log") "* %U %? \n %i\n" :prepend t)
> 
> hth,

yes, it helped. Thank you very much,

renato



Re: [O] help with capture template

2011-09-14 Thread Christian Moe

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








[O] help with capture template

2011-09-14 Thread Renato
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