* print-help-return-message
@ 2006-03-18 14:27 Sven Joachim
0 siblings, 0 replies; only message in thread
From: Sven Joachim @ 2006-03-18 14:27 UTC (permalink / raw)
When there are two or more windows open and the user invokes a command
which displays a *Help* buffer, the tip
Type C-x 4 b RET to restore the other window.
is displayed in the echo area. I have generally followed this advice,
only to type C-x o immediately afterwards in 99% of the cases --
because I did not really want to leave the window in which I were
editing. Only now I did discover that there is a better way. Typing
C-x 4 C-o instead of C-x 4 b restores the other window but does not
select it, that is what I want.
I suggest the following patch for print-help-return-message:
*** help.el~ 2006-03-16 11:30:55.000000000 +0100
--- help.el 2006-03-18 08:53:51.000000000 +0100
***************
*** 143,149 ****
((not (one-window-p t))
(setq help-return-method
(cons (selected-window) 'quit-window))
! "Type \\[switch-to-buffer-other-window] RET to restore the other window.")
(pop-up-windows
(setq help-return-method (cons (selected-window) t))
"Type \\[delete-other-windows] to remove help window.")
--- 143,149 ----
((not (one-window-p t))
(setq help-return-method
(cons (selected-window) 'quit-window))
! "Type \\[display-buffer] RET to restore the other window.")
(pop-up-windows
(setq help-return-method (cons (selected-window) t))
"Type \\[delete-other-windows] to remove help window.")
I may be an idea to additionally bind `display-buffer' to the easier
typed C-x 4 o instead of C-x 4 C-o, but that would be dangerously
close to C-x 4 0, which has a potentially undesired consequence.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-03-18 14:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-18 14:27 print-help-return-message Sven Joachim
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.