From: Sven Joachim <svenjoac@gmx.de>
Subject: print-help-return-message
Date: Sat, 18 Mar 2006 15:27:33 +0100 [thread overview]
Message-ID: <441C18D5.4090506@gmx.de> (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.
reply other threads:[~2006-03-18 14:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=441C18D5.4090506@gmx.de \
--to=svenjoac@gmx.de \
/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.