From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fredrik Subject: Re: Date calculations Date: Wed, 30 Dec 2009 14:08:22 +0100 Message-ID: <07672ED0-2760-4203-9837-0CD081BA0BFC@jumans.net> References: <6DC4A9FE-BA1F-4106-87D7-29985BF09116@jumans.net> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NPyI3-0003BR-E3 for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 08:08:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NPyHy-00038f-Lk for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 08:08:38 -0500 Received: from [199.232.76.173] (port=58335 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NPyHy-00038Z-8e for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 08:08:34 -0500 Received: from mail.snowmen.se ([80.169.182.173]:38354) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NPyHx-0003pW-Vc for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 08:08:34 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.snowmen.se (Postfix) with ESMTP id CA69FD402B3 for ; Wed, 30 Dec 2009 14:08:28 +0100 (CET) Received: from mail.snowmen.se ([127.0.0.1]) by localhost (mail.snowmen.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id nyNfdDYDq3xs for ; Wed, 30 Dec 2009 14:08:24 +0100 (CET) Received: from [10.0.0.11] (c-c646e755.03-54-73746f50.cust.bredbandsbolaget.se [85.231.70.198]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.snowmen.se (Postfix) with ESMTP id 6EE25D402B2 for ; Wed, 30 Dec 2009 14:08:23 +0100 (CET) In-Reply-To: <6DC4A9FE-BA1F-4106-87D7-29985BF09116@jumans.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hmm reading a bit more in the manual I found that entries like this should work: %%(diary-anniversary 14 5 1956) Arthur Dent is %d years old But I can't make in show in my agenda? The manual also samples this : %%(org-calendar-holiday) This works though? So any ideas on how to make the first one work? Regards, Fredrik On 30 dec 2009, at 13.47, Fredrik wrote: > I'm using a normal org-file as my contact register so I easier can > link tasks to a specific person. I have also added events as > birthdays to each contact but is there some way I can make them show > up in the agenda with some yearly calculations? > > For example a simple birthday reminder can look like this: > > * <2006-12-30 ++1y> Happy Birthday! > > Is there some clever way I can add a date calculation to it when it > shows up in the agenda? > > * <2006-12-30 ++1y> Happy Birthday %d years! > > Regards, > > Fredrik > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode