From: stardiviner <numbchild@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: How to include diary anniversary entries into default org-agenda?
Date: Thu, 21 Dec 2017 15:52:28 +0800 [thread overview]
Message-ID: <882c4f8b-6050-05b1-fe61-697dd4c3eb43@gmail.com> (raw)
In-Reply-To: <87r2roplwd.fsf@alphaville.usersys.redhat.com>
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:
> "numbchild@gmail.com" <numbchild@gmail.com> 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.
>
prev parent reply other threads:[~2017-12-21 7:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-20 3:21 How to include diary anniversary entries into default org-agenda? stardiviner
2017-12-20 8:28 ` Roland Everaert
2017-12-20 9:11 ` Marco Wahl
2017-12-20 15:27 ` Nick Dokos
2017-12-20 15:40 ` Robert Horn
2017-12-21 2:40 ` numbchild
2017-12-21 2:40 ` numbchild
2017-12-21 2:42 ` numbchild
2017-12-21 7:42 ` Nick Dokos
2017-12-21 7:52 ` stardiviner [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=882c4f8b-6050-05b1-fe61-697dd4c3eb43@gmail.com \
--to=numbchild@gmail.com \
--cc=emacs-orgmode@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.