M-x stop-this-nonsense
June 4, 2008 6:00 AM
Subscribe
How do I stop emacs from messing with my windows?
Let's say I have two windows open in emacs, working on two different source files. When calling a command with output from within the first window, like a make or latex pass, output from the command goes to the other window, hiding my existing buffer. To make matters worse, killing or switching the output buffer will not always give me my original file back, depending on the number and visiting times of other open files. This gets annoying pretty fast, especially when working on a large project with several files open at a time.
Is there a way to stop emacs from messing up existing windows? I'd like command output to go to a new window, or stay buried until I look it up.
Please note that I won't consider abandoning the One True Editor over this minor point.
posted by ghost of a past number to computers & internet (4 comments total)
My personal approach is to use winner-undo instead. Add
(winner-mode)to your ~/.emacs. Then you can use C-c <left> to return to the previous window configuration.posted by grouse at 6:15 AM on June 4, 2008