emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* prompt for deadline in capture template?
@ 2015-10-22 15:19 Xebar Saram
  2015-10-22 16:44 ` John Kitchin
  0 siblings, 1 reply; 5+ messages in thread
From: Xebar Saram @ 2015-10-22 15:19 UTC (permalink / raw)
  To: org mode

[-- Attachment #1: Type: text/plain, Size: 138 bytes --]

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?

thx!

Z

[-- Attachment #2: Type: text/html, Size: 237 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: prompt for deadline in capture template?
  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
  0 siblings, 2 replies; 5+ messages in thread
From: John Kitchin @ 2015-10-22 16:44 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

I just type C-c C-d and add it while the capture is open.

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?
>
> thx!
>
> Z

--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: prompt for deadline in capture template?
  2015-10-22 16:44 ` John Kitchin
@ 2015-10-22 16:56   ` Xebar Saram
  2015-10-23 14:49   ` Matt Lundin
  1 sibling, 0 replies; 5+ messages in thread
From: Xebar Saram @ 2015-10-22 16:56 UTC (permalink / raw)
  To: John Kitchin; +Cc: org mode

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

thx guys

that was really helpful!

z

On Thu, Oct 22, 2015 at 7:44 PM, John Kitchin <jkitchin@andrew.cmu.edu>
wrote:

> I just type C-c C-d and add it while the capture is open.
>
> 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?
> >
> > thx!
> >
> > Z
>
> --
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
>

[-- Attachment #2: Type: text/html, Size: 1189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: prompt for deadline in capture template?
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Matt Lundin @ 2015-10-23 14:49 UTC (permalink / raw)
  To: John Kitchin; +Cc: Xebar Saram, org mode

John Kitchin <jkitchin@andrew.cmu.edu> writes:

> I just type C-c C-d and add it while the capture is open.
>
> 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")

Matt

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: prompt for deadline in capture template?
  2015-10-23 14:49   ` Matt Lundin
@ 2015-10-25  6:34     ` Christian Moe
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Moe @ 2015-10-25  6:34 UTC (permalink / raw)
  To: Matt Lundin; +Cc: Xebar Saram, org mode, John Kitchin


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-25  6:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).