From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: org-bbdb-anniversaries-future Date: Wed, 01 Mar 2017 11:35:14 +0100 Message-ID: <841suh474t.fsf@tm6592> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cj1bZ-0006as-07 for emacs-orgmode@gnu.org; Wed, 01 Mar 2017 05:35:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cj1bT-000479-F9 for emacs-orgmode@gnu.org; Wed, 01 Mar 2017 05:35:33 -0500 Received: from [195.159.176.226] (port=56452 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cj1bT-00046f-8g for emacs-orgmode@gnu.org; Wed, 01 Mar 2017 05:35:27 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cj1bL-0006Eh-5A for emacs-orgmode@gnu.org; Wed, 01 Mar 2017 11:35:19 +0100 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: emacs-orgmode@gnu.org Alan Schmitt writes: > 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. +1