From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josef Wolf Subject: Re: Problems with org-capture Date: Fri, 9 May 2014 09:25:10 +0200 Message-ID: <20140509072510.GA18283@raven.inka.de> References: <20140506095734.GA5437@raven.inka.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WifG1-0007Sp-RI for emacs-orgmode@gnu.org; Fri, 09 May 2014 03:30:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WifG0-0008Qr-EJ for emacs-orgmode@gnu.org; Fri, 09 May 2014 03:30:13 -0400 Received: from quechua.inka.de ([2001:7c0:407:1001:217:a4ff:fe3b:e77c]:37066 helo=mail.inka.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WifG0-0008Qk-7U for emacs-orgmode@gnu.org; Fri, 09 May 2014 03:30:12 -0400 Content-Disposition: inline In-Reply-To: <20140506095734.GA5437@raven.inka.de> 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: emacs-orgmode@gnu.org On Di, Mai 06, 2014 at 11:57:34 +0200, Josef Wolf wrote: > I am new to org-mode, and am currently working through > http://members.optusnet.com.au/~charles57/GTD/gtd_workflow.html and am stuck > a little bit the the caprure mode. > > My first question is: org-capture seems to come with a pre-confuigured > template for a "Todo" stanza. I thought, I'd take a closer look at this > example to learn from it and as a starting point for my own > customizations. But DESCRIBE-VARIABLE shows that ORG-CAPTURE-TEMPLATES is set > to NIL. So, where does this pre-configured "Todo" entry come from? > > The I created my own template like this: > > (setq org-capture-templates > '(("t" "Todo" entry (file+headline "/m/s/rep/git/todo/newgtd.org" "Tasks") > "* TODO %^{Brief Description} %^g%?\n Created: %U\n %i\n %A\n\n" > :kill-buffer :empty-lines 3))) > > With this template, I have two problems: > > - The most annoying problem is that it eats up the newlines behind the newly > created entry. I always keep multiple empty lines between top-level > headings. But even then, a newly created entry eats up all the newlines and > even melts the succeeding heading onto the end of the newly created entry. > I guess, this is not how it is meant to work. How would I define > > - The second problem is that when invoked with content fron an active region > (the %i flag), then the %A flag won't ask me for a link description and the > %i contents are used as description. Any ideas on that problem? -- Josef Wolf jw@raven.inka.de