* How to prevent window resize when display-buffer in other window?
@ 2009-06-11 4:24 Edmond Halley
0 siblings, 0 replies; 2+ messages in thread
From: Edmond Halley @ 2009-06-11 4:24 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 566 bytes --]
Hi, all
I split horizontally the frame into two windows, the upper and the lower.
Initially, they are of the same size(height). And I resize the lower to be
smaller. But when I issue "C-x C-b" in the upper, the "*Buffer List*" is
diplayed in the lower, which makes the lower to grow large, shrinks the
upper. Issueing "C-x 4 C-o *Buffer List* RET" cause the similar situation.
I want to keep the size even when I decide to diplay something in the lower
window. How to achieve?
Actually, I use the lower window as preview, and do editing in the upper
one.
Thanks!
[-- Attachment #2: Type: text/html, Size: 624 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to prevent window resize when display-buffer in other window?
@ 2009-06-11 7:07 martin rudalics
0 siblings, 0 replies; 2+ messages in thread
From: martin rudalics @ 2009-06-11 7:07 UTC (permalink / raw)
To: halleyinvent; +Cc: help-gnu-emacs
> I split horizontally the frame into two windows, the upper and the
> lower. Initially, they are of the same size(height). And I resize the
> lower to be smaller. But when I issue "C-x C-b" in the upper, the
> "*Buffer List*" is diplayed in the lower, which makes the lower to grow
> large, shrinks the upper. Issueing "C-x 4 C-o *Buffer List* RET" cause
> the similar situation.
>
> I want to keep the size even when I decide to diplay something in the
> lower window. How to achieve? Actually, I use the lower window as
> preview, and do editing in the upper one.
See
-- User Option: even-window-heights
This variable specifies whether `display-buffer' should even out
window heights if the buffer gets displayed in an existing window,
above or beneath another window. If `even-window-heights' is
non-`nil', the default, window heights will be evened out. If
either of the involved window has fixed height (*note Resizing
Windows::) or `even-window-heights' is `nil', the original window
heights will be left alone.
You should customize this to nil.
martin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-11 7:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-11 7:07 How to prevent window resize when display-buffer in other window? martin rudalics
-- strict thread matches above, loose matches on Subject: below --
2009-06-11 4:24 Edmond Halley
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).