From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#69573: Eager macro-expansion failure: (wrong-type-argument integer-or-marker-p nil) Date: Fri, 15 Mar 2024 09:52:23 -0400 Message-ID: References: <28a41cd9-3abe-47bf-b3d5-fed723dde32b@medialab.sissa.it> <875xy0qjzf.fsf@web.de> <812c2400-07b5-451a-89bc-4e9e4b60fb44@medialab.sissa.it> <87r0gmbvnc.fsf@web.de> <871q8mbn7e.fsf@web.de> <87zfv8uivz.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29633"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Michael Heerdegen , Gabriele Nicolardi , 69573@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 15 14:55:53 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 1rl82K-0007ST-Px for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Mar 2024 14:55:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rl820-0004j8-2T; Fri, 15 Mar 2024 09:55:32 -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 1rl81x-0004eJ-Ds for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2024 09:55:30 -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 1rl81v-00017P-Vm for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2024 09:55:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rl82U-0001wt-1M for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2024 09:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Mar 2024 13:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69573 X-GNU-PR-Package: emacs Original-Received: via spool by 69573-submit@debbugs.gnu.org id=B69573.17105109226467 (code B ref 69573); Fri, 15 Mar 2024 13:56:02 +0000 Original-Received: (at 69573) by debbugs.gnu.org; 15 Mar 2024 13:55:22 +0000 Original-Received: from localhost ([127.0.0.1]:52518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rl81q-0001gF-8C for submit@debbugs.gnu.org; Fri, 15 Mar 2024 09:55:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rl81n-0001eW-Lq for 69573@debbugs.gnu.org; Fri, 15 Mar 2024 09:55:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rl7yy-0000q2-BR; Fri, 15 Mar 2024 09:52:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=oJco95EEUaJmNGgUecw3+DtFu66iQcnfcXnR+ZYVzE4=; b=Lb74Oe+WLt9Kfda1qece yqZiqysYRfglO8+QA2ioNem27Fc7Xmi4QV7qFQmPg6BZbUa0BErHAbsO7yF+8X0wcIQJRieENuh5q gveffhTaGtuonGtoUaOUzLamsn0VTs/gngOQ1e71Ij9w2UqaxUV+2jLfLmkdJQtiedVNFiBANvEYU QBEtPiVtuTsWapYZgTrAdCbRfd2DN5LTNq19tDgGS4k8j5jgDLx6mUoy1jG2PC2f8xEzt8SRDGDOu 6VOq2tdkpcBOFYaub0Ct+4zpyrUAwgns8EXEGRB6wYA26P/O45tEptUiE7cbUjdc/cdN9D3H1+CSx Vf4Ad9Z3jY6JZg==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rl7yx-0003lu-CK; Fri, 15 Mar 2024 09:52:24 -0400 In-Reply-To: (Stefan Monnier's message of "Sat, 09 Mar 2024 16:48:22 -0500") 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:281679 Archived-At: Stefan Monnier writes: >> mmmhh, I'm really not sure why calling Qcomp_subr_trampoline_install >> should be problematic. I'll look at it, but this week I'm on holiday so >> might take a bit more :) > > I'm not completely sure either, but the arg of > `comp-subr-trampoline-install` is called `subr-name` whereas the value > we pass there is the symbol that was found to contain that subr but is > *not* the name of the subr (and when that's the case, there's simply no > need to install any trampoline). > > So, I'd expect `comp-subr-trampoline-install` to compare its argument > with the actual name of the subr (presumably extracted from the subr), > but I don't see any such test. Okay I've installed 00553628558 into master, I believe it does what we want and seems to fix the minimal reproducer I made from the original example. Gabriele could you check it solves the issue for you? Now thinking about, I think we should install it into 29 if it proves to be the right fix. Thanks! Andrea