emacs-devel
[Top][All Lists]
Advanced

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

Re: next-error-last-buffer


From: Ted Zlatanov
Subject: Re: next-error-last-buffer
Date: Fri, 28 May 2004 23:47:10 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

On Sat, 29 May 2004, address@hidden wrote:

> But there is even simpler solution for the user to select a buffer
> for the next C-x `.
> 
> Taking into account the recent addition of a rule in
> `next-error-find-buffer' which returns a buffer which is displayed
> only in one window with a next-error capable buffer on the selected
> frame, the user can simply remove the unwanted window with a
> next-error capable buffer (e.g. *grep* buffer in the aforementioned
> test case) from the selected frame and C-x ` will use the buffer from
> the remaining window (e.g. a patch file) even if it is not the same as
> next-error-last-buffer.

Nice, that simplifies things a lot.

> So the only change needed is to modify the rule order like you proposed,
> which could look as below:
> 
> 1. If one window on the selected frame displays such buffer, return it.
> 2. If next-error-last-buffer is set to a live buffer, use that.
> 3. If the current buffer is a next-error capable buffer, return it.
> ...

Patch attached (unified and context).

Ted

Attachment: simple.patch
Description: Text Data

Attachment: simple.context.patch
Description: Text Data


reply via email to

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