From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rauchenwald Subject: org-bbdb and 1. March Date: Sun, 05 Oct 2008 19:25:01 +0200 Message-ID: <87tzbrc5ua.fsf@sec.modprobe.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmXMg-0006m4-Ug for emacs-orgmode@gnu.org; Sun, 05 Oct 2008 13:25:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmXMf-0006kR-9M for emacs-orgmode@gnu.org; Sun, 05 Oct 2008 13:25:54 -0400 Received: from [199.232.76.173] (port=43292 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmXMf-0006kO-3D for emacs-orgmode@gnu.org; Sun, 05 Oct 2008 13:25:53 -0400 Received: from main.gmane.org ([80.91.229.2]:37955 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KmXMe-0003OI-Se for emacs-orgmode@gnu.org; Sun, 05 Oct 2008 13:25:53 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KmXMa-0006E4-Hu for emacs-orgmode@gnu.org; Sun, 05 Oct 2008 17:25:48 +0000 Received: from 77.119.143.247 ([77.119.143.247]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Oct 2008 17:25:48 +0000 Received: from its.sec by 77.119.143.247 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Oct 2008 17:25:48 +0000 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 Hi, I noticed a bug with org-bbdb. If I enter a anniversary for the 1st of March, org doesn't show it in the agenda and complains with "Bad sexp at line 9 in /home/sec/org/geburtstage.org: (org-bbdb-anniversaries)" It seems to have to do with the special-casing of the 29th of February in leap-years, i.e. when I comment the following lines: ,---- | ;; we don't want to miss people born on Feb. 29th | (when (and (= m 3) (= d 1) (not (calendar-leap-year-p y))) | (setq annivs (cons annivs (gethash (list 2 29) org-bbdb-anniv-hash)))) `---- the bug goes away. Thanks, Tom -- Last week, Japanese scientists explaced... placed explosive detonators at the bottom of Lake Loch Ness to blow Nessie out of the water. -- Napoleon Dynamite