From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-bbdb-anniversaries gives error 'bad sexp' Date: Mon, 13 Jun 2011 00:40:47 -0400 Message-ID: <24274.1307940047@alphaville.dokosmarshall.org> References: <87wrht82iw.fsf@gmx.co.uk> <19919.63774.257976.613699@gargle.gargle.HOWL> <87k4drew8z.fsf@fastmail.fm> <87liy6vitg.fsf@fastmail.fm> <87mxhmfwqd.fsf@nzebook.haselwarter.org> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVyxW-0007eI-ET for emacs-orgmode@gnu.org; Mon, 13 Jun 2011 00:41:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QVyxV-0004EE-Cl for emacs-orgmode@gnu.org; Mon, 13 Jun 2011 00:41:06 -0400 Received: from vms173019pub.verizon.net ([206.46.173.19]:56634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVyxV-0004Dz-9Y for emacs-orgmode@gnu.org; Mon, 13 Jun 2011 00:41:05 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LMP00J0HOZZ3OQ0@vms173019.mailsrvcs.net> for emacs-orgmode@gnu.org; Sun, 12 Jun 2011 23:40:53 -0500 (CDT) In-reply-to: Message from Philipp Haselwarter of "Mon\, 13 Jun 2011 01\:36\:42 +0200." <87mxhmfwqd.fsf@nzebook.haselwarter.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Philipp Haselwarter Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, bbdb-info@lists.sourceforge.net Philipp Haselwarter wrote: > On 2011-05-16 14:08 UT, Matt Lundin wrote: >=20 > ML> Leo writes: >=20 > >> On 2011-05-16 00:58 +0800, Matt Lundin wrote: > >>> I'd be happy to take this on.AFAICT, there are three functions in > >>> org-bbdb that no longer exist in bbdb v3. > >>=20 > >> If you want you can build on top of my version.The anniversaries is > >> still broken since I don't use BBDB-anniv.el.The rest works well for > >> the past few weeks. >=20 > ML> Thanks Leo!This is very helpful. >=20 > ML> I have anniversaries working in my own setup, so between the two > ML> sets of modifications, I should be able to provide a full set of > ML> fixes.More soon... >=20 > ML> Best, Matt >=20 > Hi Matt, >=20 > Would you mind sharing the working bits of your setup? > I just tried %%(org-bbdb-anniversaries) and got a > Bad sexp at line [=E2=80=A6] >=20 > thanks for the effort! >=20 I haven't tried bbdb-3.0 yet - I'm still on "bbdb-2.36 devo", so I can't help with 3.0 problems. But if you want to debug it a bit, then the following method should give you some idea of what's going wrong. Switch to the *scratch* buffer and evaluate the following: (setq debug-on-error t) (setq date '(6 13 2011)) ; you can set the date to different things ; in order to pick up different anniversaries et= c. (org-bbdb-anniversaries) I hope this gives you a backtrace but it may be that the error is caught (in order to produce the "Bad diary sexp at ..." message) and I'm not sure whether a backtrace is produced in this case, but it's still worth trying I think. In any case, check the *Messages* buffer as well. HTH, Nick