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

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

bug#21634: text-scale-adjust suggestion


From: Juri Linkov
Subject: bug#21634: text-scale-adjust suggestion
Date: Thu, 07 Jul 2022 19:49:09 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>>> I think the guts of `describe-repeat-mapsʼ does something like that.
>>
>> I forgot that describe-repeat-maps uses where-is-internal.
>> But I don't see how repeat-echo-message-string and set-transient-map
>> could use where-is-internal without iterating a huge list of all commands
>> from obarray.  There is no function to get all commands from the given
>> keymap only?
>
> No, I think we should add a function like that.  Shouldn't be too difficult.

Such a function could return a flat list of (key-sequence . binding).
Maybe loops from describe-map-tree/describe-map could be reused,
but with accumulating the result instead of printing.





reply via email to

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