emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tom Rauchenwald <its.sec@gmx.net>
To: emacs-orgmode@gnu.org
Subject: org-bbdb and 1. March
Date: Sun, 05 Oct 2008 19:25:01 +0200	[thread overview]
Message-ID: <87tzbrc5ua.fsf@sec.modprobe.de> (raw)

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

             reply	other threads:[~2008-10-05 17:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-05 17:25 Tom Rauchenwald [this message]
2008-10-06 16:45 ` org-bbdb and 1. March Thomas Baumann
2008-10-06 18:45   ` Carsten Dominik
2008-10-06 20:11   ` Tom Rauchenwald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tzbrc5ua.fsf@sec.modprobe.de \
    --to=its.sec@gmx.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).