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: Lars Ingebrigtsen
Subject: Re: master f0cd91067d: Improve `C-h b' output for remapped commands.
Date: Fri, 10 Jun 2022 11:07:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>     <remap> <display-buffer>                ido-display-buffer
>>     C-x 4 C-o                               display-buffer
>>     <remap> <display-buffer-other-frame>    ido-display-buffer-other-frame
>>     C-x 5 C-o                               display-buffer-other-frame
>
> Nice.  But could we get rid of the duplication, as in:
>
>     <remap> <display-buffer>                ido-display-buffer
>       C-x 4 C-o
>     <remap> <display-buffer-other-frame>    ido-display-buffer-other-frame
>       C-x 5 C-o

Hm...  looks slightly like an error.

> or maybe even make it fit on a single line, as in something like:
>
>     <remap> <display-buffer> (C-x 4 C-o)             ido-display-buffer
>     <remap> <display-buffer-other-frame> (C-x 5 C-o) 
> ido-display-buffer-other-frame

The problem is that these remap things are already very wide, and this
makes them even wider.

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>.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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