[Top][All Lists]
[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:35:46 -0400 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
On 28 May 2004, address@hidden wrote:
> A less intrusive (and hence less complete) solution:
>
> - Create a new compilation-last-source-buffer variable.
> - At the end of next-error, set this new variable to the buffer just being
> displayed.
> - at the beginning of next-error check compilation-last-source-buffer:
> if it is equal to current-buffer, then don't consider this buffer as
> a "compilation" buffer (i.e. ignore its next-error-function).
>
> This way if a C-x ` lands us in a diff-mode buffer (because of a *grep* that
> points to a patch file), a subsequent C-x ` in the same buffer will not
> mistakenly step through the diffs of this buffer but will go to the next
> grep match.
I think my proposal to reorder the rules of next-error-find-buffer to
use next-error-last-buffer BEFORE (current-buffer) is essentially what
you are proposing. If not, let me know.
Ted
- Re: next-error-last-buffer, (continued)
Re: next-error-last-buffer, Richard Stallman, 2004/05/25
- Re: next-error-last-buffer, Juri Linkov, 2004/05/25
- Re: next-error-last-buffer, Ted Zlatanov, 2004/05/26
- Re: next-error-last-buffer, Juri Linkov, 2004/05/28
- Re: next-error-last-buffer, Richard Stallman, 2004/05/28
- Re: next-error-last-buffer, Stefan Monnier, 2004/05/28
- Re: next-error-last-buffer, Juri Linkov, 2004/05/28
- Re: next-error-last-buffer,
Ted Zlatanov <=
- Re: next-error-last-buffer, Richard Stallman, 2004/05/29
Re: next-error-last-buffer, Juri Linkov, 2004/05/25