emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christoph Groth <cwg@falma.de>
To: emacs-orgmode@gnu.org
Subject: org-bbdb: anniversaries with unknown years
Date: Sun, 10 Oct 2010 12:15:09 +0200	[thread overview]
Message-ID: <874ocujqvm.fsf@falma.de> (raw)

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

             reply	other threads:[~2010-10-10 10:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-10 10:15 Christoph Groth [this message]
2010-10-10 10:34 ` org-bbdb: anniversaries with unknown years Carsten Dominik
2010-10-10 11:16   ` Richard Riley
2010-10-10 11:26     ` Carsten Dominik
2010-10-10 11:57       ` Richard Riley
2010-10-25 16:33         ` Thomas Baumann
2011-02-07 11:43   ` [PATCH] org-bbdb: allow " Christoph Groth
2011-02-08 15:57     ` [Accepted] " Bastien Guerry
2011-02-08 15:58     ` [PATCH] " Bastien
2011-02-08 16:05     ` Thomas Baumann
2011-02-09 14:42       ` Christoph Groth

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=874ocujqvm.fsf@falma.de \
    --to=cwg@falma.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).