Emacs 23.2 opens a new window for each compile error/warning navigated to

Posted by Grant Limberg on Stack Overflow See other posts from Stack Overflow or by Grant Limberg
Published on 2010-05-11T18:11:32Z Indexed on 2010/05/11 20:34 UTC
Read the original article Hit count: 320

Filed under:
|

I've recently upgraded from Carbon Emacs (v22.3) to vanilla Emacs 23.2 (from http://www.emacsformacosx.com). On Carbon Emacs when compiling a project, The frame is split in two with the current source file/SConscript in the top window, and the compile output in the bottom window. I'd hit C-x ` to navigate to the first warning or error in the compile output and it would replace whatever was in the top window with the source file the error or warning is in.

In Emacs 23.2, however, a 3rd window is opened causing two windows open in the top half of the frame (split vertically) and the compile output in the window of the bottom half of the frame. How do I tell Emacs to not open a new window and instead open the code in the the existing non-compiler output window in the frame?


A little further clarification on the behavior that I just noticed. If I hit C-x ` while the buffer containing the source file or SConscript file is active, no new window is opened. It's only if I'm manually navigating through the *compilation* buffer and hitting enter on an error or warning, or mouse clicking on a warning when a third buffer window appears.

© Stack Overflow or respective owner

Related posts about emacs

Related posts about emacs-lisp