emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: thunk2@arcor.de (Thomas Plass)
To: Wanrong Lin <wrglin@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Entries with diary-sexps in "scheduled" not exported properly to calendar file (.ics file)
Date: Tue, 26 Mar 2019 19:21:44 +0100	[thread overview]
Message-ID: <23706.28088.983119.50420@AGAME7.local> (raw)
In-Reply-To: Your message of Tuesday, March 26 2019 10:23:08 (ID: <becc0efa-9520-2b18-608b-5a63c87512cb@gmail.com>).

Hi,

Wanrong Lin wrote at 10:23 on March 26, 2019:
: 
: * TODO Do this on the second Monday every month
:   SCHEDULED: <%%(diary-float t 1 2) 19:00-20:30>
: 
: M-x org-icalendar-export-to-ics

Org agenda has its own processing of sexps, so its views are correct.
The exporter, however, uses icalendar.el for creating the iCal data.
Date processing there in `icalendar--convert-float-to-ical' is
somewhat arbitrary as per the docstring:

  "Convert float diary entry to iCalendar format -- partially unsupported!

  FIXME! DAY from diary-float yet unimplemented.

As far as the exported date is concerned, it'll always be today's
date as per this comment further down:

  ;;Start today (yes this is an arbitrary choice):

So, bug-gnu-emacs would be the list to post this issue to.

Regards

Thomas

  reply	other threads:[~2019-03-26 18:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-03 17:45 Bug: org-agenda-undo does not work on repeated tasks [7.9.3d (7.9.3d-dist @ /home/wlin/.emacs-lisp/org/lisp/)] Wanrong Lin
2013-04-10 12:38 ` Bastien
2019-03-26 14:23   ` Bug: Entries with diary-sexps in "scheduled" not exported properly to calendar file (.ics file) Wanrong Lin
2019-03-26 18:21     ` Thomas Plass [this message]
2019-03-26 19:20       ` Wanrong Lin
2019-03-26 21:01         ` Thomas Plass
2019-04-01 18:14           ` Wanrong Lin

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=23706.28088.983119.50420@AGAME7.local \
    --to=thunk2@arcor.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=wrglin@gmail.com \
    /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).