Ivan Andrus <[email protected]> writes:

> Vitomir,
>
> I think the changes at 
> http://cvs.savannah.gnu.org/viewvc/auctex/auctex/tex-buf.el?r1=1.282&r2=1.283
> and
> http://cvs.savannah.gnu.org/viewvc/auctex/auctex/tex-buf.el?r1=1.284&r2=1.285
> 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
lazily.

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

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to