Is it possible to make a few different commands share a window for their output? For example, let's say I do M-x compile
and get a *compilation*
buffer in bottom half of my frame. If I then do M-x ack
(or M-x grep
, etc.), I would like the results of these commands to be displayed in the same window which *compilation*
occupies.
Some background: In reply to this question @Francesco provided a nice snippet which displays the compilation window at the bottom of the current frame. This works nicely to manage *compilation*
, but it would be even nicer if compile
, ack
, ag
, igrep
and a few similar commands shared this window.
(So what I am really looking for is how to extend Francesco's snippet to manage the output of multiple commands together.)