I like that all my compilation and git / magit messages appear in the same window in the same frame that caused the message.
Look at the same-window-regexps vars and the same-window-buffer-names, as I think you can search.
Here is the setting I'm using:
(setq same-window-regexps (quote ("\ * vc \ -. + \ *" "\ * magit. + \ *" "grep" "\ * compilation \ * \ (\ | <[0 -9] + > \) "" \ * Help \ * \ (\ | <[0-9] +> \) "" \ * Shell command output \ * \ (\ | <[0-9] +> \) "" \ * dictem. * ")))
Hope this helps.
Damon
source share