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#62207: 29.0.60; Trying to remove non-existent key binding instead adds a binding Date: Sat, 18 Mar 2023 10:05:15 -0400 Message-ID: References: <875yb2gfqp.fsf@bernoul.li> <83pm9aq6of.fsf@gnu.org> <83ttyjeqgm.fsf@gnu.org> <87ilezu5aq.fsf@gmail.com> <83pm97ehpb.fsf@gnu.org> <83h6uid2u0.fsf@gnu.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="7764"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 62207@debbugs.gnu.org, rpluim@gmail.com, jonas@bernoul.li, larsi@gnus.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 18 15:06:13 2023 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 1pdXCG-0001hW-8z for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Mar 2023 15:06:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdXC8-00039u-Ai; Sat, 18 Mar 2023 10:06:04 -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 1pdXC6-00039Y-UE for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2023 10:06:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdXC6-0000tG-LE for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2023 10:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pdXC6-0004uo-EH for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2023 10:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Mar 2023 14:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62207 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 62207-submit@debbugs.gnu.org id=B62207.167914832718840 (code B ref 62207); Sat, 18 Mar 2023 14:06:02 +0000 Original-Received: (at 62207) by debbugs.gnu.org; 18 Mar 2023 14:05:27 +0000 Original-Received: from localhost ([127.0.0.1]:48845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdXBX-0004tm-4p for submit@debbugs.gnu.org; Sat, 18 Mar 2023 10:05:27 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:10573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdXBV-0004tZ-1R for 62207@debbugs.gnu.org; Sat, 18 Mar 2023 10:05:25 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 8B3F6805B7; Sat, 18 Mar 2023 10:05:19 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 0DF56805DE; Sat, 18 Mar 2023 10:05:18 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1679148318; bh=FdBipDsho3TU3WGB7zDhAW1lb3VRzz8mdJ/1E9eM1qg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=pTJBX5/z1A6Y7ZgE1oa9fWZa+W8Qut321p4fYN7a0zQp7mMI1TTyUsg84NutbbBPb IJmPQgWbXvHl5GPVcBth3q3VbibYYGwcVgbA+rFiZBNM2vNeoEoID+NRtGzD6HMKnn cA2FvyqlqHqcLqDCl48mIztd2kQG79hmJECnVgc6E/u/beq6621+KwEAps43fXi5PN Pxr+SKgf0zU6VokzKSMdZORpILAaKiVXu+CkAnu+5vphdJWZha9CYpubGBKAGUv9fH cb6KQC/81MnrqDhvjmbKYK6iBPkux4SLkk+NiDRcW/UvGmz3FfOd/nPNRhirYhtARA JqZ0Z3tnUmxnw== Original-Received: from pastel (unknown [216.154.34.24]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 725BD12325C; Sat, 18 Mar 2023 10:05:17 -0400 (EDT) In-Reply-To: <83h6uid2u0.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 18 Mar 2023 07:51:35 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:258180 Archived-At: >> I think the removal code is "good enough" for uses in a user's init >> code, but I'd rather add some recommendation to avoid on it in >> ELisp packages. > > If we want to recommend that, we need to come up with a rationale and > a couple of alternative ways of achieving goals that commonly lead to > using this option. Can you tell what to say to that effect? I don't know of "goals that commonly lead to using this option", sorry. AFAIK it's not used commonly (after all, it's brand new in Emacs-30). Most of the requests for it I have seen were either of the "make the API complete" kind of argument, or examples like Jonas' (which are inherently tightly tied to a particular keymap and a particular binding in that map, so the chance of bumping into an odd corner case is significantly reduced). Stefan