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: Ralf Angeli
Subject: Re: [Bug-AUCTeX] 11.86; LaTeX-current-environment related bug
Date: Sat, 25 May 2013 16:37:16 +0200

* Mosè Giordano (2013-05-25) writes:

> I don't intend to apply any of these changes without further
> discussion, I know they may break something ;-)

Phew. (c;

> For the time being I haven't other ideas.

The problem is that even if `LaTeX-current-environment' is called
outside of a comment, it still finds stuff in a line comment.  If you
call it with point below the \end{bmatrix} in the sample file, it will
find _and_ not ignore the \begin{bmatrix}.

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'.
I'm also not sure if this will have negative consequences, though. (c:

-- 
Ralf



reply via email to

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