[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: Ivan Andrus
Subject: Re: [AUCTeX] TeX-next-error broken for error messages without line number
Date: Tue, 24 Apr 2012 08:04:11 +0200


I think the changes at
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.  

In the mean time adding -file-line-error-style to the latex command line gives 
better results.

Unfortunately I haven't tested those changes.  I'm running 11.86 from 
package.el though I should probably be running from CVS.  There have been a 
number of bugs fixed which keep getting reported.  


When is the next release planned?  I think it would be good to release it soon, 
but that's just my opinion. :-)


On Apr 24, 2012, at 1:04 AM, Vitomir Kovanovic wrote:

> Hi guys,
> I had the sam problem on Ubuntu (TexLive 2009)
> and yes the problem is with parenthesis in the pdftex version information
> this little change seems to fix it
> in the tex-buf.el file in the function TeX-parse-error
> just add one simple when so that when the filename is TexLive
> yyyy/Debian it is not added to the stack
> this is the whole part for handling new files…. I just added when
>        ;; New file -- Push on stack
>        ((match-beginning 3)
>         (let ((file (TeX-match-buffer 3))
>               (end (match-end 3)))
>           ;; Strip quotation marks and remove newlines if necessary
>           (when (or (eq (string-to-char file) ?\")
>                     (string-match "\n" file))
>             (setq file
>                   (mapconcat 'identity (split-string file "[\"\n]+") "")))
>            (when (not (string-match "^TeX\\ Live\\
> \\(2009\\|2010\\|2011\\)/Debian$" file))
>              (push file TeX-error-file)
>              (push nil TeX-error-offset)
>              (goto-char end)))
>         t)
> Cheers,
> Vitomir
> _______________________________________________
> auctex mailing list
> address@hidden

reply via email to

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