emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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: Mon, 24 Jul 2023 11:05:38 +0000	[thread overview]
Message-ID: <87351d36yl.fsf@localhost> (raw)
In-Reply-To: <99ebf1b205ce17e9f418446612456de1c7d79282.camel@posteo.net>

Marcus Zibrowius <marcus.zibrowius@posteo.net> writes:

>>     * Test 1  
>>     %%(org-anniversary 2022 07 23) Test1  
>>     * Test 2  
>>     %%(org-anniversary 2022 07 25) Test2 %d
>
> Unfortunately, that still does not work, even with icalendar-export-sexp-enumeration-days set to 400.  

Please provide mode details about what you tried.
I was able to export Test2 to icalendar using the latest Org version.

I did:

1. Created /tmp/bug.org

* Test 1  
%%(org-anniversary 2022 07 23) Test1  
* Test 2  
%%(org-anniversary 2022 07 25) Test2 %d

2. cd /path/to/org/repo; make repro
3. C-x C-f /tmp/bug.org <RET>
4. C-c C-e c f
5. Open /tmp/bug.ics

BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:bug
PRODID:-////Emacs with Org mode//EN
X-WR-TIMEZONE:EEST
X-WR-CALDESC:
CALSCALE:GREGORIAN
BEGIN:VEVENT
UID:DS1-1ebdcf09-a392-48e2-a06a-aeecc1ff56b2
DTSTART;VALUE=DATE:20230725
DTEND;VALUE=DATE:20230726
SUMMARY:Test2 1
END:VEVENT
END:VCALENDAR

----

Test2 is exported, as expected.

-- 
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>


  reply	other threads:[~2023-07-24 11:06 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
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 [this message]
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87351d36yl.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 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).