emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Relative dates with sexep


From: Eric S Fraga
Subject: Re: [Orgmode] Relative dates with sexep
Date: Fri, 17 Sep 2010 09:01:27 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

On Thu, 16 Sep 2010 18:27:18 +0200, julien cubizolles <address@hidden> wrote:
> 
> I'm trying to specify a date relative to another date in an org file.
> I've tried to adapt one of the examples from worg, with :
> 
>  <%%(= 7 (- (calendar-absolute-from-gregorian date)
>             (calendar-absolute-from-gregorian (02 02 2010))))>
> 
> to get the date one week after the 2nd of february 2010. Bad sexp...

Quote the date: ... '(02 02 2010)
as it is trying to evaluate the function "02" otherwise.
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D

reply via email to

[Prev in Thread] Current Thread [Next in Thread]