[Top][All Lists]

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

Re: [AUCTeX] TeX-next-error broken for error messages without line numbe

From: David Kastrup
Subject: Re: [AUCTeX] TeX-next-error broken for error messages without line number
Date: Tue, 24 Apr 2012 09:14:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Ivan Andrus <address@hidden> writes:

> Vitomir,
> I think the changes at 
> and
> may "fix" the problem, albeit in a different way.  Of course the real
> problem is that it's impossible to know where the error is in some
> cases and there's nothing AUCTeX can do to fix that.

It could keep a list of likely candidates of the current file (instead
of just a single one) and pick among them when analyzing an error
message based on some criteria like "such a file exists", "it even looks
like that around the error location".  Basically pop the file name stack

When I was still messing around with the code, it also helped making
AUCTeX more stupid at recognizing an actual filename beginning since the
detection of file name endings, being just ')', had to be stupid anyway,
and a stupid match at the beginning helped keeping parens matched (most
messages on the console _are_ written using matched parens).

David Kastrup

reply via email to

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