emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-bbdb-birthday reminder


From: Matt Lundin
Subject: Re: [O] org-bbdb-birthday reminder
Date: Thu, 13 Aug 2015 08:07:13 -0500
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Julien Cubizolles <address@hidden> writes:

> Matt Lundin <address@hidden> writes:
>
>> For advanced reminders of birthdays and the like, you could use a
>> diary-sexp:
>>
>> %%(diary-remind '(org-anniversary 1996 8 20) -7) Someone turns %s
>
> I'll give it a try thanks, but you need one line per birthday you want
> to be reminded of. It would be much easier to have just a field in bbdb
> to select these contatcs.

You could use a "calendar" agenda to look for upcoming birthdays
generated by org-bbdb-anniversaries:

--8<---------------cut here---------------start------------->8---
(add-to-list 'org-agenda-custom-commands
             '("c" "Calendar" agenda ""
                ((org-agenda-span 'month) 
                 (org-agenda-time-grid nil) ;;
                 (org-agenda-entry-types '(:timestamp :sexp)))))
--8<---------------cut here---------------end--------------->8---

If (for speed's sake) you wanted to limit the calendar just to
birthdays, you could create an org file with a single headline:

--8<---------------cut here---------------start------------->8---
* Birthdays
%%(org-bbdb-anniversaries)
--8<---------------cut here---------------end--------------->8---

...and then add an org-agenda-files line that points just to that
minimal file to the custom command above.

Matt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]