auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 36


From: Luc Van Eycken
Subject: Re: [AUCTeX-devel] [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 363b751003c4b425b4b6c511740c95366481207c
Date: Tue, 17 Dec 2013 10:46:33 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Hi,

With the following file:

  \documentclass{article}
  \usepackage{hyperref}
  \begin{document}
  \xxxx
  \end{document}

I can't use "C-c `" to show the error in the release version (11.87). No "*TeX Help*" window is shown and it issues the following message:

  Error occured after last TeX file closed.

If I comment out the hyperref line or I apply my patch, everything works as expected.

Best regards,

Luc Van Eycken


-------- Original Message --------
Subject: Re: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 363b751003c4b425b4b6c511740c95366481207c
Date: Tue, 17 Dec 2013 10:13:42 +0100
From: Tassilo Horn <address@hidden>
To: David Kastrup <address@hidden>
CC: address@hidden, Luc Van Eycken <address@hidden>

David Kastrup <address@hidden> writes:

"Tassilo Horn" <address@hidden> writes:

commit 363b751003c4b425b4b6c511740c95366481207c
Author: Luc Van Eycken <address@hidden>
Date:   Tue Dec 17 09:01:29 2013 +0100

    Skip comment or file in parens in output.

    * tex-buf.el (TeX-parse-error): Skip comment (or file) between
    parentheses.

    Signed-off-by: Tassilo Horn <address@hidden>

I'm confused.  I was pretty sure that at one point of time I _vastly_
simplified TeX-parse-error's recognition of file names to have the
recognition of opening and closing parens be similarly indiscriminate
(since detecting spurious ( ) pairings as file names is harmless, but
skipping some non-filename ( while still recognizing the corresponding )
isn't).

Did someone "improve" the file name recognition again?  That actually
makes the problem worse.

Hm, your last changes to `TeX-parse-error' are from 2006, and thereafter
it's Reiner with one line change in 2007 and Ralf with some changes in
2009.

Anyway, for the time being, I've reverted the change.

Luc, could you please explain what's the problem your patch is actually
trying to fix, preferably with a sample file?  At least with the current
git version, I don't see a difference with or without your patch when
using the hyperref package.  And speaking from the AUCTeX-date in your
patch bug report, your version of `TeX-parse-error' should be
up-to-date.

Bye,
Tassilo




reply via email to

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