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#58396: 29.0.50; Optimization failure for add-to-list Date: Tue, 11 Oct 2022 15:13:25 -0400 Message-ID: References: <87o7uknkyx.fsf@gnus.org> <87fsfwnkl4.fsf@gnus.org> <87a663kxtz.fsf@gnus.org> <87czaygqqp.fsf@gnus.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="37226"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: German Pacenza , 58396@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 11 21:16:09 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 1oiKjY-0009RG-DV for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Oct 2022 21:16:08 +0200 Original-Received: from localhost ([::1]:50376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiKjX-0007vi-51 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Oct 2022 15:16:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiKhW-0006YS-6G for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2022 15:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiKhV-0003cc-SM for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2022 15:14:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiKhV-00065v-LI for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2022 15:14: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, 11 Oct 2022 19:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58396 X-GNU-PR-Package: emacs Original-Received: via spool by 58396-submit@debbugs.gnu.org id=B58396.166551562923389 (code B ref 58396); Tue, 11 Oct 2022 19:14:01 +0000 Original-Received: (at 58396) by debbugs.gnu.org; 11 Oct 2022 19:13:49 +0000 Original-Received: from localhost ([127.0.0.1]:54850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiKhJ-00065B-Ge for submit@debbugs.gnu.org; Tue, 11 Oct 2022 15:13:49 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:63079) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiKhG-00064v-E1 for 58396@debbugs.gnu.org; Tue, 11 Oct 2022 15:13:48 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 69BED80148; Tue, 11 Oct 2022 15:13:40 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 933128027D; Tue, 11 Oct 2022 15:13:34 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1665515614; bh=Rq6kCe8E/u51lybB+kcpK+XXQJyPapuo+yVUugYEKHA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=pv1d+LcpSrOX4OV/0o9Kr0UFtJOIuH4hcPRrfnPobRLWCaDMWZ35VjjwpFYN11IWQ DQCPz9tdgvt/bl4zPLr9q9yUBdj+/sFlhsDz00wCGSC5mTKFXqzXgnN0nzLD2kTWOc DwwFSE5hq0jBdYeYDJ8gP6xlCStE4O+Jw/p3LzGwL6mwN411VepfQGB/v4ujX4FnCK N/jA3fKTLo3hloIhRPsTE13rQvdNok3w0z/Lm3xbtE9dDZyfZGTex3S+NB7LIqIWfJ 1abAxw0MNvkt3mZPSDyFrfz0WkDz2XdzETIXE+HWMSs7zlyNZDNnFDCl5KG5DEqMJf FVIJcCvGt4XLg== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7D2F0120DA7; Tue, 11 Oct 2022 15:13:34 -0400 (EDT) In-Reply-To: <87czaygqqp.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 11 Oct 2022 20:27:42 +0200") 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:245130 Archived-At: Lars Ingebrigtsen [2022-10-11 20:27:42] wrote: > Stefan Monnier writes: >> Because that's the sort of error you can get if you try to macro-expand >> code that's syntactically invalid. E.g. try to compile a file with >> >> (add-to-list x) >> >> and you should see a similar error. For `elisp--local-variables`, >> syntactically invalid code is the normal case (more or less) both >> because it's used when we're in the middle of writing the code, and also >> because of how it works (it takes the code from beginning-of-defun up >> to point and throws away whatever follows, just adding enough closing >> parens that the resutling string is `read`able). > > I see. > > Shouldn't this function then be suppressing all errors while it's doing > this exploratory macro-expansion stuff? Yes (plus silence the messages plus avoid compiler macros). Stefan