From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#48479: 28.0.50; Crash on `read--expression' Date: Tue, 18 May 2021 19:46:28 +0200 Message-ID: <87tun0aqa3.fsf@igel.home> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12438"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: mattiase@acm.org, larsi@gnus.org, rms@gnu.org, monnier@iro.umontreal.ca To: 48479@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 18 19:47:28 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 1lj3oV-0002xV-MG for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 19:47:27 +0200 Original-Received: from localhost ([::1]:33828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lj3oT-00074h-OW for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 13:47:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj3o6-00073V-Eu for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 13:47:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lj3o6-0003ni-5o for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 13:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lj3o6-0000Sj-4m for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 13:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 May 2021 17:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: Richard Stallman , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , 48479@debbugs.gnu.org, Stefan Monnier , Lars Ingebrigtsen , Eli Zaretskii Original-Received: via spool by submit@debbugs.gnu.org id=B.16213600041753 (code B ref -1); Tue, 18 May 2021 17:47:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 May 2021 17:46:44 +0000 Original-Received: from localhost ([127.0.0.1]:57217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj3no-0000SC-09 for submit@debbugs.gnu.org; Tue, 18 May 2021 13:46:44 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:35178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj3nm-0000S5-T5 for submit@debbugs.gnu.org; Tue, 18 May 2021 13:46:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj3nm-0006sv-Ko for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 13:46:42 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:38585) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj3ng-0003Vi-Ec; Tue, 18 May 2021 13:46:41 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Fl3Mp24N5z1qtdB; Tue, 18 May 2021 19:46:30 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Fl3Mp19Gvz1qr3j; Tue, 18 May 2021 19:46:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id zgoHpe4FbNqZ; Tue, 18 May 2021 19:46:29 +0200 (CEST) X-Auth-Info: T+bznXqTQaRdcD435Snu/v0S+aYoksjioWyHkwkoypdIV1XqArp5fNt8TecK0s+y Original-Received: from igel.home (ppp-46-244-187-66.dynamic.mnet-online.de [46.244.187.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 18 May 2021 19:46:29 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id CF51F2C3692; Tue, 18 May 2021 19:46:28 +0200 (CEST) X-Yow: The Osmonds! You are all Osmonds!! Throwing up on a freeway at dawn!!! In-Reply-To: (Stefan Monnier via's message of "Tue, 18 May 2021 13:12:17 -0400") Received-SPF: pass client-ip=212.18.0.9; envelope-from=whitebox@nefkom.net; helo=mail-out.m-online.net X-Spam_score_int: -22 X-Spam_score: -2.3 X-Spam_bar: -- X-Spam_report: (-2.3 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:206821 Archived-At: On Mai 18 2021, Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: >>> 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 ≃ (nil . nil) For some reason, the loop at the top of internal_lisp_condition_case explicitly allows for a handler to be nil. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."