emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Wanrong Lin <wrglin@gmail.com>
To: Thomas Plass <thunk2@arcor.de>
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 15:20:55 -0400	[thread overview]
Message-ID: <96b9e6c5-a283-bfef-d128-bfdd246b3629@gmail.com> (raw)
In-Reply-To: <23706.28088.983119.50420@AGAME7.local>


Thanks for the explanation. My limited debugging showed the data may not 
even be passed from org to icalendar.el ("scheduled: nil" in the entry). 
But from what you said it won't work anyway regardless.

This is a bit of bummer. As a work around, do you know if there is a way 
to generate a series of dates / org entries from a diary-sexps? Thanks.

Wanrong

On 3/26/2019 2:21 PM, Thomas Plass wrote:
> 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 19:28 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
2019-03-26 19:20       ` Wanrong Lin [this message]
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=96b9e6c5-a283-bfef-d128-bfdd246b3629@gmail.com \
    --to=wrglin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=thunk2@arcor.de \
    /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).