From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [patch] Problem with insert anniversary agenda function (was Re: org-bbdb-anniversaries gives error 'bad sexp') Date: Mon, 20 Jun 2011 08:41:42 +0100 Message-ID: <87ei2par0p.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> <87zklioqm9.fsf_-_@ucl.ac.uk> <87lix242ya.fsf_-_@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYa0c-0002zL-Cf for emacs-orgmode@gnu.org; Mon, 20 Jun 2011 04:39:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QYa0Z-0001YL-Pf for emacs-orgmode@gnu.org; Mon, 20 Jun 2011 04:39:02 -0400 Received: from vscani-e.ucl.ac.uk ([144.82.108.33]:50399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYa0Z-0001Y1-BM for emacs-orgmode@gnu.org; Mon, 20 Jun 2011 04:38:59 -0400 In-Reply-To: (Carsten Dominik's message of "Thu, 16 Jun 2011 14:41:51 +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: emacs-orgmode@gnu.org Carsten Dominik writes: [...] > Thanks for the patch! Indeed, there was a bug here which always forced > one particular date style even though the code was supposed to do the > right thing. Thanks! > > However, instead of applying your patch, I thought that maybe I > should put my foot where my mouth is and remove these dependencies > altogether. > > So I have just introduced a few functions org-anniversary, org-cyclic > and a few more which are just like their diary-* cousins, but with a > stable (ISO) order of arguments. Ahhhhh, I like this *much* better. > `i a' in the agenda will now also use org-anniversary, not diary-anniversary. > > For users of org-diary-class, there is a new function org-class which works > the same as org-diary-class, but with stable argument ordering. > > - Carsten Carsten, many thanks for this. The org-anniversary, at the very least, seems to work perfectly. It's nice not to have to worry about date orders! -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.409.g4f3a3)