* TODOs and birthdays
@ 2014-03-28 8:19 Sharon Kimble
2014-03-28 11:15 ` Ian Barton
2014-03-29 2:42 ` Eric Abrahamsen
0 siblings, 2 replies; 5+ messages in thread
From: Sharon Kimble @ 2014-03-28 8:19 UTC (permalink / raw)
To: org-mode
[-- Attachment #1: Type: text/plain, Size: 748 bytes --]
I have a document called 'organiser.org' which is mainly comprised of various
TODOs under various projects, and various NEXT under birthdays and hospital
appointments. These TODOs can be up to 4 levels in depth, and with one level 1
TODO as the project header. How can all of these TODOs be included in the agenda
please?
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>
`----
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.3.1
[-- Attachment #2: Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: TODOs and birthdays
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-29 2:42 ` Eric Abrahamsen
1 sibling, 1 reply; 5+ messages in thread
From: Ian Barton @ 2014-03-28 11:15 UTC (permalink / raw)
To: Sharon Kimble, org-mode
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: TODOs and birthdays
2014-03-28 11:15 ` Ian Barton
@ 2014-03-28 16:02 ` Sharon Kimble
2014-03-28 16:26 ` Ian Barton
0 siblings, 1 reply; 5+ messages in thread
From: Sharon Kimble @ 2014-03-28 16:02 UTC (permalink / raw)
To: ian; +Cc: org-mode
[-- Attachment #1: Type: text/plain, Size: 996 bytes --]
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.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.3.1
[-- Attachment #2: Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: TODOs and birthdays
2014-03-28 16:02 ` Sharon Kimble
@ 2014-03-28 16:26 ` Ian Barton
0 siblings, 0 replies; 5+ messages in thread
From: Ian Barton @ 2014-03-28 16:26 UTC (permalink / raw)
To: Sharon Kimble, ian; +Cc: org-mode
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: TODOs and birthdays
2014-03-28 8:19 TODOs and birthdays Sharon Kimble
2014-03-28 11:15 ` Ian Barton
@ 2014-03-29 2:42 ` Eric Abrahamsen
1 sibling, 0 replies; 5+ messages in thread
From: Eric Abrahamsen @ 2014-03-29 2:42 UTC (permalink / raw)
To: emacs-orgmode
Sharon Kimble <boudiccas@talktalk.net> writes:
> I have a document called 'organiser.org' which is mainly comprised of various
> TODOs under various projects, and various NEXT under birthdays and hospital
> appointments. These TODOs can be up to 4 levels in depth, and with one level 1
> TODO as the project header. How can all of these TODOs be included in the agenda
> please?
>
> 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>
> `----
>
> Thanks
> Sharon.
Do you use bbdb by any chance? If you do, you can put the birthday on
the person's record, as an "anniversary" field that looks like, for
example:
anniversary: 1930-12-02 birthday
It will show up properly in org agendas with the following settings
(hope I haven't forgotten anything):
(require 'bbdb-anniv)
(setq org-agenda-include-diary t)
(add-hook 'diary-list-entries-hook 'bbdb-anniv-diary-entries)
Just another option...
Eric
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-03-29 2:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2014-03-29 2:42 ` Eric Abrahamsen
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).