* diary-anniversary doesn'work om Mac osx 12.6.3
@ 2023-01-29 17:19 Renato Pontefice
2023-01-30 13:46 ` Ihor Radchenko
0 siblings, 1 reply; 5+ messages in thread
From: Renato Pontefice @ 2023-01-29 17:19 UTC (permalink / raw)
To: emacs-orgmode
I’ l try here, because I’m really confused about this prob.
I try to perform this simple line of emacs manual (this is the perfect page of the manual where I took this: where I took this: "31.13.10 Sexp Entries and the Fancy Diary Display”). Because trying to learn emacs I would try as many entry possibile as I could (I know I can obtain that in a different way).
But on my Mac OS X platform I cannot obtain the right result.
I’ve tried with:
- emacs ver 26.2; 28.3; 28.3 (via terminal “emacs -Q” and via GUI With or without a init.el file
-aquamacs 3.6 (that use emacs 25.3.50.1)
And finally, I’ve installed a VM, running Debian 11 and try it running emacs by terminal and typing ORG-AGENDA ret a
I obtain the agenda with the correct entry.
So I’m wondering:
Maybe Mac osx does not contain the right (elisp?) code to obtain that?
Any suggestion will be appreciate, because I cannot explain to my self this
Thank you
Renato
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: diary-anniversary doesn'work om Mac osx 12.6.3
2023-01-29 17:19 diary-anniversary doesn'work om Mac osx 12.6.3 Renato Pontefice
@ 2023-01-30 13:46 ` Ihor Radchenko
2023-01-30 14:58 ` Renato Pontefice
0 siblings, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2023-01-30 13:46 UTC (permalink / raw)
To: Renato Pontefice; +Cc: emacs-orgmode
Renato Pontefice <renato.pontefice@gmail.com> writes:
> I try to perform this simple line of emacs manual (this is the perfect page of the manual where I took this: where I took this: "31.13.10 Sexp Entries and the Fancy Diary Display”). Because trying to learn emacs I would try as many entry possibile as I could (I know I can obtain that in a different way).
>
> But on my Mac OS X platform I cannot obtain the right result.
> I’ve tried with:
> - emacs ver 26.2; 28.3; 28.3 (via terminal “emacs -Q” and via GUI With or without a init.el file
> ... And finally, I’ve installed a VM, running Debian 11 and try it running emacs by terminal and typing ORG-AGENDA ret a
> I obtain the agenda with the correct entry.
>
> So I’m wondering:
> Maybe Mac osx does not contain the right (elisp?) code to obtain that?
Could you please detail what exactly you tried? How did you use
diary-anniversary? What did you put into diary file? Or did you use
diary sexp style timestamp? Did you enable org-agenda-include-diary?
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: diary-anniversary doesn'work om Mac osx 12.6.3
2023-01-30 13:46 ` Ihor Radchenko
@ 2023-01-30 14:58 ` Renato Pontefice
2023-01-30 15:28 ` Gautier Ponsinet
2023-01-30 19:27 ` Ihor Radchenko
0 siblings, 2 replies; 5+ messages in thread
From: Renato Pontefice @ 2023-01-30 14:58 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1792 bytes --]
* Anniversaries
%%(diary-anniversary 1948 01 30) Arthur's birthday (%d years old)
%%(diary-anniversary 2023-01-30) Arthur's birthday (%d years old)
<2023-01-30 Mon 15:53>
Just this. The last line is made by C-u-c .
To display the way my date are setted
If I press C a a
Emacs compose the agenda (as in the attached file, but without the entry of Arthur birthday
> Il giorno 30 gen 2023, alle ore 14:46, Ihor Radchenko <yantar92@posteo.net> ha scritto:
>
> Renato Pontefice <renato.pontefice@gmail.com> writes:
>
>> I try to perform this simple line of emacs manual (this is the perfect page of the manual where I took this: where I took this: "31.13.10 Sexp Entries and the Fancy Diary Display”). Because trying to learn emacs I would try as many entry possibile as I could (I know I can obtain that in a different way).
>>
>> But on my Mac OS X platform I cannot obtain the right result.
>> I’ve tried with:
>> - emacs ver 26.2; 28.3; 28.3 (via terminal “emacs -Q” and via GUI With or without a init.el file
>
>> ... And finally, I’ve installed a VM, running Debian 11 and try it running emacs by terminal and typing ORG-AGENDA ret a
>> I obtain the agenda with the correct entry.
>>
>> So I’m wondering:
>> Maybe Mac osx does not contain the right (elisp?) code to obtain that?
>
> Could you please detail what exactly you tried? How did you use
> diary-anniversary? What did you put into diary file? Or did you use
> diary sexp style timestamp? Did you enable org-agenda-include-diary?
>
> --
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>
[-- Attachment #2.1: Type: text/html, Size: 3153 bytes --]
[-- Attachment #2.2: Schermata 2023-01-30 alle 15.58.15.png --]
[-- Type: image/png, Size: 73976 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: diary-anniversary doesn'work om Mac osx 12.6.3
2023-01-30 14:58 ` Renato Pontefice
@ 2023-01-30 15:28 ` Gautier Ponsinet
2023-01-30 19:27 ` Ihor Radchenko
1 sibling, 0 replies; 5+ messages in thread
From: Gautier Ponsinet @ 2023-01-30 15:28 UTC (permalink / raw)
To: Renato Pontefice; +Cc: emacs-orgmode
Hello Renato,
Renato Pontefice <renato.pontefice@gmail.com> :
> * Anniversaries
> %%(diary-anniversary 1948 01 30) Arthur's birthday (%d years old)
>
> %%(diary-anniversary 2023-01-30) Arthur's birthday (%d years old)
>
> <2023-01-30 Mon 15:53>
> Just this. The last line is made by C-u-c .
> To display the way my date are setted
>
> If I press C a a
> Emacs compose the agenda (as in the attached file, but without the entry of Arthur birthday
Have you tried 'org-anniversary' instead of 'diary-anniversary'?
All the best,
Gautier.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: diary-anniversary doesn'work om Mac osx 12.6.3
2023-01-30 14:58 ` Renato Pontefice
2023-01-30 15:28 ` Gautier Ponsinet
@ 2023-01-30 19:27 ` Ihor Radchenko
1 sibling, 0 replies; 5+ messages in thread
From: Ihor Radchenko @ 2023-01-30 19:27 UTC (permalink / raw)
To: Renato Pontefice; +Cc: emacs-orgmode
Renato Pontefice <renato.pontefice@gmail.com> writes:
> * Anniversaries
> %%(diary-anniversary 1948 01 30) Arthur's birthday (%d years old)
>
> %%(diary-anniversary 2023-01-30) Arthur's birthday (%d years old)
>
> <2023-01-30 Mon 15:53>
> Just this. The last line is made by C-u-c .
> To display the way my date are setted
>
> If I press C a a
> Emacs compose the agenda (as in the attached file, but without the entry of Arthur birthday
I tried the above and can hear error being signalled:
Bad sexp at line 4 in /tmp/bug.org: (let ((entry Arthur's birthday (%d years old)) (date '(1 30 2023))) (diary-anniversary 2023-01-30))
Bad sexp at line 4 in /tmp/bug.org: (let ((entry Arthur's birthday (%d years old)) (date '(1 31 2023))) (diary-anniversary 2023-01-30))
Bad sexp at line 4 in /tmp/bug.org: (let ((entry Arthur's birthday (%d years old)) (date '(2 1 2023))) (diary-anniversary 2023-01-30))
Bad sexp at line 4 in /tmp/bug.org: (let ((entry Arthur's birthday (%d years old)) (date '(2 2 2023))) (diary-anniversary 2023-01-30))
Bad sexp at line 4 in /tmp/bug.org: (let ((entry Arthur's birthday (%d years old)) (date '(2 3 2023))) (diary-anniversary 2023-01-30))
Bad sexp at line 4 in /tmp/bug.org: (let ((entry Arthur's birthday (%d years old)) (date '(2 4 2023))) (diary-anniversary 2023-01-30))
Bad sexp at line 4 in /tmp/bug.org: (let ((entry Arthur's birthday (%d years old)) (date '(2 5 2023))) (diary-anniversary 2023-01-30))
Your diary entries have wrong format.
If you do <f1> f diary-anniversary <RET>, you will see
(diary-anniversary MONTH DAY &optional YEAR MARK)
So, the correct entries will be
%%(diary-anniversary 01 30 1948) Arthur's birthday (%d years old)
%%(diary-anniversary 01 30 2023) Arthur's birthday (%d years old)
org-anniversary uses more conventional year-month-day order:
%%(org-anniversary 1948 01 30) Arthur's birthday (%d years old)
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-01-30 19:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-29 17:19 diary-anniversary doesn'work om Mac osx 12.6.3 Renato Pontefice
2023-01-30 13:46 ` Ihor Radchenko
2023-01-30 14:58 ` Renato Pontefice
2023-01-30 15:28 ` Gautier Ponsinet
2023-01-30 19:27 ` Ihor Radchenko
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).