[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compilation-forget-errors still used by tex-mode.el
From: |
Stefan Monnier |
Subject: |
Re: compilation-forget-errors still used by tex-mode.el |
Date: |
18 Mar 2004 17:48:16 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>> Can you try the patch below?
> It doesn't work.
What do you mean? Does it do something? Or does it not change anything
at all? What have you tried and what result did you get?
> And I don't understand it.
With my patch (as opposed to the pre-patched code) compilation-parsing-end
determines the location from which to find the next error.
> The current version of compile-mouse-goto-error basically calls only
> (next-error 0), which can't be enough to jump to the error near point.
With my patch it first sets compilation-parsing-end to the place where you
clicked, which tells next-error where to look for the error. The 0 arg
tells next-error to only look around that point rather than any line
further up or down.
> Also, the setting of
> (set-marker compilation-parsing-end (point-min))
> in first-error fails in *tex-shell* if there are previous compilations.
[ I'm not sure what you mean by `fail', but I'll assume you mean that it
goes the the first error in the buffer rather than the first in the last
compilation. ]
Indeed. But that's also how it worked in Emacs-21.3.
I'm only trying to fix the *new* bugs for now.
Stefan
- compilation-forget-errors still used by tex-mode.el, Markus Rost, 2004/03/12
- Re: compilation-forget-errors still used by tex-mode.el, Daniel Pfeiffer, 2004/03/20
- Re: compilation-forget-errors still used by tex-mode.el, Daniel Pfeiffer, 2004/03/20
- Re: compilation-forget-errors still used by tex-mode.el, Stefan Monnier, 2004/03/22
- Re: compilation-forget-errors still used by tex-mode.el, Richard Stallman, 2004/03/23
- Re: compilation-forget-errors still used by tex-mode.el, Daniel Pfeiffer, 2004/03/23
- Re: compilation-forget-errors still used by tex-mode.el, Richard Stallman, 2004/03/24
- Re: compilation-forget-errors still used by tex-mode.el, Daniel Pfeiffer, 2004/03/25
- Re: compilation-forget-errors still used by tex-mode.el, Daniel Pfeiffer, 2004/03/28
- Re: compilation-forget-errors still used by tex-mode.el, Stefan Monnier, 2004/03/28