help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make moccur results to be inside the bottom window?


From: martin rudalics
Subject: Re: How to make moccur results to be inside the bottom window?
Date: Tue, 12 Feb 2008 20:56:52 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> After moccur, window is splitted vertically and results appear inside the top
> window, but I would like to see them inside the bottom window like it is
> made in many other editors
>
> I looked into the color-moccur.el - there are many
> switch-to-buffer-other-window calls, Is it possible to configure this
> function or "defadvice" it so that it would open other-window at the top?

I'm not quite sure whether I understand what you mean.  In the first
paragraph it seems you want the occurrences listed in the bottom window.
That's what `switch-to-buffer-other-window' should do: If it doesn't
find a suitable window it may split the largest or least recently used
one.  The original window should become the upper one and the results of
`moccur' should go to the lower one.  Please verify whether this fails
to happen on your system, for example, by invoking C-x 4 b from the
original window and typing in the name of the "moccur" buffer.

In the second paragraph it seems that you want to see the results in an
"other-window at the top".  Please clarify this.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]