help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inhibit auto buffer split when buffer is already visible?


From: Kevin Rodgers
Subject: Re: Inhibit auto buffer split when buffer is already visible?
Date: Sat, 05 Dec 2009 00:55:50 -0700
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

charlie wrote:
My usual setup is to have two frames side-by-side and use the left-
hand frame as the main editting window and the right-hand frame as the
secondary and messages window. When I'm editing C code I like to keep
a *compilation* buffer visible on the right. Previously when I did an
M-x compile on the left emacs would only split the left-hand buffer if
the *compilation* buffer was not visible but now (since I upgraded) it
splits the buffer every time so I often end up with *compilation*
shown twice. Can I inhibit this behavior?

I don't know, but you may find it easier to just make sure the *compilation*
buffer is in its own frame:

(setq special-display-buffer-names
      (cons "*compilation*" special-display-buffer-names))

I've noticed that this happens with other some modes e.g prolog-mode
always splits the buffer when you C-c C-l a file.

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

[Prev in Thread] Current Thread [Next in Thread]