* Re: iCalendar-import-file creating bad sexp?
[not found] <mailman.4091.1238155812.31690.help-gnu-emacs@gnu.org>
@ 2009-03-27 22:07 ` Glenn Morris
2009-03-30 13:24 ` Paul Mead
0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2009-03-27 22:07 UTC (permalink / raw)
To: help-gnu-emacs
Paul Mead wrote:
> &%%(and (diary-cyclic 0 16 2 2009)) 08:30-09:30 Daily review
The `and' is redundant, but that does not matter.
This entry means: an appointment starting on 16 February 2009 (assuming
you use the European calendar style, otherwise it is broken), repeating
every 0 days.
The 0 is nonsensical - change it to whatever positive integer it should
be.
If you can isolate the iCalendar entry that results in that entry when
processed by icalendar-import-file, you may wish to report it with M-x
report-emacs-bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: iCalendar-import-file creating bad sexp?
2009-03-27 22:07 ` iCalendar-import-file creating bad sexp? Glenn Morris
@ 2009-03-30 13:24 ` Paul Mead
0 siblings, 0 replies; 3+ messages in thread
From: Paul Mead @ 2009-03-30 13:24 UTC (permalink / raw)
To: help-gnu-emacs
Glenn Morris <rgm+news <at> stanford.edu> writes:
>
> Paul Mead wrote:
>
> > &%%(and (diary-cyclic 0 16 2 2009)) 08:30-09:30 Daily review
>
> The `and' is redundant, but that does not matter.
>
> This entry means: an appointment starting on 16 February 2009 (assuming
> you use the European calendar style, otherwise it is broken), repeating
> every 0 days.
>
> The 0 is nonsensical - change it to whatever positive integer it should
> be.
>
> If you can isolate the iCalendar entry that results in that entry when
> processed by icalendar-import-file, you may wish to report it with M-x
> report-emacs-bug.
>
>
I've had a look at the calendar file exported from Outlook, and in particular
the RRULE line which looks like this:
RRULE:FREQ=WEEKLY;INTERVAL=0;BYDAY=MO,TU,WE,TH,FR
So it appears that icalendar-import-file may not be handling the BYDAY part, and
just taking the INTERVAL=0. So, is this a missing feature of
icalendar-import-file, or is it just not possible to translate this into a valid
sexp? Or is it a bug?
Paul
^ permalink raw reply [flat|nested] 3+ messages in thread
* iCalendar-import-file creating bad sexp?
@ 2009-03-27 11:52 Paul Mead
0 siblings, 0 replies; 3+ messages in thread
From: Paul Mead @ 2009-03-27 11:52 UTC (permalink / raw)
To: help-gnu-emacs
Hi, I wonder if anyone has come across this? I've exported by Outlook
calendar into iCalendar format and used icalendar-import-file to import
it into my diary. Now when I try to show certain dates, I get an error:
Bad sexp at line 19 in ~/diary: (and (diary-cyclic 0 16 2 2009))
The line in question is:
&%%(and (diary-cyclic 0 16 2 2009)) 08:30-09:30 Daily review
I've done nothing manually to this, so I'm a bit baffled. I can't find
any detailed enough information anywhere to check the syntax
either. Anyone got any ideas or experience of this?
GNU Emacs 22.2.1 (i386-mingw-nt1.1.2600) of 2008-03-26 on RELEASE
thanks
Paul
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-30 13:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.4091.1238155812.31690.help-gnu-emacs@gnu.org>
2009-03-27 22:07 ` iCalendar-import-file creating bad sexp? Glenn Morris
2009-03-30 13:24 ` Paul Mead
2009-03-27 11:52 Paul Mead
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).