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#48479: 28.0.50; Crash on `read--expression' Date: Tue, 18 May 2021 13:12:17 -0400 Message-ID: References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> <83r1i4s2kd.fsf@gnu.org> <7D502665-A194-477F-89EF-89E617AA1109@acm.org> <83y2ccqdsw.fsf@gnu.org> <57374764-3AF7-4BC0-8376-671A067329EE@acm.org> <83tun0q9ca.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39214"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Lars Ingebrigtsen , 48479@debbugs.gnu.org, Richard Stallman To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 18 19:13:11 2021 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 1lj3HK-0009yQ-CI for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 19:13:10 +0200 Original-Received: from localhost ([::1]:38264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lj3HJ-0005LS-F7 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 13:13:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj3HC-0005Kz-5h for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 13:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45638) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lj3HB-0000ym-UA for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 13:13:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lj3HB-00084I-P3 for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 13:13: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: Tue, 18 May 2021 17:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs Original-Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.162135794830974 (code B ref 48479); Tue, 18 May 2021 17:13:01 +0000 Original-Received: (at 48479) by debbugs.gnu.org; 18 May 2021 17:12:28 +0000 Original-Received: from localhost ([127.0.0.1]:57184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj3Ge-00083W-FW for submit@debbugs.gnu.org; Tue, 18 May 2021 13:12:28 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:42020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj3Gb-00083J-GN for 48479@debbugs.gnu.org; Tue, 18 May 2021 13:12:27 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 3D2118075E; Tue, 18 May 2021 13:12:20 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D864A80625; Tue, 18 May 2021 13:12:18 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1621357938; bh=WiOmTKttt7SZI4htNhV/Q1e5ZWOpkb8LIXLslrFJb2Y=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=CyAw24tget7TdJ5NWwlqojgIE7agOv8AzyIG76cUCoCTN8dvK64spJavQVGmiu6h6 D0cxKo0oDG1nrK52opg4P4CPwZ1kb2nm7lk7JdfOCK9+QQg9eUDz7/OIBqxxx0sJgw siPDallj7/oJ0DNfoPbENwr94UinjOlWyHJj9QeiSgwQ4NXNOJIlMxwYW1r7tfCySf nxGGrosRHS+7R3jvVNa4VyThYQULteihtx7RX44nd6MJ8qxtQf78kld0/BtxUfFOaF 0k9aqabLk+AfdYxVCnR2PJd1rCt3rCpgFuHelTYsf41qR2aYyym5PQUdSZi3BzQnfI Tead217fheRtA== Original-Received: from alfajor (76-10-140-76.dsl.teksavvy.com [76.10.140.76]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5786112017A; Tue, 18 May 2021 13:12:18 -0400 (EDT) In-Reply-To: <83tun0q9ca.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 May 2021 19:45:41 +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" Xref: news.gmane.io gmane.emacs.bugs:206819 Archived-At: >> Is there any significant advantage of not detecting syntax errors? > I don't think I agree that this is a syntax error. > What do others think about this? Lars? Stefan? Richard? I think the condition handler of `condition-case` should be of the form (CONDITIONS . BODY) so I think having nil counts as a syntax error, tho it's arguable since nil =E2=89=83 (nil . nil) I wouldn't bother signaling an error when we interpret the code, but it would be good for the byte-compiler to warn about it. Stefan