emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcus Zibrowius <marcus.zibrowius@posteo.net>
To: Ihor Radchenko <yantar92@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 20:28:33 +0000	[thread overview]
Message-ID: <72d76e609d26638a686b693816666ffc2c3c894a.camel@posteo.net> (raw)
In-Reply-To: <87351d36yl.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 1354 bytes --]

> Please provide mode details about what you tried.  

OK, I will try.  I start emacs with 

    emacs -Q -l emacs_init/minimal-org.el

Here, minimal-org.el has the following contents:

    ;; Activate debugging.
    (setq debug-on-error t
      debug-on-signal nil
      debug-on-quit nil
      icalendar-export-sexp-enumeration-days 400)

    ;; Add latest Org mode to load path.
    (custom-set-variables
     '(package-selected-packages
       '(org-plus-contrib)))

In this setup, `M-x version` and `M-x org-version` bring up the following information:

    GNU Emacs 28.2 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2023-06-23

    Org mode version 9.5.5 (release_9.5.5 @ /snap/emacs/current/usr/share/emacs/28.2/lisp/org/)

`org-time-stamp` gives `<2023-07-24 Mo>`.

I create a minimal org-file `test.org` with the following contents:

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

I open this file in emacs and hit `C-c C-e c f` to export it to icalendar.  The file `test.ics` has the following contents:

    BEGIN:VCALENDAR
    VERSION:2.0
    X-WR-CALNAME:test
    PRODID:-//Marcus//Emacs with Org mode//EN
    X-WR-TIMEZONE:CEST
    X-WR-CALDESC:
    CALSCALE:GREGORIAN
    END:VCALENDAR



[-- Attachment #2: Type: text/html, Size: 1530 bytes --]

  reply	other threads:[~2023-07-24 20:29 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
2023-07-24 20:28           ` Marcus Zibrowius [this message]
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=72d76e609d26638a686b693816666ffc2c3c894a.camel@posteo.net \
    --to=marcus.zibrowius@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@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).