From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: TODOs and birthdays Date: Fri, 28 Mar 2014 16:26:24 +0000 Message-ID: <5335A2B0.5070107@wilkesley.net> References: <87ioqyhh0j.fsf@talktalk.net> <533559CC.6060700@wilkesley.net> <87eh1mxqev.fsf@talktalk.net> Reply-To: ian@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTZc3-0008KA-Qc for emacs-orgmode@gnu.org; Fri, 28 Mar 2014 12:26:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTZbv-0005MP-BL for emacs-orgmode@gnu.org; Fri, 28 Mar 2014 12:26:35 -0400 Received: from mail2.wilkesley.net ([109.74.196.44]:58080 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTZbv-0005M8-6S for emacs-orgmode@gnu.org; Fri, 28 Mar 2014 12:26:27 -0400 In-Reply-To: <87eh1mxqev.fsf@talktalk.net> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sharon Kimble , ian@manor-farm.org Cc: org-mode On 28/03/14 16:02, Sharon Kimble wrote: > Ian Barton writes: > >> On 28/03/14 08:19, Sharon Kimble wrote: >> >>> >>> And for the birthday TODOs, how can I include the date of birth so that it shows >>> their age please? Like - >>> ,---- >>> | *** TODO Winnie Poohs birthday - is 83 >>> | SCHEDULED: <2014-12-02 Tue> AGE: <1930-12-02> >>> `---- >>> >> >> You can use the following expression for birthdays >> >> %%(diary-anniversary 11 2 1955) Daddy is %d years old >> >> Ian. > > I have this for my mums birthday > > ,---- > | *** SCHEDULED Mums birthday, she is %d years old > | %%(diary-anniversary 02-12-1930) Daddy is %d years old > | DEADLINE: <2014-12-02 Tue 12:00> SCHEDULED: <2014-12-02 Tue> > | :END: > `---- > > but it isn't giving any output, and btw, that is 2nd December. So how should it > be used then please? > > Sharon. > I am pretty sure the date needs to be in the same format as my example: %%(diary-anniversary 2 12 1930) Mum is %d years old Have a look at http://orgmode.org/manual/Weekly_002fdaily-agenda.html for more info. Also http://orgmode.org/tmp/worg/org-faq.html contains lots of useful hints on how to do more complicated things like repeating appointments. Ian.