From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Setting a deadline in a template Date: Thu, 21 Jun 2012 11:15:59 -0400 Message-ID: <8109.1340291759@alphaville> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Shj7B-0001LU-Hf for emacs-orgmode@gnu.org; Thu, 21 Jun 2012 11:16:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Shj75-0004p3-GV for emacs-orgmode@gnu.org; Thu, 21 Jun 2012 11:16:09 -0400 Received: from g5t0009.atlanta.hp.com ([15.192.0.46]:22838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Shj75-0004nm-Bu for emacs-orgmode@gnu.org; Thu, 21 Jun 2012 11:16:03 -0400 In-Reply-To: Message from Michael Baum of "Thu, 21 Jun 2012 10:48:29 EDT." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Baum Cc: emacs-orgmode@gnu.org Michael Baum 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