[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Forcing temporary output particular window
From: |
Elena |
Subject: |
Re: Forcing temporary output particular window |
Date: |
Wed, 08 Dec 2010 15:36:17 -0000 |
User-agent: |
G2/1.0 |
WB wrote:
> Hi,
>
> with a multiply split emacs window, is it possible to (pre)set one
> specific sub-window such that it will display all 'temporary' output
> from things like grep (M-g) and similar ?
>
> I find myself constantly restoring the content of windows which have
> unexpectedly taken the output of such commands - which is very
> distracting.
Just a few minutes ago I discovered the variable `split-window-
preferred-function'. It can be remapped to a function which returns
the window where a new buffer will be displayed. Scavenge the
Internet for examples of usage.