emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Baum <maabaum@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Setting a deadline in a template
Date: Thu, 21 Jun 2012 10:48:29 -0400	[thread overview]
Message-ID: <CA+G3xFjb-J05kU+VzjVCr44Kk-AxtL8JoVfQB_KELhRi5MKmVQ@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2012-06-21 14:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-21 14:48 Michael Baum [this message]
2012-06-21 15:15 ` Setting a deadline in a template Nick Dokos
2012-06-21 15:29   ` Sylvain Rousseau

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=CA+G3xFjb-J05kU+VzjVCr44Kk-AxtL8JoVfQB_KELhRi5MKmVQ@mail.gmail.com \
    --to=maabaum@gmail.com \
    --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 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).