bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] 11.86; LaTeX-current-environment related bug


From: Mosè Giordano
Subject: Re: [Bug-AUCTeX] 11.86; LaTeX-current-environment related bug
Date: Sun, 26 May 2013 15:25:32 +0200

Hi Ralf,

2013/5/25 Ralf Angeli <address@hidden>:
> What worked in my case was replacing the second and third occurrences
> (not the first one) of `TeX-in-commented-line' with `TeX-in-comment'.
It seems to work also for me and in a ~100 KiB file I don't get the
"Lisp nesting exceeds `max-lisp-eval-depth'" error I previously
reported.

> I'm also not sure if this will have negative consequences, though. (c:
Me neither :-(

How about defining `TeX-in-commented-line' (or a new function) like
`TeX-in-comment' but without verbatim test?  There should be no
sensible regression in performance: usually many (most?) "\begin" or
"\end" macros are placed at the beginning of line, this function would
immediately return nil in those cases and this is a bit faster than
the current `TeX-in-commented-line'.

Bye,
Mosè



reply via email to

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