From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Relative dates with sexep Date: Fri, 17 Sep 2010 09:01:27 +0100 Message-ID: <87tylo94tk.wl%ucecesf@ucl.ac.uk> References: <1284654438.7792.63.camel@localhost> Reply-To: e.fraga@ucl.ac.uk Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Fri_Sep_17_09:01:27_2010-1" Return-path: Received: from [140.186.70.92] (port=54997 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwWRr-00067u-Gz for emacs-orgmode@gnu.org; Fri, 17 Sep 2010 04:37:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwWRq-0008Dd-Hw for emacs-orgmode@gnu.org; Fri, 17 Sep 2010 04:37:35 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:35706) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwWRq-0008C5-Be for emacs-orgmode@gnu.org; Fri, 17 Sep 2010 04:37:34 -0400 In-Reply-To: <1284654438.7792.63.camel@localhost> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: julien cubizolles Cc: org-mode --Multipart_Fri_Sep_17_09:01:27_2010-1 Content-Type: text/plain; charset=US-ASCII 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-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. --Multipart_Fri_Sep_17_09:01:27_2010-1 Content-Type: text/plain; charset=US-ASCII -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D --Multipart_Fri_Sep_17_09:01:27_2010-1 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Multipart_Fri_Sep_17_09:01:27_2010-1--