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#53227: master: Wrong error message with M-: (funcall). Date: Fri, 14 Jan 2022 12:22:18 -0500 Message-ID: References: <874k683smu.fsf@gmail.com> <87mtk0ugjn.fsf@gnus.org> <87pmov52gx.fsf@igel.home> <87fspr4pga.fsf@igel.home> <87pmov2un5.fsf@igel.home> <87lezj2nds.fsf@igel.home> <87h7a72mta.fsf@igel.home> <87wnj263qb.fsf@igel.home> 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="25288"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 53227@debbugs.gnu.org, acm@muc.de, larsi@gnus.org, rpluim@gmail.com To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 14 18:23:21 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 1n8QIJ-0006Ej-AV for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 18:23:19 +0100 Original-Received: from localhost ([::1]:44652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8QIH-00059s-QD for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 12:23:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8QI2-00059j-54 for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 12:23:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45131) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8QI1-0001dU-Rs for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 12:23:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8QI1-0007OE-Ou for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 12:23:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jan 2022 17:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53227 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 53227-submit@debbugs.gnu.org id=B53227.164218095228277 (code B ref 53227); Fri, 14 Jan 2022 17:23:01 +0000 Original-Received: (at 53227) by debbugs.gnu.org; 14 Jan 2022 17:22:32 +0000 Original-Received: from localhost ([127.0.0.1]:38004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8QHY-0007M1-Hv for submit@debbugs.gnu.org; Fri, 14 Jan 2022 12:22:32 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:29507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8QHU-0007Lg-4f for 53227@debbugs.gnu.org; Fri, 14 Jan 2022 12:22:30 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 08F9F804DD; Fri, 14 Jan 2022 12:22:22 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 2FC4780066; Fri, 14 Jan 2022 12:22:20 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1642180940; bh=cSlANYKH34+BFRaJRofMwPXZg9rrdr9S4xIkHO1zrlk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=lAzDDAoqSTAkCYnnHxYwbnNdgQzuk1A3A/t3EINcZESRLZ9v1BtQOZ2Vp+iNcjsp3 KZ0ijLd4Kc4ipY2L+HT/4Ku2Y/IIe/2zwLRhQ2wgqv0K3Hg6739mu36qKtHc4YamV+ d+IlcFpfHJpA830Min4YxhBtd3jm9E+cLCc+FnZzZdt0zhvYdvqHSZhnUoMuomNzbK 8Sl6ARbDbG13CNHVPpEeS462Jye66nmvkwz16Brhb64uDJaOyhdyjMfbOOKswgVETC 2WgtWlPpTRWACWne7jEf2z7LdZN19lfyfhBGmWbsjudKVrpUN7oZlFnYvjJE5GbDvO QimB+DDjDzv6w== Original-Received: from ceviche (unknown [216.154.30.173]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id E574A120476; Fri, 14 Jan 2022 12:22:19 -0500 (EST) In-Reply-To: <87wnj263qb.fsf@igel.home> (Andreas Schwab's message of "Fri, 14 Jan 2022 10:55:40 +0100") 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:224225 Archived-At: > You mean this? > > @@ -534,16 +534,14 @@ byte code for macroexp--expand-all: > 431 stack-ref 3 > 432 call 2 > 433 return > -434:28 stack-ref 2 > -435 stack-ref 5 > -436 stack-ref 3 > -437 call 2 > -438 return > -439:29 stack-ref 1 > -440 stack-ref 4 > -441 stack-ref 2 > -442 call 2 > -443 return > -444:30 stack-ref 2 > -445 car-safe > -446 return > +434:28 stack-ref 4 > +435 car-safe > +436 return > +437:29 stack-ref 1 > +438 stack-ref 4 > +439 stack-ref 2 > +440 call 2 > +441 return > +442:30 stack-ref 2 > +443 car-safe > +444 return Hmm... indeed a few of the other patterns, such as: (`(,(and fun `(lambda . ,_)) . ,args) already prevent the optimization I was aiming for :-( Stefan