From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josef Wolf Subject: Problems with org-capture Date: Tue, 6 May 2014 11:57:34 +0200 Message-ID: <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]:46972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhcAb-0005BZ-2F for emacs-orgmode@gnu.org; Tue, 06 May 2014 06:00:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhcAW-000065-MT for emacs-orgmode@gnu.org; Tue, 06 May 2014 06:00:17 -0400 Received: from quechua.inka.de ([193.197.184.2]:33317 helo=mail.inka.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhcAW-00005l-GG for emacs-orgmode@gnu.org; Tue, 06 May 2014 06:00:12 -0400 Content-Disposition: inline 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 Hello everybody, 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 what might be wrong here? -- Josef Wolf jw@raven.inka.de