X-Loop: help-debbugs@HIDDEN Subject: bug#78085: 30.1; wrong iCalendar export with diary-float Resent-From: "Timo E." <tengel@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 27 Apr 2025 09:32:03 +0000 Resent-Message-ID: <handler.78085.B.174574628414495 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 78085 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 78085 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.174574628414495 (code B ref -1); Sun, 27 Apr 2025 09:32:03 +0000 Received: (at submit) by debbugs.gnu.org; 27 Apr 2025 09:31:24 +0000 Received: from localhost ([127.0.0.1]:39143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u8yM8-0003lh-2P for submit <at> debbugs.gnu.org; Sun, 27 Apr 2025 05:31:24 -0400 Received: from lists.gnu.org ([2001:470:142::17]:57458) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <tengel@HIDDEN>) id 1u8xxO-00024i-5n for submit <at> debbugs.gnu.org; Sun, 27 Apr 2025 05:05:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <tengel@HIDDEN>) id 1u8xx7-0003d8-KT for bug-gnu-emacs@HIDDEN; Sun, 27 Apr 2025 05:05:36 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from <tengel@HIDDEN>) id 1u8xx5-0002Yb-MM for bug-gnu-emacs@HIDDEN; Sun, 27 Apr 2025 05:05:33 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4Zlgds6Xhqz9t0P for <bug-gnu-emacs@HIDDEN>; Sun, 27 Apr 2025 11:05:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1745744721; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z83F2EvwCqkT7vgnqMl6O7aDQBB6/rjwEF5sldjhAiU=; b=vwUnrdP5sCT4Ix7n5ZIagK3w+e8WpK7cxFhCDRV7NmCzmQ/HRnCz69vGNAT3A2K84nQa29 IJZMjoBO8xQ0e6f1WMFf8tstB/gobP8veNnLRLAx2YF4zKcHNpchywvrsK8xLgZnSLVIBw qsZ7zXFHzHOokT/voM7Z1B33Tlj5zt7vf5bBj9ZEb07jKb+HagwRbyJxb6qc+ZcaJN+BBF EFWZ+vg08qWUs9FVzj0Alw/ThtOwBdV1hzC8wigXaRDZkW+DndeczWzEiiDk5q44OKcM1W eneTehiqIUC/Q0RyeNlv52P7AWOH7HCabMS6ra7RgWXF3trHSMP990JFCO6kjQ== Message-ID: <92f29cf9-f6d8-4946-9bea-7bde1196c231@HIDDEN> Date: Sun, 27 Apr 2025 11:05:20 +0200 MIME-Version: 1.0 Content-Language: de-DE, en-US From: "Timo E." <tengel@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MBO-RS-META: w9q9kgh63b5h74w9q3gtgg65esmxgpdq X-MBO-RS-ID: 60a45ec4a61d1722ce9 Received-SPF: pass client-ip=80.241.56.172; envelope-from=tengel@HIDDEN; helo=mout-p-202.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Mailman-Approved-At: Sun, 27 Apr 2025 05:31:19 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Hi, the iCalendar export seems wrong when the .org file contains events with diary-float. I reported this already to emacs-orgmode@HIDDEN, but it is not an issue in Org mode but in 'icalendar--convert-float-to-ical'. For example, my .org file contains: * my appointment %%(diary-float t 6 1) 1st Sat/month The agenda M-x org-agenda-list shows this event correctly at the first Saturday per month. The .ics file created with M-x org-export-dispatch, c (Export to iCalendar), f (Current file) contains the event BEGIN:VEVENT UID:DS1-ddf9e720-3c8a-4b2a-93d8-62dde9cdf5a8 DTSTART;VALUE=DATE:20250418 EXDATE;VALUE=DATE:20250418 RRULE:FREQ=MONTHLY;BYDAY=1SA SUMMARY:1st Sat/month END:VEVENT DSTART and EXDATE are set to the current date. (i.e. the date when the .ics file is created). I think DSTART should be set to the next first Saturday of the month. EXDATE is not required, as there are no exceptions specified. RFC 5545 says in 3.8.5.3. Recurrence Rule "The "DTSTART" property value SHOULD be synchronized with the recurrence rule, if specified. The recurrence set generated with a "DTSTART" property value not synchronized with the recurrence rule is undefined." Thanks Timo
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: "Timo E." <tengel@HIDDEN> Subject: bug#78085: Acknowledgement (30.1; wrong iCalendar export with diary-float) Message-ID: <handler.78085.B.174574628414495.ack <at> debbugs.gnu.org> References: <92f29cf9-f6d8-4946-9bea-7bde1196c231@HIDDEN> X-Gnu-PR-Message: ack 78085 X-Gnu-PR-Package: emacs Reply-To: 78085 <at> debbugs.gnu.org Date: Sun, 27 Apr 2025 09:32:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 78085 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 78085: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78085 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#78085: 30.1; wrong iCalendar export with diary-float Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 10 May 2025 09:43:02 +0000 Resent-Message-ID: <handler.78085.B78085.174687017323250 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78085 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Timo E." <tengel@HIDDEN>, Richard Lawrence <rwl@HIDDEN> Cc: 78085 <at> debbugs.gnu.org Received: via spool by 78085-submit <at> debbugs.gnu.org id=B78085.174687017323250 (code B ref 78085); Sat, 10 May 2025 09:43:02 +0000 Received: (at 78085) by debbugs.gnu.org; 10 May 2025 09:42:53 +0000 Received: from localhost ([127.0.0.1]:43990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uDgjN-00062w-4s for submit <at> debbugs.gnu.org; Sat, 10 May 2025 05:42:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60782) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uDgjK-00062d-1m for 78085 <at> debbugs.gnu.org; Sat, 10 May 2025 05:42:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1uDgjD-0002c4-ME; Sat, 10 May 2025 05:42:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Hori5bOv1cSfMs8RlgdQMNVvxMXk6LwxDj8BLRDmzjY=; b=AaiQKsyIbJnR JxWAq2UHqlUxPL84J050E6Rr4UBGl0llBn807ligz7ZTx28/arMbkSDiS7ugnuJfzOdVvrpZGDQU8 AGIW0/YAGzpbaCHvd3B6Ids83ubsFT19nk0RXhFdnuCNDAXe2NF5wqst1OgE1JpLXzdYtBFrGMKWF ezDaNgGynNf+XrNuZpgIQMGmqPbg56FNffAjY/3bu3/YUCbtd2e86bb9qMMGYZ+WSrprzTa0S4eEJ B8y+0j24GFiEoMa7KGJA3GhMQ1Y+dSFLEbOAwoZeF+5HYNmUYW5pxGG7rV2Jzz4MNAzbSpEHGy3I2 Q5ZKbtHjnbbgsjlySQ7BdA==; Date: Sat, 10 May 2025 12:42:40 +0300 Message-Id: <86zffkajjj.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <92f29cf9-f6d8-4946-9bea-7bde1196c231@HIDDEN> (bug-gnu-emacs@HIDDEN) References: <92f29cf9-f6d8-4946-9bea-7bde1196c231@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Sun, 27 Apr 2025 11:05:20 +0200 > From: "Timo E." via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > Hi, > > the iCalendar export seems wrong when the .org file contains events > with diary-float. > I reported this already to emacs-orgmode@HIDDEN, but it is not an > issue in Org mode but in 'icalendar--convert-float-to-ical'. > > For example, my .org file contains: > * my appointment > %%(diary-float t 6 1) 1st Sat/month > > The agenda M-x org-agenda-list shows this event correctly at the first > Saturday per month. > The .ics file created with M-x org-export-dispatch, c (Export to > iCalendar), f (Current file) contains the event > > BEGIN:VEVENT > UID:DS1-ddf9e720-3c8a-4b2a-93d8-62dde9cdf5a8 > DTSTART;VALUE=DATE:20250418 > EXDATE;VALUE=DATE:20250418 > RRULE:FREQ=MONTHLY;BYDAY=1SA > SUMMARY:1st Sat/month > END:VEVENT > > DSTART and EXDATE are set to the current date. (i.e. the date when the > .ics file is created). I think DSTART should be set to the next first > Saturday of the month. EXDATE is not required, as there are no > exceptions specified. > > RFC 5545 says in 3.8.5.3. Recurrence Rule > "The "DTSTART" property value SHOULD be synchronized with the > recurrence rule, if specified. The recurrence set generated with a > "DTSTART" property value not synchronized with the recurrence rule is > undefined." Thank you for your report. Richard, any comments or suggestions about this?
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.