[Top][All Lists]

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

Re: Control help- and Info-mode buffers from other buffers

From: Eli Zaretskii
Subject: Re: Control help- and Info-mode buffers from other buffers
Date: Thu, 01 Jun 2023 10:05:07 +0300

> From: Juri Linkov <juri@linkov.net>
> Cc: Manuel Giraud <manuel@ledu-giraud.fr>,  emacs-devel@gnu.org
> Date: Thu, 01 Jun 2023 09:35:09 +0300
> > Why can't we just invoke the command directly, via M-x, when anything
> > bound to a key is an interactive command by definition? The reason is
> > that commands are written with (or without) some assumptions.
> Because in this case you need to modify all commands to switch windows
> explicitly.

What about using the "C-x 4" prefix?  We could define a new prefix map
bound to "C-x 4 h", then have all the bindings in *Help* be in the map
prefixed by "C-x 4 h".  For example, "C-x 4 h I" will run a command
which will produce the same effect as help-goto-lispref-info, using
the current *Help* window as its starting point.

We could support "C-x 5 h" prefixed key sequences in a similar manner,
for people who have Info buffers or *Help* buffers in another frame.


reply via email to

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