From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#58396: 29.0.50; Optimization failure for add-to-list Date: Tue, 11 Oct 2022 02:28:40 +0200 Message-ID: <87a663kxtz.fsf@gnus.org> References: <87o7uknkyx.fsf@gnus.org> <87fsfwnkl4.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10086"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: German Pacenza , 58396@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 11 02:29:26 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 1oi39C-0002U1-2Y for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Oct 2022 02:29:26 +0200 Original-Received: from localhost ([::1]:38662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oi39A-0000jq-Pm for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Oct 2022 20:29:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oi38p-0000ja-3U for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 20:29:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51198) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oi38o-0007L7-Rf for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 20:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oi38o-0005Fv-N5 for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 20:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Oct 2022 00:29:02 +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.166544813520183 (code B ref 58396); Tue, 11 Oct 2022 00:29:02 +0000 Original-Received: (at 58396) by debbugs.gnu.org; 11 Oct 2022 00:28:55 +0000 Original-Received: from localhost ([127.0.0.1]:50275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oi38h-0005FT-7R for submit@debbugs.gnu.org; Mon, 10 Oct 2022 20:28:55 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:60444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oi38e-0005FF-Ix for 58396@debbugs.gnu.org; Mon, 10 Oct 2022 20:28:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2wGNc+hJAKFYNURJWrgmKtjUnbtq1HuZ+wHgMMFBfRg=; b=ryQkCecAhSNv1S1ed1v4ljEr1b y4rFVQ3xEej0icJnXi8wFf8dN0EAHimQtAxM+A0gMwBsvIEwFKFLxg0QKxFTA3WhOFA+7ZuLOOd42 uhjAeYUjUsCSb7mnATIRTS0fdUBn+aJhCRbJxyz1z7Ex1IUt171eNo7uLz70IiggTK90=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oi38T-0006Bq-0w; Tue, 11 Oct 2022 02:28:45 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 10 Oct 2022 10:59:04 -0400") X-Now-Playing: Metalheadz's _15 Years of Metalheadz_: "Swarm" 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:245062 Archived-At: Stefan Monnier writes: > I'm not sure which part you don't understand above, so I'll only explain > the general situation: to allow completion of local variable names, we > analyze the surrounding code, but in order to do that without having to > write ad-hoc code that knows about all the macros out there that can > introduce new vars, we take the "surrounding code" and macroexpand the > hell out of it so that we can then traverse the result looking only for > `let/let*/lambda/condition-case`. But why is it calling add-to-list--anon-cmacro with the wrong number of parameters?