From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Groth Subject: org-bbdb: anniversaries with unknown years Date: Sun, 10 Oct 2010 12:15:09 +0200 Message-ID: <874ocujqvm.fsf@falma.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=36449 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4tBS-0005ea-D4 for emacs-orgmode@gnu.org; Sun, 10 Oct 2010 06:31:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4sw7-0001aE-S8 for emacs-orgmode@gnu.org; Sun, 10 Oct 2010 06:15:24 -0400 Received: from lo.gmane.org ([80.91.229.12]:58926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4sw7-0001a4-KQ for emacs-orgmode@gnu.org; Sun, 10 Oct 2010 06:15:23 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P4sw3-0003TR-Bw for emacs-orgmode@gnu.org; Sun, 10 Oct 2010 12:15:19 +0200 Received: from ip4da73686.direct-adsl.nl ([77.167.54.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Oct 2010 12:15:19 +0200 Received: from cwg by ip4da73686.direct-adsl.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Oct 2010 12:15:19 +0200 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: emacs-orgmode@gnu.org Hello, I'd like to keep birthdays and similar dates in bbdb and have them shown in my org mode agenda views. Often, however, I do not know the year of an anniversary, and in the case of my acquaintances the year of a personal anniversary is often not meaningful (e.g. name days, popular in some countries). The solution that came to my mind was to update org-bbdg.el to also accept dates in the format MM-DD. org-bbdb-anniv-extract-date would then substitute nil for unknown years. The remaining code would make sure that "unknown" is substituted for unknown `years'. That solution seems fine, however it would break compatibility with the old format of org-bbdb-anniversary-format-alist, as this assumes that a numerical value of `years' is always defined. Before writing a patch, I would like to ask for opinions on this. Cheers Christoph