From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel van der Boom Subject: org-capture adds newline(s) when it should not Date: Mon, 25 Oct 2010 12:51:03 +0200 Message-ID: <20101025125103.3348022d@hsdev.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=34367 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PAKdw-0005Aj-FD for emacs-orgmode@gnu.org; Mon, 25 Oct 2010 06:51:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PAKdu-0002Wo-Um for emacs-orgmode@gnu.org; Mon, 25 Oct 2010 06:51:08 -0400 Received: from router2.hsdev.com ([213.125.12.138]:35047 helo=mbp.hsdev.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PAKdu-0002WS-Pp for emacs-orgmode@gnu.org; Mon, 25 Oct 2010 06:51:06 -0400 Received: from hsdev.com (unknown [IPv6:::1]) by mbp.hsdev.com (Postfix) with ESMTPS id 1E50975735 for ; Mon, 25 Oct 2010 12:51:04 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi all, I'm in the process of migrating from org-remember to org-capture. Pretty easy going so far, but it seems org-capture adds newlines, which I think it should not do. My (test) capture-template is: (("t" "Todo" entry (file "~/.outlet/GTD.org") "* TODO %?" :prepend t :empty-lines 0) with the intention of inserting the captured task on the first line of the file ~/.outlet/GTD.org. What happens when I capture an task is this: * TODO Captured task .... Both before and after the task is a newline. Also, when capturing and cancelling the capture with C-c C-k the newlines remain whereas the task is removed. I'm using the latest git version with emacs 24.0.50.1 on Ubuntu 10.10 Am I doing something wrong or is this a bug? marcel -- Marcel van der Boom -- http://hsdev.com/mvdb.vcf11 So! web applications -- http://make-it-so.info Cobra build -- http://cobra.mrblog.nl