GNU bug report logs - #50727
Contradictory conventions with new command kbd-macro-display

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Tue, 21 Sep 2021 23:23:02 UTC

Severity: minor

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: larsi <at> gnus.org, 50727 <at> debbugs.gnu.org, marcowahlsoft <at> gmail.com
Subject: bug#50727: Contradictory conventions with new command kbd-macro-display
Date: Tue, 21 Sep 2021 23:27:29 +0000
>
> `kbd-macro-display' is a new command in Emacs 28 bound to `C-x C-k Q'. 
> (See commit d4e9d191aeba.)
>
> However, the `kmacro-bind-to-key' docstring says:
>
>    The key sequences [C-x C-k 0] through [C-x C-k 9] and [C-x C-k A]
>    through [C-x C-k Z] are reserved for user bindings, and to bind to
>    one of these sequences, just enter the digit or letter, rather than
>    the whole sequence.
>
> This advice seems to conflict with the chosen key binding for 
> `kbd-macro-display'.
>

It's 'kbd-macro-redisplay', not 'kbd-macro-display'.  Indeed it conflicts 
with the keys that are supposed to be reserved for user bindings, but it 
is by far not the only one:

C-x C-k Q	kdb-macro-redisplay
C-x C-k b	kmacro-bind-to-key
C-x C-k e	edit-kbd-macro
C-x C-k l	kmacro-edit-lossage
C-x C-k n	kmacro-name-last-macro
C-x C-k q	kbd-macro-query
C-x C-k r	apply-macro-to-region-lines
C-x C-k s	kmacro-start-macro
C-x C-k x	kmacro-to-register




This bug report was last modified 3 years and 240 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.