From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: [bug] Problem with insert anniversary agenda function (was Re: org-bbdb-anniversaries gives error 'bad sexp') Date: Wed, 15 Jun 2011 20:13:02 +0100 Message-ID: <87zklioqm9.fsf_-_@ucl.ac.uk> 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> <87lix529x6.fsf@fastmail.fm> <87boy14siq.fsf@nzebook.haselwarter.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWvWY-0006Fu-6N for emacs-orgmode@gnu.org; Wed, 15 Jun 2011 15:13:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWvWV-0008BI-G8 for emacs-orgmode@gnu.org; Wed, 15 Jun 2011 15:13:10 -0400 Received: from vscane-a2.ucl.ac.uk ([144.82.108.42]:42127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWvWV-0008Az-3O for emacs-orgmode@gnu.org; Wed, 15 Jun 2011 15:13:07 -0400 In-Reply-To: (Carsten Dominik's message of "Wed, 15 Jun 2011 16:32:47 +0200") 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: Carsten Dominik Cc: Matt Lundin , emacs-orgmode@gnu.org, bbdb-info@lists.sourceforge.net, Philipp Haselwarter Carsten Dominik writes: > On Jun 13, 2011, at 6:15 PM, Philipp Haselwarter wrote: > >> thanks, got it working now (with some fiddling). >> >> looks like `calendar-date-style' is not honored /at all/, if you don't >> use YYYY-MM-DD format (as stated in the org-bbdb.el header, admittedly), >> it just blows up in your face :) > > While I think the org-bbdb code could be made more forgiving, > I strongly feel that calendar-date-style is an evil variable, > especially if it is applied to input. One should never rely on it. > > my 5c. > > - Carsten Although I am likely to agree with you on this, any interactions with Emacs's diary requires working with it. This reminds me of a problem with the insert anniversary function in the default agenda view ("i a"). This function ignores the calendar-date-style and inserts dates in the american style, which of course means that diary entries are quietly ignored if you have calendar-date-style set to anything other than 'american... Not a big deal... I don't use anniversaries *that* often! -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.391.gfaccb.dirty)