unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Compilation window in other frame only
@ 2008-01-28 10:50 Martin
  2008-02-05 14:58 ` Joel J. Adamson
  0 siblings, 1 reply; 2+ messages in thread
From: Martin @ 2008-01-28 10:50 UTC (permalink / raw)
  To: help-gnu-emacs

I like to have two frames in my programming sessions: one with a few
windows with source files, and one (on a second monitor) with the
compilation buffer. However, even if I have a second frame with the
*compilation* buffer open, Emacs opens a new window in the "source
file frame" with another copy of the compilation buffer. I think it
wasn't like this earlier. Then, Emacs didn't open a new window if
there was one already open in another frame. I'm using GNU Emacs
23.0.60.1 now. How can this behaviour be controlled?

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

* Re: Compilation window in other frame only
  2008-01-28 10:50 Compilation window in other frame only Martin
@ 2008-02-05 14:58 ` Joel J. Adamson
  0 siblings, 0 replies; 2+ messages in thread
From: Joel J. Adamson @ 2008-02-05 14:58 UTC (permalink / raw)
  To: help-gnu-emacs

Martin <loveslave@frustratedhousewives.zzn.com> writes:

> I like to have two frames in my programming sessions: one with a few
> windows with source files, and one (on a second monitor) with the
> compilation buffer. However, even if I have a second frame with the
> *compilation* buffer open, Emacs opens a new window in the "source
> file frame" with another copy of the compilation buffer. I think it
> wasn't like this earlier. Then, Emacs didn't open a new window if
> there was one already open in another frame. I'm using GNU Emacs
> 23.0.60.1 now. How can this behaviour be controlled?

That sounds annoying. M-x customize-group RET frames RET

Also try customizing iswitchb-mode (or try using it), since it can
control how switching buffers interacts with switching windows and
frames.

One suggestion that I follow is to just use one frame and always have
another window open; I use Emacs in full screen on a widescreen monitor
and keep dired on the right and my work on the left a-la Speedbar.
Another layout that works well is to have three windows: one on the
bottom (vertically divided) and two on top (horizontally divided):

+------------------+
-         -        -
- work    - dired  -
-         -  or    -
-         - more   -
-         - work   -
+------------------+
-  compilation     -
+------------------+

This way I get the benefit of full-screen (no distractions and no
mucking about with frames --- frames are over-rated).  As long as I have
more than one window open, compilation always opens in another window.
There's also winner-mode, and saving window configurations in registers,
which I find slightly less useful than bookmarks (and I rarely use
bookmarks).

Joel

--
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109





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

end of thread, other threads:[~2008-02-05 14:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-28 10:50 Compilation window in other frame only Martin
2008-02-05 14:58 ` Joel J. Adamson

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