Hi Ralf,

2013/5/25 Ralf Angeli <ang...@caeruleus.net>:
> 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è

_______________________________________________
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to