emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] prompt for deadline in capture template?


From: Christian Moe
Subject: Re: [O] prompt for deadline in capture template?
Date: Sun, 25 Oct 2015 07:34:00 +0100
User-agent: mu4e 0.9.9.5-dev6; emacs 24.4.1

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]