From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Magolske Subject: Re: org-capture -- optionally add time-of-day as with C-c . ? Date: Wed, 10 Feb 2016 11:57:40 -0800 Message-ID: <20160210195740.GA26198@s70206.gridserver.com> References: <20160210092256.GA12739@s70206.gridserver.com> <87si10pe3r.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTau6-0007cB-CQ for emacs-orgmode@gnu.org; Wed, 10 Feb 2016 14:58:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTau2-0001pF-5r for emacs-orgmode@gnu.org; Wed, 10 Feb 2016 14:58:22 -0500 Received: from mail6.webfaction.com ([74.55.86.74]:44246 helo=smtp.webfaction.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTau2-0001oo-1D for emacs-orgmode@gnu.org; Wed, 10 Feb 2016 14:58:18 -0500 Received: from localhost (unknown [172.58.24.213]) by smtp.webfaction.com (Postfix) with ESMTP id 1CCC920A6406 for ; Wed, 10 Feb 2016 19:56:45 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87si10pe3r.fsf@gmail.com> 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@gnu.org Hi Aaron, * Aaron Ecay [160210 11:22]: > Using %^T seems to give the desired behavior you describe in your > message. Can you try it and see if it works for you? (Regrettably, > it=92s not obvious from the docstring of =91org-capture-templates=92 th= at it > should behave like that, since %T is supposed to insert a time > unconditionally. But in my testing, %^T only inserts a time if one is > entered by the user.) I just tried %^T and it did not work -- a time-of-day was included in all cases. What *did* work however is the lowercase %^t version. With that in my org-capture template, just the date is inserted, except when an explicit time-of-day is entered at the minibuffer prompt. Then that time is added after the date. This makes picking dates & times with org-capture a breeze. Thanks for clueing me in! John --=20 John Magolske http://b79.net/contact