From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Heller Subject: Re: org-capture: Formatting of entries Date: Wed, 30 Jun 2010 10:53:58 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=40041 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OU1V5-0000OR-K2 for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 13:55:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OU1V4-0005K5-Jt for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 13:55:07 -0400 Received: from lo.gmane.org ([80.91.229.12]:42459) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU1V4-0005Jv-CB for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 13:55:06 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OU1V2-0003Hp-Mi for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 19:55:04 +0200 Received: from mail.cdrd.ca ([142.103.191.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jun 2010 19:55:04 +0200 Received: from hellerm2 by mail.cdrd.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jun 2010 19:55:04 +0200 In-Reply-To: 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 On 6/29/2010 8:19 PM, Puneeth wrote: > Hi > > On Wed, Jun 30, 2010 at 5:08 AM, Markus Heller wrote: > Just adding a space before the :PROPERTIES: drawer will work, right? >> (setq org-capture-templates >> '(("t" "Task" entry (file "h:/org/refile.org") >> "* TODO %^{Todo} \n:PROPERTIES:\n:Created: %U\n:END:\n\n%?" >> :clock-in :clock-resume))) > > > (setq org-capture-templates > '(("t" "Task" entry (file "h:/org/refile.org") > "* TODO %^{Todo} \n :PROPERTIES:\n :Created: %U\n :END:\n\n%?" > :clock-in :clock-resume))) > No, adding a space between "\n" and ":PROPERTIES:", ":Created", and ":END:" does just that, it adds a space, but does NOT yield the proper indent. This becomes more obvious when you refile a capture note to a second-level headline. Any other ideas/suggestions? Thanks Markus