bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: tex-validate-region reports false errors on some LaTeX commands


From: Glenn Morris
Subject: Re: tex-validate-region reports false errors on some LaTeX commands
Date: Thu, 20 Sep 2007 23:09:32 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Joe Wells wrote:

> The correct solution would require that \(, \), \[, and \] are treated
> the same as \begin{math}, \end{math}, \begin{displaymath}, and
> \end{displaymath}.

I've installed a hack fix along these lines in the trunk. I don't want
to put it in the release branch, since I don't think the
tex-validate-* functions are very important, and the sexp motion
commands seem to be used quite a bit in tex-mode.

>   (\begin{quote})
>   \end{quote}
>
> If you put point to the left of the “(”, then forward-sexp moves to
> the right of the “)”.  If you put point before the \begin{quote}, then
> forward-sexp moves to the right of the \end{quote}.  This all happens
> despite the fact that the structures are not balanced properly.

The latex-forward-sexp function is not rigorous.




reply via email to

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