From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: help with capture template Date: Wed, 14 Sep 2011 13:35:19 +0200 Message-ID: <4E709177.20408@christianmoe.com> References: <20110914125859.03c2d7f7@gmail.com> Reply-To: mail@christianmoe.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3njn-0006eW-P3 for emacs-orgmode@gnu.org; Wed, 14 Sep 2011 07:34:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3njk-0007UM-Sr for emacs-orgmode@gnu.org; Wed, 14 Sep 2011 07:34:43 -0400 Received: from mars.hitrost.net ([91.185.211.18]:48678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3njk-0007LK-M4 for emacs-orgmode@gnu.org; Wed, 14 Sep 2011 07:34:40 -0400 In-Reply-To: <20110914125859.03c2d7f7@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Renato Cc: Org Mode 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 > > >