[Top][All Lists]

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

Re: [AUCTeX-devel] New error parsing (was: Feature Request)

From: Mosè Giordano
Subject: Re: [AUCTeX-devel] New error parsing (was: Feature Request)
Date: Sun, 7 Feb 2016 18:13:11 +0100

2016-02-07 1:10 GMT+01:00 Mosè Giordano <address@hidden>:
> Dear all,
> I installed into the master branch the new error parsing implemented
> by Tassilo a couple of years ago.  Please, don't be afraid of
> reporting any problem with this new feature, we want it to be as
> perfect as possible before the next release!

First bug spotted!  Sometimes after the file name there are the pages
of the output file:

    (./path/to/file [8] [9] [10]

The complex regexp of the old parsing function was able to ignore the
page numbers, instead the new implementation captures the numbers as
well.  In order to keep the regexp as simple as possible,
TeX-parse-error now removes from the string leading and trailing
whitespace and these numbers.  Feel free to suggest better solutions
for this problem.

However, now there is also an ERT test for error parsing, every bug
fixed in this field should (read: must) come with a proper test, in
order to make sure we don't break anything.


I hope we'll have fewer
> "supp-pdf.mkii", and mistaken files in general, in our error and
> warning reports.
> Thanks to Tassilo for having worked on it!
> If there will be enough reports we may set up an external repository
> to collect the compilation logs and understand why the parsing
> function is failing, as suggested by Ivan.
> As a side note, I added also the script to update the ChangeLog from
> git log, but probably this news concerns Tassilo only.
> Bye,
> Mosè
> 2016-02-06 20:45 GMT+01:00 Tassilo Horn <address@hidden>:
>> Hi Mosè,
>> I also didn't have any problems the last year so I'm very fine with merging.
>> So just go ahead and let's fix possible problems when they appear.
>> Bye,
>> Tassilo

reply via email to

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