auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] Re: [AUCTeX] Re: TeX-next-error takes me to the supp-


From: David Kastrup
Subject: Re: [AUCTeX-devel] Re: [AUCTeX] Re: TeX-next-error takes me to the supp-pdf.tex buffer
Date: Sun, 01 Apr 2007 17:42:16 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> With the patch applied the end of a file name is not determined
> anymore by a regexp but by functions, and the quoted case is
> distinguished from the non-quoted one.

Configuring -file-line-error would probably fix the problem.

> This is just proof-of-concept code.  I'll have to check if it makes
> more sense to use a special syntax table instead of skipping over
> characters with various syntax classes.  And perhaps the
> preview-latex error parser should be merged before doing all that.
>
> That leaves us with the wrong file being found.  In the output shown
> above the closing paren in "(version 2006.09.02)." is not found
> because the regexp for matching closing parens requires it to be
> followed by ">" or by a space.  If we match any opening paren we
> might also want to match any closing paren.  So perhaps the
> mentioned restriction should be removed from the regexp.

I really hate this mess.  Perhaps we should write some auctex.sty or
similar (it is not needed just for LaTeX) that patches \input or the
equivalents and just keeps track of the current input file on its own,
putting out appropriate !name and !offset messages.

Or do something to make -file-line-error more often used.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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