From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#63722: 29.0.91; (elisp) Skip to end #@00 does not work Date: Fri, 26 May 2023 11:22:40 +0200 Message-ID: <2ABCFF9F-1487-4EF0-AF4D-ADA567ACA344@acm.org> References: <83y1lcl08j.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31268"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63722-done@debbugs.gnu.org, richard newton To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 26 11:23:30 2023 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 1q2TfV-0007tq-W9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 May 2023 11:23:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2Tf9-0002BT-Cr; Fri, 26 May 2023 05:23:07 -0400 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 1q2Tf4-0002AU-KP for bug-gnu-emacs@gnu.org; Fri, 26 May 2023 05:23:04 -0400 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 1q2Tf4-0003Ur-BO for bug-gnu-emacs@gnu.org; Fri, 26 May 2023 05:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q2Tf3-0003k3-UQ for bug-gnu-emacs@gnu.org; Fri, 26 May 2023 05:23:01 -0400 Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 May 2023 09:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 63722 X-GNU-PR-Package: emacs Mail-Followup-To: 63722@debbugs.gnu.org, mattiase@acm.org, richardn26@gmail.com Original-Received: via spool by 63722-done@debbugs.gnu.org id=D63722.168509296814341 (code D ref 63722); Fri, 26 May 2023 09:23:01 +0000 Original-Received: (at 63722-done) by debbugs.gnu.org; 26 May 2023 09:22:48 +0000 Original-Received: from localhost ([127.0.0.1]:48818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2Tep-0003jF-T4 for submit@debbugs.gnu.org; Fri, 26 May 2023 05:22:48 -0400 Original-Received: from mail239c50.megamailservers.eu ([91.136.10.249]:32836 helo=mail56c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2Tem-0003j5-OG for 63722-done@debbugs.gnu.org; Fri, 26 May 2023 05:22:46 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1685092962; bh=zAMwdTcP9kDu+UHFTzpZ/AiTDBoBKmGxyI5A44Sena8=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=a33c4Ntxw8M/H8IKIM2EVPXZ4pHyVpQJf318woPuOFApD/BRb2nOU8XBuE96FuWzv IOcn69hDJJMzmA/lhCViTBiac+DIRLxZ/DxtEJ0SnaTc2MduoLvPCW1oRSFfwcpHx7 u53Jq4F/EW79gHOaPcYy3N6txaujtJyfIegdpPDM= Feedback-ID: mattiase@acm.or Original-Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se [188.150.165.235]) (authenticated bits=0) by mail56c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 34Q9MeC2082478; Fri, 26 May 2023 09:22:42 +0000 In-Reply-To: <83y1lcl08j.fsf@gnu.org> X-Mailer: Apple Mail (2.3654.120.0.1.15) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfeejledgudegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepofgrthhtihgrshcugfhnghguvghgnohrugcuoehmrghtthhirghsvgesrggtmhdrohhrgheqnecuggftrfgrthhtvghrnhepveekffdujefhkeehvdfgffeikefghfefvdekueffleegfeekueelhfejieefkefgnecukfhppedukeekrdduhedtrdduieehrddvfeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudekkedrudehtddrudeihedrvdefhedphhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpmhgrihhlfhhrohhmpehmrghtthhirghsvgesrggtmhdrohhrghdpnhgspghrtghpthhtohepfedprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehrihgthhgrrhgunhdvieesghhmrghilhdrtghomhdprhgtphhtth hopeeifeejvddvqdguohhnvgesuggvsggsuhhgshdrghhnuhdrohhrgh X-Origin-Country: SE 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:262416 Archived-At: 25 maj 2023 kl. 20.44 skrev Eli Zaretskii : >> With emacs 29.0.91 pretest, the "skip to end" syntax #@00 no longer = seems to work. For example, >> with the three lines below in a buffer (eval-buffer) gives the error = - End of file during parsing. With >> previous emacs versions it did not complain. >>=20 >> (setq testStr "zz") >> #@00 >> should be ignored Thank you for reporting this. The undocumented #@00 behaviour has indeed = been co-opted by parts of the community as an 'pretend end-of-file = occurs here' mechanism, but it actually works as if only the value `nil` = were left in the buffer. This is fine in files containing Lisp source = where a top-level nil has no effect, but could cause trouble if used in = Lisp data files. Obviously we are going to keep the old reader behaviour for = compatibility for now since there is little to gain from not doing so. Ideally we should stop handling comments and whitespace in readevalloop = because the actual reader (read0) is perfectly capable of doing that. We = need a way to distinguish 'EOF before anything could be read' from 'EOF = when we have read an incomplete value', both of which currently signal = `end-of-file`. Not sure how best to do that in a compatible way, = however. > Does the below look like the correct way of fixing this regression? Thank you and yes, roughly speaking -- a fix has now been pushed to = emacs-29, and I'm closing the bug.