emacs-devel
[Top][All Lists]
Advanced

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

Re: master f0cd91067d: Improve `C-h b' output for remapped commands.


From: Stefan Monnier
Subject: Re: master f0cd91067d: Improve `C-h b' output for remapped commands.
Date: Fri, 10 Jun 2022 09:01:49 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> Hm...  What about just flipping things around and using our words?
> That would also make the lines shorter.  I.e.,
>
>      C-x 4 C-o     ido-display-buffer
>        (Remapped via <remap> <display-buffer>.)
>      C-x 5 C-o     ido-display-buffer-other-frame
>        (Remapped via <remap> <display-buffer-other-frame>.)

Sounds good to me.  I don't have an opinion on the specific wording
within the parens, but I'll mention that a single `remap display-buffer`
can cause various key bindings to be remapped, which is why I suggested

    <remap> <display-buffer>                ido-display-buffer
      C-x 4 C-o

which naturally generalizes to things like:

    <remap> <display-buffer>                ido-display-buffer
      C-x 4 C-o, C-c C-o C-o

Also, a remap entry can have 0 corresponding keybindings, in which case
we should keep something like

    <remap> <display-buffer>                ido-display-buffer


-- Stefan




reply via email to

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