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: Thu, 24 Nov 2022 19:07:12 +0100 Message-ID: <87cz9ccjlb.fsf@panama> References: <21bff87f-b8dc-c7bc-41ab-97c7077a0535@airmail.cc> <87edza8rbu.fsf@gnus.org> <87mtdxt4mr.fsf@gnus.org> <8735eq5qee.fsf@panama> <87o7sxpgfm.fsf@panama> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23121"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Lars Ingebrigtsen , 56241@debbugs.gnu.org, hokomo To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 24 19:08:25 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 1oyGe9-0005rM-JP for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Nov 2022 19:08:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyGdo-0001sG-FM; Thu, 24 Nov 2022 13:08:04 -0500 Original-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 ) id 1oyGdn-0001s6-9R for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 13:08:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyGdm-0004ty-Op for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 13:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyGdl-0006JL-Re for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 13:08:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ulf Jasper Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Nov 2022 18:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56241 X-GNU-PR-Package: emacs Original-Received: via spool by 56241-submit@debbugs.gnu.org id=B56241.166931326724239 (code B ref 56241); Thu, 24 Nov 2022 18:08:01 +0000 Original-Received: (at 56241) by debbugs.gnu.org; 24 Nov 2022 18:07:47 +0000 Original-Received: from localhost ([127.0.0.1]:59978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyGdX-0006It-7E for submit@debbugs.gnu.org; Thu, 24 Nov 2022 13:07:47 -0500 Original-Received: from mout.web.de ([212.227.17.11]:41753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyGdU-0006Ie-SK for 56241@debbugs.gnu.org; Thu, 24 Nov 2022 13:07:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1669313237; bh=vfr5ddiJz28LgjkHiTgR1N6UDhRtX6Q3Cnl0K4LowpY=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=uTFLDDxQ66sVhdoveQj3NLNmj7t2Y/YtjoQQNy0STEGA2IxhqHZaNjI6/UuV+t4q5 NTe7yDQen60oaDOXq0ViW2dS/R8STK7mznfOsBTAPM5bKt/pqtvlckX05PXxZE5pBj GxSvoxcEbOEtwOY+DMtd3Hw8JpBtEdF1+ZPna/1yQkgI70ZuPV+WCzieJTWuwNYsyD EiM/vPKFxM7FtevUCXfvgonP4Ny3zn3N7dhJQl8vRYEo80eYjUhaoqd8t72a67Lsaj 5NKXP3DwL2kgo+Jc14tIhP6wAq6IKtqe8V3cKN0P3FhQ4WxmO3HZirdjEHOuqG9oEA zZIG4whEEImYw== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from udesktop ([79.213.242.166]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MidDR-1pQzKs23lv-00fWeX; Thu, 24 Nov 2022 19:07:17 +0100 In-Reply-To: <87o7sxpgfm.fsf@panama> (Ulf Jasper's message of "Wed, 23 Nov 2022 21:24:45 +0100") X-Provags-ID: V03:K1:kHypfU+SOwNFFBrIg2GkdhbEx/E3cCMhlEaerunZjSl4Hf8ayuH 0jEk06gnvlpRT4Qq91nXKW6vkKxDBfjrOE/wKUbIkguk3IDNmGxVGa0KzxoRw80pYe0dEqr juCAAtC9QVqzhhWzdE6Pw5WFhqbtMqI8if1kawfbsSR3ndJNQOBZ8o7LE/v2mnobKad2AJ2 yBPLUBtVygJBrbNoc6/3g== UI-OutboundReport: notjunk:1;M01:P0:7eFay6tRjR8=;6gowcEcweUexNuHgx9xIW+7S2ct Oan5JZBXULQ2nZo8XDtmz2sPHKjJhpTnqvtKgdX/toWsIDYx0KFdbXfIcBCF1EYb6kYiYgOSL APys82isqVgQ9/+RQStSKmQJucLC3E/HSlPiDLsQgmrmNFJ4SYxfw/QxPTS0Te73BTenctsmn GONCBalO0h4LodqmKoJ5jAYZxMFwfJViFOZhY4ZuVojxKC7hQt5daGmIHp8g+tI235bK8lVEF ECtSX0xYABE+yp67WatE+6OTmODy5ho8k9L+hPZVPklf/0fL7JappYUcRcIVF9xE8jgCgXjwa xWvyJa7llzSDvreQvEjrkF3VSAu3eazcwkIVg0INeaPa66l83Ol0JoXMzJuYNet4tOkI3umAd x4yEIvU8Qnxsgc1W9CDPIfO1Xik68z385/+s7FyH496Y6JOjdRQLBtn2CPRvQaeqbreRWevoB 2WEFYrvvibbmlr7pLIVWrhn+chIqcOwQ+hT3zmMBH8vVJUWlsDawWDymcKtOPjTizMFC4DMqP A9YEYKfZpmiZXArcMUxy6WGzzJGUWZkrV3iwaCz44SBBEtzaEYNCW2hDsr9Y0KGitfpKLM04o 7+koy5p3vAZpqrsOJylio90ZP610wDzVMmiungHKCUYxRvNnowZMVjmTsxk4O2duF9UqZKfWw tBcdT9Ebpw9RhUTda0HFN3mgvtghZ88qddpKPfD+vhnbr0q93RS4tr42aKamTOlpa2ZRSPyrv 1X4xjmRK9sAg0JYOi6AqN2uCJwzVrdejuH8xVG983bp9AXdxbnoSyB3luUZvF84I4yzQVqJB 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248885 Archived-At: Am 23.11.2022 um 21:24 (+0100) schrieb Ulf Jasper: > I added a test to icalendar-tests.el that verifies that patch > 0001-Fix-detecting-dotted-pairs.patch works as expected. > > I also prepared two additional tests for the other examples where > icalendar-export fails. For the time being they are commented out as > there is no fix available yet. Patch > 0002-Draft-fix-nested-diary-sexps.patch seems to fix one of the examples > but apparently breaks test 'icalendar-real-world'. So a look at > 'icalendar--convert-sexp-to-ical' seems to be necessary. There was a testcase in 'icalendar-real-world' that relied on icalendar-export to fail on a particular sexp. With patch 0002... that testcase behaves differently (i.e. export works correctly now). In other words: breaking that test was correct. Applied patch 0002... and updated icalendar-tests. Best, Ulf