From: Christian Moe <mail@christianmoe.com>
To: Renato <rennabh@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: help with capture template
Date: Wed, 14 Sep 2011 13:35:19 +0200 [thread overview]
Message-ID: <4E709177.20408@christianmoe.com> (raw)
In-Reply-To: <20110914125859.03c2d7f7@gmail.com>
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
>
>
>
next prev parent reply other threads:[~2011-09-14 11:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-14 10:58 help with capture template Renato
2011-09-14 11:35 ` Christian Moe [this message]
2011-09-14 15:19 ` Renato
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E709177.20408@christianmoe.com \
--to=mail@christianmoe.com \
--cc=emacs-orgmode@gnu.org \
--cc=rennabh@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.