* How to include diary anniversary entries into default org-agenda?
@ 2017-12-20 3:21 stardiviner
2017-12-20 8:28 ` Roland Everaert
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: stardiviner @ 2017-12-20 3:21 UTC (permalink / raw)
To: emacs-orgmode
I have an org-mode file:
#+begin_src org
,* Anniversary
,** my first child anniversary
%%(diary-anniversary 10 26 2017)
,** Funeral Arrangement
,*** kk
%%(diary-anniversary 12 8 2007)
#+end_src
How to include and show them in default org-agenda day view by
configuring org-mode?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to include diary anniversary entries into default org-agenda?
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:40 ` Robert Horn
2 siblings, 0 replies; 10+ messages in thread
From: Roland Everaert @ 2017-12-20 8:28 UTC (permalink / raw)
To: stardiviner; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 529 bytes --]
I don't know for the agenda, but if you install calfw and calfw-cal, you
can see your diary entries in a "more graphical" calendar.
On Wed, Dec 20, 2017 at 4:21 AM, stardiviner <numbchild@gmail.com> wrote:
> I have an org-mode file:
>
> #+begin_src org
> ,* Anniversary
>
> ,** my first child anniversary
>
> %%(diary-anniversary 10 26 2017)
>
> ,** Funeral Arrangement
>
> ,*** kk
>
> %%(diary-anniversary 12 8 2007)
> #+end_src
>
> How to include and show them in default org-agenda day view by configuring
> org-mode?
>
>
>
[-- Attachment #2: Type: text/html, Size: 899 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to include diary anniversary entries into default org-agenda?
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
2 siblings, 1 reply; 10+ messages in thread
From: Marco Wahl @ 2017-12-20 9:11 UTC (permalink / raw)
To: emacs-orgmode
stardiviner <numbchild@gmail.com> writes:
> I have an org-mode file:
>
> #+begin_src org
> ,* Anniversary
>
> ,** my first child anniversary
>
> %%(diary-anniversary 10 26 2017)
>
> ,** Funeral Arrangement
>
> ,*** kk
>
> %%(diary-anniversary 12 8 2007)
> #+end_src
>
> How to include and show them in default org-agenda day view by
> configuring org-mode?
IIUC you can use
#+begin_src org
,** my first child anniversary
<%%(org-anniversary 2016 12 20)>
#+end_src
to get a corresponding entry in the agenda.
HTH
Marco
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to include diary anniversary entries into default org-agenda?
2017-12-20 9:11 ` Marco Wahl
@ 2017-12-20 15:27 ` Nick Dokos
0 siblings, 0 replies; 10+ messages in thread
From: Nick Dokos @ 2017-12-20 15:27 UTC (permalink / raw)
To: emacs-orgmode
Marco Wahl <marcowahlsoft@gmail.com> writes:
> stardiviner <numbchild@gmail.com> writes:
>
>> I have an org-mode file:
>>
>> #+begin_src org
>> ,* Anniversary
>>
>> ,** my first child anniversary
>>
>> %%(diary-anniversary 10 26 2017)
>>
>> ,** Funeral Arrangement
>>
>> ,*** kk
>>
>> %%(diary-anniversary 12 8 2007)
>> #+end_src
>>
>> How to include and show them in default org-agenda day view by
>> configuring org-mode?
>
> IIUC you can use
>
> #+begin_src org
> ,** my first child anniversary
> <%%(org-anniversary 2016 12 20)>
> #+end_src
>
> to get a corresponding entry in the agenda.
>
>
I like keeping anniversaries in bbdb:
,----
| Some Person
| mail: some-person@nowhere.com
| anniversary: 1990-01-01 birthday
| 2015-01-01 wedding
`----
and incorporating them into the agenda with
,----
| * Anniversaries
| %%(org-bbdb-anniversaries)
`----
in one of my agenda files.
--
Nick
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to include diary anniversary entries into default org-agenda?
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:40 ` Robert Horn
2017-12-21 2:40 ` numbchild
2 siblings, 1 reply; 10+ messages in thread
From: Robert Horn @ 2017-12-20 15:40 UTC (permalink / raw)
To: stardiviner; +Cc: emacs-orgmode
stardiviner writes:
> I have an org-mode file:
>
> #+begin_src org
> ,* Anniversary
>
> ,** my first child anniversary
>
> %%(diary-anniversary 10 26 2017)
>
> ,** Funeral Arrangement
>
> ,*** kk
>
> %%(diary-anniversary 12 8 2007)
> #+end_src
>
> How to include and show them in default org-agenda day view by
> configuring org-mode?
Try org-anniversary. The line
%%(org-anniversary 2016 12 20) Test anniversary
Generates an anniversary in the agenda. In the default daily agenda it
is mixed in with the tasks and deadlines, so it may be easy to miss.
Note the order of the date elements is year, month, day and all three
are needed. There is an option final element of type MARK what could be
used to adjust fonts and the like.
R Horn
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to include diary anniversary entries into default org-agenda?
2017-12-20 15:40 ` Robert Horn
@ 2017-12-21 2:40 ` numbchild
2017-12-21 2:40 ` numbchild
2017-12-21 7:42 ` Nick Dokos
0 siblings, 2 replies; 10+ messages in thread
From: numbchild @ 2017-12-21 2:40 UTC (permalink / raw)
To: Robert Horn; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 2453 bytes --]
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:
%%(diary-anniversary 10 21 2016) my first child
<%%(diary-anniversary 10 21 2016)> my first child
%%(org-anniversary 2016 12 21) Test anniversary
Then I try to change diary file to an org-mode file. Has following content:
* Holiday
%%(org-calendar-holiday)
** Valentine's Day
<%%(diary-anniversary 2 14 2017)>
* Birthday
** My Birthday
<%%(diary-anniversary 3 24 1990)> I'm %d%s years old today!!!
* Anniversary
** my first child anniversary
<%%(diary-anniversary 10 26 2017)>
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 them in Org-mode Info diary node.
[stardiviner] <Hack this world!> GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Wed, Dec 20, 2017 at 11:40 PM, Robert Horn <rjhorniii@gmail.com> wrote:
>
> stardiviner writes:
>
> > I have an org-mode file:
> >
> > #+begin_src org
> > ,* Anniversary
> >
> > ,** my first child anniversary
> >
> > %%(diary-anniversary 10 26 2017)
> >
> > ,** Funeral Arrangement
> >
> > ,*** kk
> >
> > %%(diary-anniversary 12 8 2007)
> > #+end_src
> >
> > How to include and show them in default org-agenda day view by
> > configuring org-mode?
>
> Try org-anniversary. The line
>
> %%(org-anniversary 2016 12 20) Test anniversary
>
> Generates an anniversary in the agenda. In the default daily agenda it
> is mixed in with the tasks and deadlines, so it may be easy to miss.
>
> Note the order of the date elements is year, month, day and all three
> are needed. There is an option final element of type MARK what could be
> used to adjust fonts and the like.
>
> R Horn
>
[-- Attachment #2: Type: text/html, Size: 3460 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to include diary anniversary entries into default org-agenda?
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
1 sibling, 1 reply; 10+ messages in thread
From: numbchild @ 2017-12-21 2:40 UTC (permalink / raw)
To: Robert Horn; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 2910 bytes --]
Sorry
[stardiviner] <Hack this world!> GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Thu, Dec 21, 2017 at 10:40 AM, numbchild@gmail.com <numbchild@gmail.com>
wrote:
> 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:
>
> %%(diary-anniversary 10 21 2016) my first child
> <%%(diary-anniversary 10 21 2016)> my first child
> %%(org-anniversary 2016 12 21) Test anniversary
>
>
> Then I try to change diary file to an org-mode file. Has following
> content:
>
> * Holiday
>
> %%(org-calendar-holiday)
>
> ** Valentine's Day
>
> <%%(diary-anniversary 2 14 2017)>
>
>
> * Birthday
>
> ** My Birthday
>
> <%%(diary-anniversary 3 24 1990)> I'm %d%s years old today!!!
>
> * Anniversary
>
> ** my first child anniversary
>
> <%%(diary-anniversary 10 26 2017)>
>
>
>
> 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 them in Org-mode Info diary node.
>
> [stardiviner] <Hack this world!> GPG key ID: 47C32433
> IRC(freeenode): stardiviner Twitter: @numbchild
> Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
> Blog: http://stardiviner.github.io/
>
> On Wed, Dec 20, 2017 at 11:40 PM, Robert Horn <rjhorniii@gmail.com> wrote:
>
>>
>> stardiviner writes:
>>
>> > I have an org-mode file:
>> >
>> > #+begin_src org
>> > ,* Anniversary
>> >
>> > ,** my first child anniversary
>> >
>> > %%(diary-anniversary 10 26 2017)
>> >
>> > ,** Funeral Arrangement
>> >
>> > ,*** kk
>> >
>> > %%(diary-anniversary 12 8 2007)
>> > #+end_src
>> >
>> > How to include and show them in default org-agenda day view by
>> > configuring org-mode?
>>
>> Try org-anniversary. The line
>>
>> %%(org-anniversary 2016 12 20) Test anniversary
>>
>> Generates an anniversary in the agenda. In the default daily agenda it
>> is mixed in with the tasks and deadlines, so it may be easy to miss.
>>
>> Note the order of the date elements is year, month, day and all three
>> are needed. There is an option final element of type MARK what could be
>> used to adjust fonts and the like.
>>
>> R Horn
>>
>
>
[-- Attachment #2: Type: text/html, Size: 4573 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to include diary anniversary entries into default org-agenda?
2017-12-21 2:40 ` numbchild
@ 2017-12-21 2:42 ` numbchild
0 siblings, 0 replies; 10+ messages in thread
From: numbchild @ 2017-12-21 2:42 UTC (permalink / raw)
To: Robert Horn; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 3422 bytes --]
Sorry. I try to edit it in Emacs. but it is messed up by Gmail format.
[stardiviner] <Hack this world!> GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Thu, Dec 21, 2017 at 10:40 AM, numbchild@gmail.com <numbchild@gmail.com>
wrote:
> Sorry
>
> [stardiviner] <Hack this world!> GPG key ID: 47C32433
> IRC(freeenode): stardiviner Twitter: @numbchild
> Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
> Blog: http://stardiviner.github.io/
>
> On Thu, Dec 21, 2017 at 10:40 AM, numbchild@gmail.com <numbchild@gmail.com
> > wrote:
>
>> 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:
>>
>> %%(diary-anniversary 10 21 2016) my first child
>> <%%(diary-anniversary 10 21 2016)> my first child
>> %%(org-anniversary 2016 12 21) Test anniversary
>>
>>
>> Then I try to change diary file to an org-mode file. Has following
>> content:
>>
>> * Holiday
>>
>> %%(org-calendar-holiday)
>>
>> ** Valentine's Day
>>
>> <%%(diary-anniversary 2 14 2017)>
>>
>>
>> * Birthday
>>
>> ** My Birthday
>>
>> <%%(diary-anniversary 3 24 1990)> I'm %d%s years old today!!!
>>
>> * Anniversary
>>
>> ** my first child anniversary
>>
>> <%%(diary-anniversary 10 26 2017)>
>>
>>
>>
>> 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 them in Org-mode Info diary node.
>>
>> [stardiviner] <Hack this world!> GPG key ID: 47C32433
>> IRC(freeenode): stardiviner Twitter: @numbchild
>> Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
>> Blog: http://stardiviner.github.io/
>>
>> On Wed, Dec 20, 2017 at 11:40 PM, Robert Horn <rjhorniii@gmail.com>
>> wrote:
>>
>>>
>>> stardiviner writes:
>>>
>>> > I have an org-mode file:
>>> >
>>> > #+begin_src org
>>> > ,* Anniversary
>>> >
>>> > ,** my first child anniversary
>>> >
>>> > %%(diary-anniversary 10 26 2017)
>>> >
>>> > ,** Funeral Arrangement
>>> >
>>> > ,*** kk
>>> >
>>> > %%(diary-anniversary 12 8 2007)
>>> > #+end_src
>>> >
>>> > How to include and show them in default org-agenda day view by
>>> > configuring org-mode?
>>>
>>> Try org-anniversary. The line
>>>
>>> %%(org-anniversary 2016 12 20) Test anniversary
>>>
>>> Generates an anniversary in the agenda. In the default daily agenda it
>>> is mixed in with the tasks and deadlines, so it may be easy to miss.
>>>
>>> Note the order of the date elements is year, month, day and all three
>>> are needed. There is an option final element of type MARK what could be
>>> used to adjust fonts and the like.
>>>
>>> R Horn
>>>
>>
>>
>
[-- Attachment #2: Type: text/html, Size: 5752 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to include diary anniversary entries into default org-agenda?
2017-12-21 2:40 ` numbchild
2017-12-21 2:40 ` numbchild
@ 2017-12-21 7:42 ` Nick Dokos
2017-12-21 7:52 ` stardiviner
1 sibling, 1 reply; 10+ messages in thread
From: Nick Dokos @ 2017-12-21 7:42 UTC (permalink / raw)
To: emacs-orgmode
"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.
--
Nick
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: How to include diary anniversary entries into default org-agenda?
2017-12-21 7:42 ` Nick Dokos
@ 2017-12-21 7:52 ` stardiviner
0 siblings, 0 replies; 10+ messages in thread
From: stardiviner @ 2017-12-21 7:52 UTC (permalink / raw)
To: emacs-orgmode
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.
>
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2017-12-21 7:52 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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).