From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: org-bbdb-anniversaries-future Date: Wed, 01 Mar 2017 10:19:44 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cj0QK-0007jC-2w for emacs-orgmode@gnu.org; Wed, 01 Mar 2017 04:19:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cj0QG-0006yk-Qu for emacs-orgmode@gnu.org; Wed, 01 Mar 2017 04:19:52 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:62273) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cj0QG-0006xj-Ev for emacs-orgmode@gnu.org; Wed, 01 Mar 2017 04:19:48 -0500 In-Reply-To: (Michael Welle's message of "Thu, 14 Jul 2016 13:09:14 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Michael Welle Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, On 2016-07-14 14:09, Michael Welle writes: > Hello, > > org-bbdb-anniversaries-future uses the following format to insert > anniversaries into the agenda: > > Birthday: [[bbdb:foo bar][foo bar (37th) -- 2016-07-14]] > > Seeing the date in the agenda makes me feel like I have a lot of time to > get a present. Then, just before the shops close, I realise that her > birthday is today ;). > > So I introduced a function that calculates the agenda entry with respect > to the time span between the actual event and the agenda date. This allows > to have entries like > > Birthday: [[bbdb:foo bar][foo bar (37th) -- 2016-07-14]] > Birthday: [[bbdb:foo bar][foo bar (37th) -- in 8 days]] > Birthday: [[bbdb:foo bar][foo bar (37th) -- tomorrow]] > Birthday: [[bbdb:foo bar][foo bar (37th) -- today]] > > The patch is attached to this posting. Sorry for reviving this old thread, but was this added to org? I would find it most useful. Best, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO=E2=82=82, Mauna Loa Obs. 2017-01: 406.13, 2016-01: = 402.52 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJYtpIwAAoJEAQNCjtO0uXHOnkIALSmRzxQAHbLH1SXAbWp/ovU xrsUYfIt6nA8DW9MoV1hCOt5rgD3AJ/+F9ZA68Y15G8rC+phYiWHS7pjE/IXAdTq 1ScSxYT17WmoJgvxgHExKSyxgrvR9aslhkGCUWILtEsCDZ5r4YaPLK+QirLaMtGR ZDsh3UpNLD6HBqdoOuHGfFRpocw/CItlIHWdFTuDwTNjs5OQP51caCov1WpoQcRG 8ObAQ81OX8CkCLCrSy3ykPSDq098k17bPBzahS2EO5WfgaJgZfpzoSrMP5mu5HaI NDtOZuQQEg/XF9b5B+nmnWLdyOR+Mr9+V6vtm/kSA37YFkgKskN15hJQxtEM3Hs= =wL0C -----END PGP SIGNATURE----- --=-=-=--