From: Ihor Radchenko <yantar92@posteo.net>
To: Marcus Zibrowius <marcus.zibrowius@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-anniversary dates not exported to iCalendar [9.4.6 (9.4.6-3-g37f69b-elpaplus @ /home/marcus/.emacs.d/elpa/org-plus-contrib-20210531/)]
Date: Fri, 21 Jul 2023 12:53:55 +0000 [thread overview]
Message-ID: <874jlxmnmk.fsf@localhost> (raw)
In-Reply-To: <2688a48d5383625b5acd5b803ff6b8b947322369.camel@posteo.net>
Marcus Zibrowius <marcus.zibrowius@posteo.net> writes:
> I have an org-file with entries of the form
>
> * Abel's birthday party
> <2023-11-13>
>
> and with entries of the form
>
> * Abel Jacobi
> %%(org-anniversary 1978 11 11) Abel %d
>
> Both types of events show up in my agenda view in emacs. However, when I
> export to ics (e.g. org-export-dispatch > [c] Export to icalendar > [f]
> Current file), only the former type of entries is included in the
> resulting ics-file.
This is because Emacs diary only looks
`icalendar-export-sexp-enumeration-days' days ahead from now when
exporting non-standard diary sexps. By default, it is 2 weeks.
So, you would see the anniversary in icalendar if it were 2 weeks from
now.
You can increase `icalendar-export-sexp-enumeration-days' to get the
anniversary occurrences exported up to that number of days ahead.
Also, `org-anniversary' does not support %d. AFAIK, it is only working
for built-in sexp types, which are handled specially.
--
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>
next prev parent reply other threads:[~2023-07-21 12:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-20 12:54 Bug: org-anniversary dates not exported to iCalendar [9.4.6 (9.4.6-3-g37f69b-elpaplus @ /home/marcus/.emacs.d/elpa/org-plus-contrib-20210531/)] Marcus Zibrowius
2023-07-21 12:53 ` Ihor Radchenko [this message]
2023-07-23 20:25 ` Marcus Zibrowius
2023-07-24 7:13 ` Ihor Radchenko
2023-07-24 10:58 ` Marcus Zibrowius
2023-07-24 11:05 ` Ihor Radchenko
2023-07-24 20:28 ` Marcus Zibrowius
2023-07-25 7:05 ` Ihor Radchenko
2023-08-21 7:28 ` Marcus Zibrowius
2023-07-25 11:23 ` Ihor Radchenko
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=874jlxmnmk.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=marcus.zibrowius@posteo.net \
/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.