From: John Magolske <listmail@b79.net>
To: emacs-orgmode@gnu.org
Subject: Re: org-capture -- optionally add time-of-day as with C-c . ?
Date: Wed, 10 Feb 2016 11:57:40 -0800 [thread overview]
Message-ID: <20160210195740.GA26198@s70206.gridserver.com> (raw)
In-Reply-To: <87si10pe3r.fsf@gmail.com>
Hi Aaron,
* Aaron Ecay <aaronecay@gmail.com> [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’s not obvious from the docstring of ‘org-capture-templates’ that 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
--
John Magolske
http://b79.net/contact
prev parent reply other threads:[~2016-02-10 19:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-10 9:22 org-capture -- optionally add time-of-day as with C-c . ? John Magolske
2016-02-10 18:47 ` Charles Millar
2016-02-10 19:19 ` Aaron Ecay
2016-02-10 19:57 ` John Magolske [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160210195740.GA26198@s70206.gridserver.com \
--to=listmail@b79.net \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.