From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shankar Rao Subject: org-capture-template: file+datetree+prompt not using prompted date in template Date: Wed, 4 Nov 2015 13:22:25 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e013a18a25b515a0523bd9b10 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu5Vj-00072l-O4 for emacs-orgmode@gnu.org; Wed, 04 Nov 2015 16:22:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zu5Vi-0006HS-Q4 for emacs-orgmode@gnu.org; Wed, 04 Nov 2015 16:22:27 -0500 Received: from mail-ob0-x232.google.com ([2607:f8b0:4003:c01::232]:32921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu5Vi-0006HN-Lo for emacs-orgmode@gnu.org; Wed, 04 Nov 2015 16:22:26 -0500 Received: by obbww6 with SMTP id ww6so24159451obb.0 for ; Wed, 04 Nov 2015 13:22:26 -0800 (PST) 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 --089e013a18a25b515a0523bd9b10 Content-Type: text/plain; charset=UTF-8 For the following org capture template: (setq org-capture-templates '(("d" "Date Tree Test" plain (file+datetree+prompt "~/org/testdt.org") "This date should be the date i picked: %<%y%m%d>"))) Though this is filed under the correct date in the datetree, no matter what date I select in the prompt, the date displayed in the template is the current date. Is this a bug or a feature? How do I use the prompt-selected date in the template? Shankar --089e013a18a25b515a0523bd9b10 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
For the following org capture template:

(setq org-capture-templates
=C2=A0 =C2=A0 =C2=A0 '(= ("d" "= ;Date Tree Test" plain
(file+datetree+pr= ompt "~/org/testdt.org")=
"This date should be the date i picked: %<%= y%m%d>")))

Though= this is filed under the correct date in the datetree, no matter what date = I select in the prompt, the date displayed in the template is the current d= ate. Is this a bug or a feature?

How do I use the prompt-selected date in the template?=C2=A0

<= div>Shankar
--089e013a18a25b515a0523bd9b10--