[Top][All Lists]

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

Re: next-error-last-buffer

From: Juri Linkov
Subject: Re: next-error-last-buffer
Date: Sat, 15 May 2004 11:21:07 +0300
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Ted Zlatanov <address@hidden> writes:
> On Fri, 14 May 2004, address@hidden wrote:
>> Let's change the default behavior and see if anyone is really
>> unhappy afterwards.
> Is this the change you want?
> "Perhaps next-error should always choose a compilation or occur buffer
> that is visible in a window, rather than one that isn't.  And it
> should prefer one that is visible in the current frame to one that is
> visible in another frame.  This might help us get a better default
> behavior."

I think the following default behavior is good enough:

1. If the current buffer is a next-error capable buffer, return it.
2(new). If one and only one window on the current frame displays
        a next-error capable buffer, return this buffer.
3. If next-error-last-buffer is set to a live buffer, use that.
4. Otherwise, look for a next-error capable buffer in the buffer list.
5. Signal an error if there are none.

Juri Linkov

reply via email to

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