(sent again / removed attachement)
Hello,
I just discovered emacs 24.0.50.1 with AUCTeX 11.86 locking up as I tried
to fold code.
It happens if I try to fold code to an expression containing a reference to
a parameter ({1}), if this parameter includes the same string as one that
is not going to be folded.
Minimal example:
Add br to fold as ({1}) in math mode
Try to fold
$\br{x_{1}}$
AUCTeX then holds emacs (in an infinite loop?)
Backtrace is
Debugger entered--Lisp error: (quit)
byte-code( -- omitted here, but attached -- )
TeX-fold-expand-spec("({1})" 20 30)
TeX-fold-hide-item(#<overlay from 20 to 30 in test.txt.tex>)
TeX-fold-region-macro-or-env(1 91 math)
TeX-fold-region(1 91)
TeX-fold-buffer()
call-interactively(TeX-fold-buffer nil nil)
If I change $\br{x_{1}}$ to $\br{x_{1 }}$, there is no error.
Sincerely,
Dominic
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex