emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to include diary anniversary entries into default org-agenda


From: stardiviner
Subject: Re: [O] How to include diary anniversary entries into default org-agenda?
Date: Thu, 21 Dec 2017 15:52:28 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

Sorry, that's my mis-type. You example works.

Now the problem is:

> #+begin_src org
> ,* Anniversary
>
> ,** my first child anniversary
>
> %%(diary-anniversary 10 26 2017)
>
> ,** Funeral Arrangement
>
> ,*** kk
>
> %%(diary-anniversary 12 8 2007)
> #+end_src

Then org-agenda shows all headlines which has anniversary entry.

Like:

- Valentine's Day

- My Birthday

- my first child anniversary


Without considering whether the anniversary date is a day past one year? (I think anniversary is by default repeat one year. Like org-mode timestamp repeat. <2017-12-21 Thu +1y>)

I know there are other diary anniversary syntax like:

- ~%%(diary-anniversary 3 24 2014)~ diary anniversary

- ~%%(diary-cyclic 2 7 26 2014)~ repeated diary.

- ~%%(diary-block 7 26 2014 8 26 2020)~ diary block

- ~%%(diary-float t 5 1)~ happens every 1st Friday of the month.

I checked out those syntax in Org-mode Info diary nod.


This seems a little kind of off my original topic.


On 12/21/2017 03:42 PM, Nick Dokos wrote:
"address@hidden" <address@hidden> writes:

I tried %%(org-anniversary 2016 12 21) Test anniversary. But this
seems does not work. I tested with variable diary-file default value
point to ~/.emacs.d/diary file. and has following content:

...

%%(org-anniversary 2016 12 21) Test anniversary

Works fine here. Where are you adding this line?  You have to put this
in an agenda file, otherwise it will not be processed.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]