From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64417: 30.0.50; keymap-unset :REMOVE keyword not working Date: Sun, 02 Jul 2023 15:14:39 +0300 Message-ID: <83jzvio6hc.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5635"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64417@debbugs.gnu.org To: German Pacenza , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 02 14:15:30 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 1qFvzG-0001Hr-0S for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Jul 2023 14:15:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFvyt-0004wT-GI; Sun, 02 Jul 2023 08:15:07 -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 1qFvyo-0004vw-Tx for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2023 08:15:03 -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 1qFvyo-0007G6-Gx for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2023 08:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFvyn-0001XR-Si for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2023 08:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Jul 2023 12:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64417 X-GNU-PR-Package: emacs Original-Received: via spool by 64417-submit@debbugs.gnu.org id=B64417.16883000585846 (code B ref 64417); Sun, 02 Jul 2023 12:15:01 +0000 Original-Received: (at 64417) by debbugs.gnu.org; 2 Jul 2023 12:14:18 +0000 Original-Received: from localhost ([127.0.0.1]:59462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFvy5-0001WE-MP for submit@debbugs.gnu.org; Sun, 02 Jul 2023 08:14:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFvy0-0001Vy-R7 for 64417@debbugs.gnu.org; Sun, 02 Jul 2023 08:14:16 -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 1qFvxu-00076o-IT; Sun, 02 Jul 2023 08:14:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=8+63H9i6uSMZ1Io6atnDcKPQqSAGDOq5fzasSqlV5mg=; b=R+SNbK4Ib2zLb3TuqMI4 Ftrd/g5ioIVPGZtSdR9IMp/jApA5FZqXT27VZbZlhGa6HDWRV67uvp/dHYVerr3CF53ulCZLoiXca GYY6upXrWv4+VHiPXDWVDQylW+XXJ4Qrlug/sgW/kIn0Ngom+YD62krzSuQHqFXfidr13yC9SbglG G6koAjV3c6HoOSKVNfncS3X4y1e2FsQtNUqsmyi1MV8Kty6oKlJp/x0scGc7m0JWi6D3v2ZIcYTMf lu9FplnZulXoi3NxQqhneHuCXGvFUdagAZSZkVn1GK1xYBAjJoVZR5MC3lcnYNGdVX2MSHHpfIgBO m6yTBOTt3OMnaA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFvxu-0001uV-1J; Sun, 02 Jul 2023 08:14:06 -0400 In-Reply-To: (message from German Pacenza on Sun, 02 Jul 2023 08:46:28 -0300) 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:264479 Archived-At: > From: German Pacenza > Date: Sun, 02 Jul 2023 08:46:28 -0300 > > > When I evaluate: > (keymap-unset diff-mode-map "M-SPC" :REMOVE) > M-SPC still runs scroll-up-command > > (keymap-unset diff-mode-map "M-SPC") > M-SPC is removed from diff-mode-map and cycle-spacing (global-mode-map) > is activated > > This contradicts the keymap-unset docstring: > > If REMOVE, remove the binding instead of unsetting it. This only > makes a difference when there’s a parent keymap. When unsetting > a key in a child map, it will still shadow the same key in the > parent keymap. Removing the binding will allow the key in the > parent keymap to be used. But: (keymap-parent diff-mode-map) => nil