From: martin rudalics <rudalics@gmx.at>
To: catphive@catphive.net
Cc: help-gnu-emacs@gnu.org
Subject: Re: opening buffers in particular windows?
Date: Sun, 04 Apr 2010 09:05:24 +0200 [thread overview]
Message-ID: <4BB83A34.6030908@gmx.at> (raw)
> >> M-x man is actually kind of annoying because I usually want it to open
> >> in the window that I run the command in.
If you want that behavior, it might help to add man buffers to either
`same-window-buffer-names' or `same-window-regexps'
> I think that now that monitors have gotten so big, it's common to have
> 3 or 4 windows open, whereas in the past most emacs users probably had
> 2 max. For this reason most of the "open in other window" type
> commands now behave very unpredictably with 3 or more windows.
Those commands based on `display-buffer' should behave predictably. If
they don't please report that as a bug.
> I'm currently learning elisp so I can fix things like this for myself.
> Guidance on how C-x o, dired's o, C-x b, and M-x man decide which of n
> windows is the "other window" would be helpful. Hopefully they all
> just call some "other window" function that I can hook to customize
> its behavior.
If the same-window-... based behavior fails, `display-buffer' based
functions try to "reuse", in this order
(1) the "least recently used" window,
(2) some visible window on another frame showing the buffer already,
(3) the largest visible window,
(4) some window showing the buffer already,
(5) the largest window.
martin
next reply other threads:[~2010-04-04 7:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-04 7:05 martin rudalics [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-04-02 19:04 opening buffers in particular windows? Brendan Miller
2010-04-03 21:34 ` Pawel
2010-04-03 22:57 ` Brendan Miller
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BB83A34.6030908@gmx.at \
--to=rudalics@gmx.at \
--cc=catphive@catphive.net \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).