all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Inhibit auto buffer split when buffer is already visible?
@ 2009-12-04 16:58 charlie
  2009-12-05  7:55 ` Kevin Rodgers
  2009-12-05 18:55 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: charlie @ 2009-12-04 16:58 UTC (permalink / raw
  To: help-gnu-emacs

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'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.

Cheers,
Charlie


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Inhibit auto buffer split when buffer is already visible?
  2009-12-04 16:58 Inhibit auto buffer split when buffer is already visible? charlie
@ 2009-12-05  7:55 ` Kevin Rodgers
  2009-12-05 18:55 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2009-12-05  7:55 UTC (permalink / raw
  To: help-gnu-emacs

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Inhibit auto buffer split when buffer is already visible?
  2009-12-04 16:58 Inhibit auto buffer split when buffer is already visible? charlie
  2009-12-05  7:55 ` Kevin Rodgers
@ 2009-12-05 18:55 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2009-12-05 18:55 UTC (permalink / raw
  To: help-gnu-emacs

> 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?

Try M-x report-emacs-bug to help us improve Emacs,


        Stefan


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-05 18:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-04 16:58 Inhibit auto buffer split when buffer is already visible? charlie
2009-12-05  7:55 ` Kevin Rodgers
2009-12-05 18:55 ` Stefan Monnier

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.