[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] New error parsing
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX-devel] New error parsing |
Date: |
Thu, 11 Feb 2016 18:43:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) |
Mosè Giordano <address@hidden> writes:
> First bug spotted!
Oh, that's been quicker than I've thought. :-)
> 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.
No, I think that's fine.
> 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.
Oh, yeah, that's a good idea!
Bye,
Tassilo