From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Mead Newsgroups: gmane.emacs.help Subject: Re: iCalendar-import-file creating bad sexp? Date: Mon, 30 Mar 2009 13:24:23 +0000 (UTC) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1238419731 23815 80.91.229.12 (30 Mar 2009 13:28:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Mar 2009 13:28:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 30 15:30:09 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LoHVV-0006lh-Ij for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Mar 2009 15:26:30 +0200 Original-Received: from localhost ([127.0.0.1]:34725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoHU8-0007bV-5D for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Mar 2009 09:25:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoHTm-0007bQ-WE for help-gnu-emacs@gnu.org; Mon, 30 Mar 2009 09:24:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoHTh-0007b9-4r for help-gnu-emacs@gnu.org; Mon, 30 Mar 2009 09:24:41 -0400 Original-Received: from [199.232.76.173] (port=51812 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoHTg-0007b6-Tq for help-gnu-emacs@gnu.org; Mon, 30 Mar 2009 09:24:36 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:46778 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LoHTg-0003VU-GG for help-gnu-emacs@gnu.org; Mon, 30 Mar 2009 09:24:36 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LoHTe-0001ZU-Km for help-gnu-emacs@gnu.org; Mon, 30 Mar 2009 13:24:34 +0000 Original-Received: from external.atkinsglobal.com ([193.117.23.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Mar 2009 13:24:34 +0000 Original-Received: from paul.d.mead by external.atkinsglobal.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Mar 2009 13:24:34 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 193.117.23.129 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63386 Archived-At: Glenn Morris 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