[Top][All Lists]

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

[O] [PATCH] Allow early-warning anniversaries in agends [was: Re: org-bb

From: Nick Dokos
Subject: [O] [PATCH] Allow early-warning anniversaries in agends [was: Re: org-bbdb-birthday reminder]
Date: Sun, 16 Aug 2015 13:25:51 -0400
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:
>> Nick Dokos <address@hidden> writes:
>>> Here's a quick implementation of the method I described earlier
>>> in the thread:
>> This works great. Thanks! Perhaps we could integrate something like this
>> into org-bbdb.el...
> I second that. It's exactly what I was looking for.

Here's a patch to add a new function to org-bbdb.el that provides early
warning for upcoming anniversaries; it also adds some documentation to

I cleaned up the implementation a bit: the date list is produced in a
somewhat more lisp-ish way, the other helper functions have been moved
into the new org-bbdb-anniversaries-future function to avoid polluting
the name space. I could probably move the date list function in there as
well, but it seems generic enough that it should be independently

The meaning of the optional argument has changed: in the previous
version, it meant "today plus the next n days"; now it means "today plus
the next (n-1) days".

Let me know what you think.

Attachment: 0001-Allow-early-warning-anniversaries-in-agenda.patch
Description: Allow early-warning anniversaries in agenda


reply via email to

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