From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] org-capture, :default-time and <...> Date: Tue, 29 Jul 2014 17:10:51 +0200 Message-ID: <87k36w9p50.fsf@bzg.ath.cx> References: <53bcc2d0.64b9420a.7e2f.ffffd6f7@mx.google.com> <8738dlv1j7.fsf@bzg.ath.cx> <53d6fa2b.a6da440a.6f88.ffffdd86@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC93O-0005ej-9e for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 11:11:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XC93H-0001d9-1H for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 11:11:02 -0400 Received: from mail-s76.mailgun.info ([184.173.153.204]:42100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC93G-0001cn-KU for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 11:10:54 -0400 In-Reply-To: <53d6fa2b.a6da440a.6f88.ffffdd86@mx.google.com> (Erik Hetzner's message of "Mon, 28 Jul 2014 18:34:27 -0700") 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: Erik Hetzner Cc: org mode 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. HTH, -- Bastien