From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ulf Jasper Newsgroups: gmane.emacs.bugs Subject: bug#56241: [PATCH] icalendar doesn't correctly process arbitrary diary sexp entries Date: Sun, 24 Jul 2022 20:14:49 +0200 Message-ID: <8735eq5qee.fsf@panama> References: <21bff87f-b8dc-c7bc-41ab-97c7077a0535@airmail.cc> <87edza8rbu.fsf@gnus.org> <87mtdxt4mr.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36873"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 56241@debbugs.gnu.org, hokomo To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 24 20:16:17 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oFg9J-0009Nr-Bj for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jul 2022 20:16:17 +0200 Original-Received: from localhost ([::1]:39672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFg9I-0007DX-4W for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jul 2022 14:16:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFg95-0007DM-JX for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 14:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58892) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFg94-0006Wx-FR for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 14:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFg94-00053g-8L for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 14:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ulf Jasper Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Jul 2022 18:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56241 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 56241-submit@debbugs.gnu.org id=B56241.165868651319371 (code B ref 56241); Sun, 24 Jul 2022 18:16:02 +0000 Original-Received: (at 56241) by debbugs.gnu.org; 24 Jul 2022 18:15:13 +0000 Original-Received: from localhost ([127.0.0.1]:48641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFg8H-00052M-CC for submit@debbugs.gnu.org; Sun, 24 Jul 2022 14:15:13 -0400 Original-Received: from mout.web.de ([212.227.15.14]:35183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFg8B-00051X-Il for 56241@debbugs.gnu.org; Sun, 24 Jul 2022 14:15:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1658686494; bh=YfT3d7kflbTwT8cLR6fSRb2GCmjPtejQYh4EEYSBjoc=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=n7lu0cKT/pB5jyS3PfiRhZT9PCPU1+8Hljo4wLxCNOFOsRM3jf2urZVvf/vH2p9bC I8nueHPLUdPcfuDh3loaTk9D/n0nVmPiSE6kxLxoZwHrqW8BGsghiU8JC8DbH9dAEP cGNxdc39sI3LQuO7Lo9NFsM+OAhmWyN4LyZ2a0Cs= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from udesktop ([79.213.242.70]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MXGKA-1nzq6K1Ap4-00YwBb; Sun, 24 Jul 2022 20:14:54 +0200 In-Reply-To: <87mtdxt4mr.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 28 Jun 2022 13:21:48 +0200") X-Provags-ID: V03:K1:ow2UzYdfNwSPtR7MujUZaTLBUhQNa+yAiATzH+gQQkHPVwK0MJK TbJeddhvqadF05GiH1IrwUIVViOVBC11dJD0SM4wecvMh6Nl/+YymdVmqvcutKCeoTlshSf mB0VpvKTI8YI0VjBA72LX+HlpsoObmfr0hooYEQ9uj9ztwWPlC84WL88VE2Wi9EzwMi9w5b mVVeJ6+jOXYcXUPsJMpDA== X-UI-Out-Filterresults: notjunk:1;V03:K0:iLkqAd4V1BA=:WiU9NZ7K1QXVhzBtCSzLJ/ uGhN5+GUerXa3FUSkDeauav20pEVzB1vVvrliEe4of73m5MAdNPLmjPJ9ZY79tm+3bi/6zFZC xVGt30CMtf6NQTabU3+Afaet6j+wE2SB0FjRlbIiTu4dJ7qBosJNpbH1Ht3StaEbN/9VefvOA jw5n4vzBppwyGkHS0Q7zyxUkPdqql6IApE0UEc4IC9TfJheHhjoU4uDIVb+mBBft4tMCDv98l 93PwF9n/KKqLijeuIHXgRrVPzQ0FYPo4dwl/u3SxTFdr+FsXSuNzH4FG8l4JoRZKd1XGt143N 83CajUGvW0rZfFE8ut1mPbzfqH/+WFwYOB9+OT/Fk3YO6TJ3sBV99ii0YOz1Eo3UdzmCAdWet WqPWPFLI/0prOVkd45RPZEq2zitI8LyZzQpIxwnnuc67mXC7ywYMc9y1hqFC3JPiukVvaHpOM D9pFwnRhNwcMLXz+nYoXpulHxSuba/5iLKdv8+Ga5W214MxF8yrcsl7w1IOnw9ziDUlFUb7AD MlFG8uTolmLkq5nzreJjtaq4qi/4NO3tkbINxKvp165xmcw5OZpTXA7dzbM+GyAp2LvpJXjyI c9WPagb12EuOYa2E9QWp6t0nBdgKTmy8Wa30vf1bE/kcyQlZVKjo8R0NjUUNkm4cYhNoV/v2L O05qQqO8845cUetW8LiwjCMh+pJe4E9bjLIySYn7g63EbR6TZoKk4WFIU1j8CpMUZZq3t9Udi rPkZGYQFPsi1Rcen/azrfv7c0HvqJuWay/TKKUxuo89zdm8r3VrhCfUe/QsoLXLTb4iPWR+U X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:237865 Archived-At: Am 28.06.2022 um 13:21 (+0200) schrieb Lars Ingebrigtsen: > hokomo writes: > >> Yep, you can use the same testing script and just replace the last >> expression with: >> >> (let ((icalendar-export-sexp-enumeration-days 0)) >> (test-diary-sexp "%%(diary-float 7 0 1) First Sunday in July 1") >> (test-diary-sexp "%%(my-float 7 0 1) First Sunday in July 2")) >> >> which should give you the error I mentioned. > > Right; I can reproduce that problem. I've added Ulf to the CCs; perhaps > he has some comments. Sorry for the late reply. Thanks for the bug report, the patch and for analysing the problems. I'll try to have a look at the icalendar code the next days (or so).