From: Christian Moe <mail@christianmoe.com>
To: Matt Lundin <mdl@imapmail.org>
Cc: Xebar Saram <zeltakc@gmail.com>, org mode <emacs-orgmode@gnu.org>,
John Kitchin <jkitchin@andrew.cmu.edu>
Subject: Re: prompt for deadline in capture template?
Date: Sun, 25 Oct 2015 07:34:00 +0100 [thread overview]
Message-ID: <m28u6rh2xz.fsf@christianmoe.com> (raw)
In-Reply-To: <874mhh7i7y.fsf@fastmail.fm>
Matt Lundin writes:
>> Xebar Saram writes:
>>
>>> Hi guys
>>>
>>> i looked in the capture docu but couldn't seem to find it. anyone knows how
>>> to prompt for deadline in capture template?
>
> If you want to do it more pragmatically, you could use something like
> this (adjust the template as needed).
>
> (add-to-list 'org-capture-templates
> '("d" "Deadline" entry
> (file "~/org/inbox.org")
> "* %^{Headline}\n DEADLINE: %^t"))
>
> See (info "(org) Template expansion")
My template for work projects includes this fragment:
"* TODO %^{Title} %^g\n SCHEDULED: %^{Scheduled to begin}t DEADLINE:
%^{Deadline}T\n [...]"
Note the t's after the prompts, asking specifically for the date (t) to
start work and and date + time (T) for the deadline.
Yours,
Christian
prev parent reply other threads:[~2015-10-25 6:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-22 15:19 prompt for deadline in capture template? Xebar Saram
2015-10-22 16:44 ` John Kitchin
2015-10-22 16:56 ` Xebar Saram
2015-10-23 14:49 ` Matt Lundin
2015-10-25 6:34 ` Christian Moe [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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m28u6rh2xz.fsf@christianmoe.com \
--to=mail@christianmoe.com \
--cc=emacs-orgmode@gnu.org \
--cc=jkitchin@andrew.cmu.edu \
--cc=mdl@imapmail.org \
--cc=zeltakc@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).