From: "Oleksandr Gavenko (aka gavenkoa)" <gavenkoa@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Windows splitting: prefer only 2 windows horizontal spliting.
Date: Sun, 20 Feb 2011 22:52:39 +0200 [thread overview]
Message-ID: <ijruuv$3hu$1@dough.gmane.org> (raw)
How prefer horizontal splitting I know:
(when window-system
;; Prefer horizontal windows splitting.
(setq split-height-threshold 0)
(setq split-width-threshold nil)
)
But how stop Emacs from splitting when already 2 windows?
So reuse existing window.
For example I edit file (1 window) then M-x compile (2 windows)
then C-x ` (2 windows, *Compilation* and source with error) -
no other window appear.
Emacs 23.1/22.3/21.4 work in such way on Debian, but new Emacs 23.2.1
work different.
For example: open file, C-x v l (new window show log),
d (new window show diff, there are 3 windows now),
M-x man printf RET (new window show man, there 4 windows now).
So how force Emacs display no more that 2 windows at same time?
next reply other threads:[~2011-02-20 20:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-20 20:52 Oleksandr Gavenko (aka gavenkoa) [this message]
2011-02-20 23:07 ` Windows splitting: prefer only 2 windows horizontal spliting Perry Smith
2011-02-21 22:40 ` Oleksandr Gavenko
-- strict thread matches above, loose matches on Subject: below --
2011-02-21 7:46 martin rudalics
2011-02-21 7:47 martin rudalics
2011-02-21 14:15 ` Perry Smith
2011-02-21 17:00 ` martin rudalics
2011-02-21 17:43 ` Perry Smith
2011-02-21 19:03 ` martin rudalics
2011-02-21 22:44 ` Oleksandr Gavenko
2011-03-10 12:38 ` Oleksandr Gavenko
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='ijruuv$3hu$1@dough.gmane.org' \
--to=gavenkoa@gmail.com \
--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.
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.