emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Michael Baum <maabaum@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Setting a deadline in a template
Date: Thu, 21 Jun 2012 11:15:59 -0400	[thread overview]
Message-ID: <8109.1340291759@alphaville> (raw)
In-Reply-To: Message from Michael Baum <maabaum@gmail.com> of "Thu, 21 Jun 2012 10:48:29 EDT." <CA+G3xFjb-J05kU+VzjVCr44Kk-AxtL8JoVfQB_KELhRi5MKmVQ@mail.gmail.com>

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

  reply	other threads:[~2012-06-21 15:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-21 14:48 Setting a deadline in a template Michael Baum
2012-06-21 15:15 ` Nick Dokos [this message]
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=8109.1340291759@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=maabaum@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).