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: julien cubizolles
Subject: Re: [Orgmode] Relative dates with sexep
Date: Sun, 19 Sep 2010 10:40:40 +0200

Le samedi 18 septembre 2010 à 20:03 +0100, Eric S Fraga a écrit :

> > (defun diary-relative (n day)
> >   "Diary entry that will always appear N days from day"
> >   (=
> >    (calendar-absolute-from-gregorian date)
> >    (+ n (calendar-absolute-from-gregorian day))))
> > 
> > I try to use it with a sexp like :
> > <%%(diary-relative (7 '(09 15 2010)))>
> > 
> > which doesn't work. I really need to seriously read about lisp
> > programming...
> 
> Possibly! ;-)
> 
> Try <%%(diary-relative 7 '(09 15 2010))>
> as the arguments to a function should not be in ()s.

Thanks, it works.

Julien.




reply via email to

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