From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: org-bbdb-anniversaries-future Date: Fri, 15 Jul 2016 00:22:46 +0200 Message-ID: <841t2v7tc9.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNp2B-0002DU-CT for emacs-orgmode@gnu.org; Thu, 14 Jul 2016 18:23:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNp28-0008TF-2c for emacs-orgmode@gnu.org; Thu, 14 Jul 2016 18:23:07 -0400 Received: from plane.gmane.org ([80.91.229.3]:58926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNp27-0008Sd-Ri for emacs-orgmode@gnu.org; Thu, 14 Jul 2016 18:23:03 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bNp20-00046K-IO for emacs-orgmode@gnu.org; Fri, 15 Jul 2016 00:22:56 +0200 Received: from x4d02dc55.dyn.telefonica.de ([77.2.220.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jul 2016 00:22:56 +0200 Received: from marcowahlsoft by x4d02dc55.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jul 2016 00:22:56 +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: emacs-orgmode@gnu.org Hi! > 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. +1 for including this feature. Regards -- Marco Wahl