From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wanrong Lin 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 Message-ID: <96b9e6c5-a283-bfef-d128-bfdd246b3629@gmail.com> References: <51338C37.9020604@gmail.com> <87li8qfrrv.fsf@bzg.ath.cx> <23706.28088.983119.50420@AGAME7.local> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:38819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h8rkO-0004RA-FG for emacs-orgmode@gnu.org; Tue, 26 Mar 2019 15:28:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h8rd7-0002ce-2z for emacs-orgmode@gnu.org; Tue, 26 Mar 2019 15:21:02 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:33316) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h8rd6-0002c6-Pw for emacs-orgmode@gnu.org; Tue, 26 Mar 2019 15:21:01 -0400 Received: by mail-pl1-x62a.google.com with SMTP id bg8so2081387plb.0 for ; Tue, 26 Mar 2019 12:21:00 -0700 (PDT) In-Reply-To: <23706.28088.983119.50420@AGAME7.local> Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Thomas Plass Cc: emacs-orgmode@gnu.org 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 > > >