From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73914: 30.0.91; abort while reading invalid read syntax from minibuffer Date: Sun, 20 Oct 2024 23:04:42 -0400 Message-ID: References: <86zfmyh884.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28612"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Andrea Corallo , 73914@debbugs.gnu.org, Jonathan Mitchell To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 21 05:05:55 2024 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 1t2ijy-0007Ho-Ne for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Oct 2024 05:05:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2ijj-0006ok-Kv; Sun, 20 Oct 2024 23:05:39 -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 1t2ijh-0006jf-17 for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 23:05:37 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t2ijg-0007Q4-Hs for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 23:05:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=Z4npXLdXhKyuVU5qF+qmSsbNP18AbYdYVU/USEm+2e8=; b=JNAxzZeukhzFEQVjx/cQax609vSlJsKzWDX2q6PoEv0SiDSwSAVQxbGhiluodUeBMFwgiTtmkJ8vU+OUz1VyH+Qt+T/W3jc9qeV0s9wcnUyD5UGCYQYOXKEiMnt8EyTkfRFPz/aPQCh0uFoXRdFAdUxoVMB+Tt+N3XDbqPiWteOB6qz/KhJspr53OAtg8HpApit/lyspvbTR0dNHtEGsjsJniQsSf6sIQug25WpvAetRjv1d43VZ4E8Bs5bzPuHjOWjTaQOtGiiKnQtY2Yv8n+ofl3BiSkIYDhpj87PneFjEY+SpfFPkN/R2msUrZoh/m1rhuEPX8QSpHsNc2mQ77A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2ik5-00065D-Sm for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 23:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Oct 2024 03:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73914 X-GNU-PR-Package: emacs Original-Received: via spool by 73914-submit@debbugs.gnu.org id=B73914.172947992022973 (code B ref 73914); Mon, 21 Oct 2024 03:06:01 +0000 Original-Received: (at 73914) by debbugs.gnu.org; 21 Oct 2024 03:05:20 +0000 Original-Received: from localhost ([127.0.0.1]:49552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2ijQ-0005yS-5B for submit@debbugs.gnu.org; Sun, 20 Oct 2024 23:05:20 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:26196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2ijN-0005yE-0c for 73914@debbugs.gnu.org; Sun, 20 Oct 2024 23:05:17 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id DE05B80088; Sun, 20 Oct 2024 23:04:44 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1729479883; bh=b4C1FwPR7K1hkP5dCZ46tD+E3hoHYvzgyQxvkLDeRsI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=IQVIV/6KRTECco5R9O9nKAapfXEB3ckqyTYIUZWHiTL9Ii3pk9m2/u2y8ttBVfRsN AR2Oc6E2ZpYmpKpvqdaU1mqUFULjZgU+mjPzcZU4DyxDfC/p2OJGs7xuim89lqQaCe kcP4ZkjrY0ZpyfaWgO3qJg9faZUvLgoJCs7CjC1dzZANDSZOGlr1fcnHIzLrHDAwwY 9gxunkXs04W5OvxUL6mAwCJ06USSGCefsnWFO5vD2jAhcrMeCovS36+sQhJKIpPuY6 dKiBQri0kia2enX4SUGwBFICSyDGkCeMu8iSAQX+DgwueIGsKAHqdCro7hnaOCwcKv ZHDnNN4tdTcIA== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id DA72680262; Sun, 20 Oct 2024 23:04:43 -0400 (EDT) Original-Received: from pastel (69-196-161-60.dsl.teksavvy.com [69.196.161.60]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 64C93120315; Sun, 20 Oct 2024 23:04:43 -0400 (EDT) In-Reply-To: <86zfmyh884.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 20 Oct 2024 22:42:19 +0300") 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:294019 Archived-At: > Thanks, I installed a fix. > > Stefan, Andrea, and Mattias: I'd appreciate your comments on the bug > and the fix, since this is on the release branch. Looks OK to me. I'm not sufficiently familiar with how we usually handle bumping into the EOF pseudo-character while reading to be sure it's the very best way to deal with it, but it looks sane and safe. BTW, in a non-debug build, the problem manifests itself in the detail of the error we signal, where `M-: #0 RET` will signal an error mentioning "#0\377" where the \377 is the "reification" of the -1 EOF pseudo-character. Stefan