From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Diary synchronising with Google calendar Date: Sat, 10 Jul 2010 23:10:16 +0100 Message-ID: <871vbbyomv.wl%ucecesf@ucl.ac.uk> References: <19508.61256.794705.331948@gargle.gargle.HOWL> <25098780.22494.1278541157993.JavaMail.root@zm-cesbio-01> <19511.31257.267848.353668@gargle.gargle.HOWL> <18737865.23968.1278707659240.JavaMail.root@zm-cesbio-01> <19512.6390.427253.455577@gargle.gargle.HOWL> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Sat_Jul_10_23:10:16_2010-1" Return-path: Received: from [140.186.70.92] (port=44472 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXiFh-0006KY-1q for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 18:10:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXiFf-0005Rj-Rz for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 18:10:28 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:60148) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXiFf-0005RJ-Nt for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 18:10:27 -0400 In-Reply-To: <19512.6390.427253.455577@gargle.gargle.HOWL> 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: Jordi Inglada Cc: org-mode mailing list --Multipart_Sat_Jul_10_23:10:16_2010-1 Content-Type: text/plain; charset=US-ASCII On Sat, 10 Jul 2010 08:53:42 +0200, Jordi Inglada wrote: > > Eric, > > Thanks for your reply. Now I understand. > > The advice function is now called when I add a diary entry, however, > when I load emacs I get this message: > > Warning: reference to free variable `d1' > > And when I add a diary entry, I get an error message like this: > > org-agenda-diary-entry-in-org-file: Wrong number of arguments: [...] [ad-return-value d1 dates > entry d2 day1 nil > ad-Orig-org-agenda-add-entry-to-org-agenda-diary-file 2 block ...] 17 > #("Advice doc string" 0 17 (ad-advice-info > org-agenda-add-entry-to-org-agenda-diary-file))], 3 > > > I am not sure to use the right syntax for the diary entry. I think this is more than likely due to you using a older version of org mode. What version are you using? (try "M-x org-version RET"). --Multipart_Sat_Jul_10_23:10:16_2010-1 Content-Type: text/plain; charset=US-ASCII -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D --Multipart_Sat_Jul_10_23:10:16_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_Sat_Jul_10_23:10:16_2010-1--