From: Ian Barton <lists@wilkesley.net>
To: Sharon Kimble <boudiccas@talktalk.net>, ian@manor-farm.org
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: TODOs and birthdays
Date: Fri, 28 Mar 2014 16:26:24 +0000 [thread overview]
Message-ID: <5335A2B0.5070107@wilkesley.net> (raw)
In-Reply-To: <87eh1mxqev.fsf@talktalk.net>
On 28/03/14 16:02, Sharon Kimble wrote:
> Ian Barton <lists@wilkesley.net> 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.
next prev parent reply other threads:[~2014-03-28 16:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-28 8:19 TODOs and birthdays Sharon Kimble
2014-03-28 11:15 ` Ian Barton
2014-03-28 16:02 ` Sharon Kimble
2014-03-28 16:26 ` Ian Barton [this message]
2014-03-29 2:42 ` Eric Abrahamsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5335A2B0.5070107@wilkesley.net \
--to=lists@wilkesley.net \
--cc=boudiccas@talktalk.net \
--cc=emacs-orgmode@gnu.org \
--cc=ian@manor-farm.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).