From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Hetzner Subject: Re: [PATCH] org-capture, :default-time and <...> Date: Tue, 29 Jul 2014 09:38:36 -0700 Message-ID: <53d7ce0e.0c8a440a.46c7.2d5d@mx.google.com> References: <53bcc2d0.64b9420a.7e2f.ffffd6f7@mx.google.com> <8738dlv1j7.fsf@bzg.ath.cx> <53d6fa2b.a6da440a.6f88.ffffdd86@mx.google.com> <87k36w9p50.fsf@bzg.ath.cx> Reply-To: Erik Hetzner Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCAQN-0004NY-3k for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 12:38:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCAQH-0005fy-Uc for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 12:38:51 -0400 In-Reply-To: <87k36w9p50.fsf@bzg.ath.cx> 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: Bastien Cc: org mode Hi Bastien, At Tue, 29 Jul 2014 17:10:51 +0200, Bastien wrote: > > Hi Erik, > > Erik Hetzner writes: > > > What I would like to do is have something a capture template string > > similar to %^t, but with a custom date format string, e.g. > > %^<%Y/%m/%d>. Is this possible in some way? > > I'd use this in the capture template: > > %(format-time-string "%Y/%m/%d" (org-time-string-to-time (org-read-date))) > > but %^<...> would make sense to, I'll add it to the requested features. Of course! Thank you so much, again, for your help. best, Erik -- Sent from my free software system .