Re: [Orgmode] Relative dates with sexep

2010-09-19 Thread julien cubizolles
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 wit

Re: [Orgmode] Relative dates with sexep

2010-09-18 Thread Eric S Fraga
On Fri, 17 Sep 2010 16:41:55 +0200, julien cubizolles wrote: > > Le vendredi 17 septembre 2010 à 09:01 +0100, Eric S Fraga a écrit : > > On Thu, 16 Sep 2010 18:27:18 +0200, julien cubizolles > > wrote: > > > > > > I'm trying to specify a date relative to another date in an org file. > > > I'v

Re: [Orgmode] Relative dates with sexep

2010-09-17 Thread julien cubizolles
Le vendredi 17 septembre 2010 à 09:01 +0100, Eric S Fraga a écrit : > On Thu, 16 Sep 2010 18:27:18 +0200, julien cubizolles > 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 (- (c

Re: [Orgmode] Relative dates with sexep

2010-09-17 Thread julien cubizolles
Le vendredi 17 septembre 2010 à 09:01 +0100, Eric S Fraga a écrit : > 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. Thanks, it works. Julien. __

Re: [Orgmode] Relative dates with sexep

2010-09-17 Thread Eric S Fraga
On Thu, 16 Sep 2010 18:27:18 +0200, julien cubizolles 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-gregor

[Orgmode] Relative dates with sexep

2010-09-16 Thread julien cubizolles
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 201