From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: Re: tex-validate-region reports false errors on some LaTeX commands Date: Thu, 20 Sep 2007 23:09:32 -0400 Message-ID: <5dvea4r9xv.fsf@fencepost.gnu.org> References: <861wd8trf5.fsf@macs.hw.ac.uk> <46E3B0B2.2070608@gmx.at> <867in0rul5.fsf@macs.hw.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1190344222 2254 80.91.229.12 (21 Sep 2007 03:10:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Sep 2007 03:10:22 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Joe Wells Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 21 05:10:22 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IYYuM-0005tD-3x for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2007 05:10:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IYYuK-00057Z-3y for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Sep 2007 23:10:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IYYuI-00057U-Ap for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2007 23:10:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IYYuG-00057E-Se for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2007 23:10:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IYYuG-00057B-ON for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2007 23:10:16 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IYYuG-0001oO-6k for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2007 23:10:16 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IYYtY-0001mJ-IN; Thu, 20 Sep 2007 23:09:32 -0400 X-Spook: virus espionage LABLINK Capricorn JSOFC3IP assassinate X-Ran: WMOcO,<%W9]K1AF>Z}Xk#~1|Iw]sGvHj#.Lcqmfj"8(MA;Zln8si_hCW8$zmu&//l9DH[J X-Hue: cyan X-Attribution: GM In-Reply-To: <867in0rul5.fsf@macs.hw.ac.uk> (Joe Wells's message of "Sun, 09 Sep 2007 11:39:34 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16581 Archived-At: 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 =E2=80=9C(=E2=80=9D, then forward-sex= p moves to > the right of the =E2=80=9C)=E2=80=9D. 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.