From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#62207: 29.0.60; Trying to remove non-existent key binding instead adds a binding Date: Mon, 20 Mar 2023 10:09:03 +0100 Message-ID: <87fs9zrdqo.fsf@gmail.com> References: <875yb2gfqp.fsf@bernoul.li> <83pm9aq6of.fsf@gnu.org> <83ttyjeqgm.fsf@gnu.org> <87ilezu5aq.fsf@gmail.com> <83pm97ehpb.fsf@gnu.org> <87a60as8ch.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40217"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62207@debbugs.gnu.org, larsi@gnus.org, jonas@bernoul.li, Eli Zaretskii To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 20 10:10:16 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 1peBWx-000AHY-Qc for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Mar 2023 10:10:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peBWm-0000u7-RK; Mon, 20 Mar 2023 05:10: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 1peBWk-0000p9-Ns for bug-gnu-emacs@gnu.org; Mon, 20 Mar 2023 05:10: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 1peBWk-0002po-Dg for bug-gnu-emacs@gnu.org; Mon, 20 Mar 2023 05:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peBWk-0005Q4-8G for bug-gnu-emacs@gnu.org; Mon, 20 Mar 2023 05:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Mar 2023 09:10: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.167930335320763 (code B ref 62207); Mon, 20 Mar 2023 09:10:02 +0000 Original-Received: (at 62207) by debbugs.gnu.org; 20 Mar 2023 09:09:13 +0000 Original-Received: from localhost ([127.0.0.1]:53680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peBVw-0005Op-R5 for submit@debbugs.gnu.org; Mon, 20 Mar 2023 05:09:13 -0400 Original-Received: from mail-wr1-f45.google.com ([209.85.221.45]:46063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peBVu-0005Oc-RM for 62207@debbugs.gnu.org; Mon, 20 Mar 2023 05:09:11 -0400 Original-Received: by mail-wr1-f45.google.com with SMTP id v25so6109581wra.12 for <62207@debbugs.gnu.org>; Mon, 20 Mar 2023 02:09:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679303344; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=3rf8Mo9tZctKxjPhflF1SNt1ArM1HPEf7I9YKGkT7eI=; b=nJPM+n+iaBjb6VBK3gCXFUCIpsbBbAbsybcbUS8HufJ8S9+CthGVHVRl6i18y5QREP g7cb/zVS+DC2ffDqufxuf6iWNxttr/nYj2zA+78iZv6XTsasINlfaz9Bd8eXRTNGTsZY f0KQJJAMXfgVVw25jT1eeLwhh2rNVvOji0xM1cz5lKvE9DRuzjPL/HJZB0x/3/QHSDn8 8FvrrnIVxQQvoAgUdz7qMdisJfUO1tdHxVxsb3sgqvXBB/PL8XiJ7Msx49x87B+tMwhK 4M/UpqEXkfjQNJrETv01qCGVJipEFMOA5yXdIR8XiZCPH93o+mHqgbZWYOI4cttM2VKj kmOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679303344; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3rf8Mo9tZctKxjPhflF1SNt1ArM1HPEf7I9YKGkT7eI=; b=ho9XfC5IRxX2dyL0A4RX1KRziI+CPlpM67wcMo2+veJLlsuRlXjMNVZdFUmA/r6Ll6 KZUpHE8LfASjj90Q48CpNZmkSbuqC2DRM5wadwM3hB/qbdUpT8SoHIb2zeYCNGMO79yp mYMewDHA4wtmPbpS1vKP7hjbmuQzwxbNJRNH8k+Ec7GA4Tv1X1EmctDAVOfLxVUQqvGW lMbnmKkacZY6o2g2w72jXCrp4epZjnWOiaVbYbImgZF00p+gLlbVTgUFAOIS7yJuBcgj G2Wje8Qi814Mk2nALGcDpg/PdR+8FtsdNtO8BNSZiZs3SKkoxiR434vuECk1xkBJDkrG 3k9A== X-Gm-Message-State: AO0yUKXWaTHUQcm0rXO6/k8+tU206ATob7iCRq3JaICQv8MjtrI928Ta 3djOyFsE/7C0utz7zDL1e5P+u32L4cw= X-Google-Smtp-Source: AK7set8IyafSDSnj+5X/MXni4Dlq5sZJaFmJe2iQFq/hhVH4Ewh9DtMmz41JyPXA0RnzrUchgg55Hg== X-Received: by 2002:a5d:6289:0:b0:2ce:a8d5:4a89 with SMTP id k9-20020a5d6289000000b002cea8d54a89mr12227968wru.37.1679303344434; Mon, 20 Mar 2023 02:09:04 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id f18-20020adff452000000b002c5d3f0f737sm8403244wrp.30.2023.03.20.02.09.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 02:09:04 -0700 (PDT) In-Reply-To: (Stefan Monnier via's message of "Sat, 18 Mar 2023 10:07:02 -0400") 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:258275 Archived-At: >>>>> On Sat, 18 Mar 2023 10:07:02 -0400, Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" said: >> Done. Bug> Thanks. >> Let me know if there are corner cases I missed. Bug> I will if/when I can think of a new one. Stefan> I think the removal code is "good enough" for uses in a user's init Stefan> code, but I'd rather add some recommendation to avoid on it in Stefan> ELisp packages. >> We can put that in the elisp manual, no? Bug> No objection on my side :-) Something like this? +Note: using @code{keymap-unset} with @var{remove} non-@code{nil} is +intended for users to put in their init file; Emacs packages should +avoid using it if possible, since they have complete control over +their own keymaps anyway, and they should not be altering other +packages' keymaps. + Robert --