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#54079: 29.0.50; Method dispatching eratically fails Date: Mon, 14 Mar 2022 08:10:04 -0400 Message-ID: References: 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="16197"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Michael Heerdegen , Lars Ingebrigtsen , 54079@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 14 13:11:34 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 1nTjXr-0003qI-8b for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Mar 2022 13:11:27 +0100 Original-Received: from localhost ([::1]:54926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTjXp-00068o-OW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Mar 2022 08:11:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTjXS-000684-PD for bug-gnu-emacs@gnu.org; Mon, 14 Mar 2022 08:11:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50390) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nTjXR-000327-Ur for bug-gnu-emacs@gnu.org; Mon, 14 Mar 2022 08:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nTjXR-0007DH-Kb for bug-gnu-emacs@gnu.org; Mon, 14 Mar 2022 08:11: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: Mon, 14 Mar 2022 12:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54079 X-GNU-PR-Package: emacs Original-Received: via spool by 54079-submit@debbugs.gnu.org id=B54079.164725981627658 (code B ref 54079); Mon, 14 Mar 2022 12:11:01 +0000 Original-Received: (at 54079) by debbugs.gnu.org; 14 Mar 2022 12:10:16 +0000 Original-Received: from localhost ([127.0.0.1]:44286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTjWh-0007C2-Tn for submit@debbugs.gnu.org; Mon, 14 Mar 2022 08:10:16 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:63983) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTjWf-0007Bg-Jo for 54079@debbugs.gnu.org; Mon, 14 Mar 2022 08:10:14 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 9F6C510020C; Mon, 14 Mar 2022 08:10:07 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 4387B10012C; Mon, 14 Mar 2022 08:10:06 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1647259806; bh=UPcoGCji847AkvSeCuKGNmIf1KF+2MIKxKSk3U03yCs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=X+DNUmbxA82qe5PEHb8gfODWeN6got4BtJp2ky4zDees4Qd1euiNdkCET4Zc+KkZ0 4k71OuRCV8PIy03vZBWEqsDvhTtZHZDEch0zhJoMgMRLCPoenLxGxTit+HO7FoLDq3 bnMSWuW2soHXwtqOLq2X/YSZCCIJp5COY6yQ/GN75UeGWrA+1jCK9+k0yo/Mjw9mu9 vJyWR6vtug+2xQyPW4SHEb9n/dqfMRNcu0eM33iM1cS2/Zm55SB/xG30ACs8C3TWTD pdrat1F5h36kYg9cYBqy1WDTYwFUXm3P1ByyhjXbNFnefa1OaQ8Pz1EkEM5a//dKvF zz9wIPMut/Eaw== Original-Received: from pastel (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id EA264120189; Mon, 14 Mar 2022 08:10:05 -0400 (EDT) In-Reply-To: (Alan Mackenzie's message of "Sun, 13 Mar 2022 16:49:58 +0000") 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:228351 Archived-At: >> If it does, then it must be because the caller explicitly arranged for >> it to happen and so the caller could be in charge of binding >> that variable. > The caller could be any lisp function. Yes, but if there are symposes, it can only be because somewhere up the call chain, someone decided to use sympos, and that someone should be the one responsible to bind `symbols-with-pos-enabled`, I think. > It's just that binding symbols-with-pos-enabled in byte-compile is > cheap and harmless, Agreed. > and there might well be legitimate cases that need it. I can't think > of any at the moment, though. Fair enough. >> That's right: the only cases where not stripping the arg of `eval` is OK >> is when we know that stripping would do nothing. >> IOW it's an optimization. > It's NOT an optimisation. It's a straightforward implementation of the > design. To add unnecessary stripping of non-existent symbol positions > would be a pessimisation, a possibly measurable slowing down of Emacs. We violently agree. Stefan