From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: Re: tex-validate-region reports false errors on some LaTeX commands Date: Sun, 09 Sep 2007 10:37:06 +0200 Message-ID: <46E3B0B2.2070608@gmx.at> References: <861wd8trf5.fsf@macs.hw.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189329550 17853 80.91.229.12 (9 Sep 2007 09:19:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2007 09:19:10 +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 Sun Sep 09 19:18:57 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 1IUQEN-0003vA-Mo for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Sep 2007 19:05:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUIk1-0000bE-7S for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Sep 2007 05:06:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUIiT-0008Vi-JK for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2007 05:04:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUIiR-0008UK-Mh for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2007 05:04:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUIiR-0008Tz-Gx for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2007 05:04:27 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IUIiQ-0004MB-QP for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2007 05:04:27 -0400 Original-Received: (qmail invoked by alias); 09 Sep 2007 09:04:25 -0000 Original-Received: from N906P025.adsl.highway.telekom.at (EHLO [62.47.57.57]) [62.47.57.57] by mail.gmx.net (mp045) with SMTP; 09 Sep 2007 11:04:25 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+v50xxjPiv5/mGZTFOWG2Q9XwKSbepH7N1MtlSvQ 09XKM2HvbVVQAW User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <861wd8trf5.fsf@macs.hw.ac.uk> X-Y-GMX-Trusted: 0 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:16513 Archived-At: > The easy fix is to simply ignore open parentheses (also open square > brackets) that are preceded by a backslash. If things are fixed this > way, then mismatched uses of \(, \), \[, and \] will not be diagnosed, > but that is better than reporting zillions of false errors. We could give the backslash before paren style characters some syntax-table property (punctuation?). We'd match "\(" with ")" then. Would that harm much?