From: Carsten Dominik <dominik@uva.nl>
To: Thomas Baumann <dtbaumann@yahoo.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: org-bbdb and 1. March
Date: Mon, 6 Oct 2008 20:45:36 +0200 [thread overview]
Message-ID: <BECCF8B0-BEA9-499A-9E25-F2BA529D3EF5@uva.nl> (raw)
In-Reply-To: <m34p3psmdk.fsf@norvel.baumann-gauting.site>
Applied, thanks.
- Carsten
On Oct 6, 2008, at 6:45 PM, Thomas Baumann wrote:
> confirmed, thanks for reporting.
> Carsten surely will checkin the following patch soon.
>
> Thomas
>
> diff --git a/lisp/org-bbdb.el b/lisp/org-bbdb.el
> index ad5265f..044b74b 100644
> --- a/lisp/org-bbdb.el
> +++ b/lisp/org-bbdb.el
> @@ -291,11 +291,16 @@ This is used by Org to re-create the
> anniversary hash table."
> (y (nth 2 date)) ; year
> (annivs (gethash (list m d) org-bbdb-anniv-hash))
> (text ())
> - split class form rec)
> + split class form rec recs)
>
> ;; 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))))
> + (when (and (= m 3) (= d 1)
> + (not (null (gethash (list 2 29) org-bbdb-anniv-hash)))
> + (not (calendar-leap-year-p y)))
> + (setq recs (gethash (list 2 29) org-bbdb-anniv-hash))
> + (while (setq rec (pop recs))
> + (push rec annivs)))
> +
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2008-10-06 18:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-05 17:25 org-bbdb and 1. March Tom Rauchenwald
2008-10-06 16:45 ` Thomas Baumann
2008-10-06 18:45 ` Carsten Dominik [this message]
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=BECCF8B0-BEA9-499A-9E25-F2BA529D3EF5@uva.nl \
--to=dominik@uva.nl \
--cc=dtbaumann@yahoo.de \
--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).