all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: master f0cd91067d: Improve `C-h b' output for remapped commands.
Date: Fri, 10 Jun 2022 11:07:29 +0200	[thread overview]
Message-ID: <87pmjgx4xa.fsf@gnus.org> (raw)
In-Reply-To: <jwvbkv1zt58.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 09 Jun 2022 12:44:22 -0400")

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



  parent reply	other threads:[~2022-06-10  9:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <165478576035.737.9544262446139689575@vcs2.savannah.gnu.org>
     [not found] ` <20220609144240.9D08DC01682@vcs2.savannah.gnu.org>
2022-06-09 16:44   ` master f0cd91067d: Improve `C-h b' output for remapped commands Stefan Monnier
2022-06-09 17:45     ` [External] : " Drew Adams
2022-06-10  9:07     ` Lars Ingebrigtsen [this message]
2022-06-10 11:23       ` Stefan Kangas
2022-06-10 12:07         ` Michael Heerdegen
2022-06-10 13:02           ` Po Lu
2022-06-10 13:13             ` Michael Heerdegen
2022-06-11 10:36               ` Lars Ingebrigtsen
2022-06-10 13:01       ` Stefan Monnier
2022-06-11 10:48         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmjgx4xa.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.