From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Heller Subject: Re: org-capture: active timestamp in template doesn't seem to work Date: Wed, 30 Jun 2010 11:45:25 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=36560 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OU2Hw-00016t-RM for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 14:45:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OU2Hv-00072S-HI for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 14:45:36 -0400 Received: from lo.gmane.org ([80.91.229.12]:59624) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU2Hv-00072K-Ai for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 14:45:35 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OU2Hu-0000W1-3F for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 20:45:34 +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 20:45:34 +0200 Received: from hellerm2 by mail.cdrd.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jun 2010 20:45:34 +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/30/2010 11:29 AM, Markus Heller wrote: > Hello all, > > the following 2 templates yield identical results, although the second > should give date + time according to my understanding. Of course, I need to correct myself: the *first* template (using %^T) should give date + time, not the second. > (setq org-capture-templates > '(("m" "Meeting" entry (file "h:/org/refile.org") > "* Subject: %^{Subject} \t\t\t:MEETING:\n :PROPERTIES:\n :Created: %U\n > :END:\n When: %^{When}T\n%?" > ;; the above template has %^T which should give date + time > ;; but it only yields the date > :clock-in t :clock-resume t) > ("n" "Meeting" entry (file "h:/org/refile.org") > "* Subject: %^{Subject} \t\t\t:MEETING:\n :PROPERTIES:\n :Created: %U\n > :END:\n When: %^{When}t\n%?" > :clock-in t :clock-resume t))) > > Any idea as to why? Or is this a bug? > > Thanks > Markus