bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4362: 23.1: proced -- Mode help lists 'd' as mark command (prefer 'm


From: Juri Linkov
Subject: bug#4362: 23.1: proced -- Mode help lists 'd' as mark command (prefer 'm')
Date: Fri, 11 Sep 2009 04:17:04 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu)

>> But now `C-h m' displays:
>>
>> m            proced-mark
>> d            proced-mark-alt
>>
>> that causes a false impression that these commands are different.
>
> Perhaps C-h m should merge aliases like where-is seems to do.
>
>> A simpler fix would be just changing the order of `d' and `m' bindings
>> in `proced-mode-map' like:
>
> I just copied the undo/advertised-undo approach. Please feel free to
> change this as you see fit.

Using the `:advertised-binding' property just implemented by Stefan is
a nice solution.  But other changes in `where-is-internal' broke preferred
key bindings in docstrings.  For example, compare the old and new
output of `C-h f Info-mode RET':

- h     Invoke the Info tutorial.
+ M-x Info-help Invoke the Info tutorial.

- u     Move "up" from this node.
+ ^     Move "up" from this node.

- t     Go to the Top node of this file.
+ <     Go to the Top node of this file.

- b     Go to beginning of node.
+ .     Go to beginning of node.

- w     Put name of current Info node in the kill ring.
+ c     Put name of current Info node in the kill ring.

Should we put `:advertised-binding' for all old preferred key bindings
explicitly?

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]