* Setting a deadline in a template
@ 2012-06-21 14:48 Michael Baum
2012-06-21 15:15 ` Nick Dokos
0 siblings, 1 reply; 3+ messages in thread
From: Michael Baum @ 2012-06-21 14:48 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 685 bytes --]
I'm sure there's a simple answer to this but i can't seem to tease it out
of the on-line docs. I want to set up a capture template for entering
incoming work that automatically sets a deadline for the item when it's
entered. Ideally, I'd like it to set a deadline 4 business hours in the
future of the current time, but that's a tricky calculation and I'd settle
for current time plus a day.
I've tried the naive approach:
...
DEADLINE: %T+1
...
Doesn't work so well. What's the proper way?
Thanks,
maaab
--
====================================
Michael Baum <maabaum@gmail.com>
You should never have your best trousers on when you go out
to fight for freedom and truth. - Ibsen
[-- Attachment #2: Type: text/html, Size: 842 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Setting a deadline in a template
2012-06-21 14:48 Setting a deadline in a template Michael Baum
@ 2012-06-21 15:15 ` Nick Dokos
2012-06-21 15:29 ` Sylvain Rousseau
0 siblings, 1 reply; 3+ messages in thread
From: Nick Dokos @ 2012-06-21 15:15 UTC (permalink / raw)
To: Michael Baum; +Cc: emacs-orgmode
Michael Baum <maabaum@gmail.com> wrote:
> I'm sure there's a simple answer to this but i can't seem to tease it out of the on-line docs. I
> want to set up a capture template for entering incoming work that automatically sets a deadline for
> the item when it's entered. Ideally, I'd like it to set a deadline 4 business hours in the future of
> the current time, but that's a tricky calculation and I'd settle for current time plus a day.
>
> I've tried the naive approach:
> ...
> DEADLINE: %T+1
> ...
>
> Doesn't work so well. What's the proper way?
>
Off the top of my head, I suspect you will need to write your own
function to produce the template you want.
Nick
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-21 15:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-21 14:48 Setting a deadline in a template Michael Baum
2012-06-21 15:15 ` Nick Dokos
2012-06-21 15:29 ` Sylvain Rousseau
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.