From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: State-machine based syntax highlighting Date: Sat, 09 Dec 2006 04:24:56 +0100 Message-ID: <457A2C88.2080102@student.lu.se> References: <1165472049.496117.320630@79g2000cws.googlegroups.com> <1165488825.132862.189340@79g2000cws.googlegroups.com> <1165492567.864982.59980@79g2000cws.googlegroups.com> <1165495364.560960.271250@f1g2000cwa.googlegroups.com> <1165501630.172348.157180@j72g2000cwa.googlegroups.com> <1165502373.932709.15860@79g2000cws.googlegroups.com> <1165510932.276718.251220@73g2000cwn.googlegroups.com> <1165516558.657188.21610@j44g2000cwa.googlegroups.com> <1165517838.526624.171950@f1g2000cwa.googlegroups.com> <1165563183.140436.326110@16g2000cwy.googlegroups.com> <87psaukdu1.fsf@lion.rapttech.com.au> <1165567010.036350.185800@n67g2000cwd.googlegroups.com> <1165594639.164156.286660@f1g2000cwa.googlegroups.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1165634721 11516 80.91.229.10 (9 Dec 2006 03:25:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Dec 2006 03:25:21 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 09 04:25:19 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gsspy-0000U7-D1 for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Dec 2006 04:25:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gsspx-0001LG-Qm for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Dec 2006 22:25:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gsspl-0001Kp-5B for help-gnu-emacs@gnu.org; Fri, 08 Dec 2006 22:25:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gsspi-0001Ii-2B for help-gnu-emacs@gnu.org; Fri, 08 Dec 2006 22:25:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gssph-0001Id-Ue for help-gnu-emacs@gnu.org; Fri, 08 Dec 2006 22:25:01 -0500 Original-Received: from [80.76.149.213] (helo=ch-smtp02.sth.basefarm.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gssph-00084h-FD for help-gnu-emacs@gnu.org; Fri, 08 Dec 2006 22:25:01 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:62811 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1Gsspf-0004sU-7v; Sat, 09 Dec 2006 04:25:00 +0100 User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) Original-To: Stefan Monnier In-Reply-To: X-Antivirus: avast! (VPS 0655-1, 2006-12-08), Outbound message X-Antivirus-Status: Clean X-Scan-Result: No virus found in message 1Gsspf-0004sU-7v. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1Gsspf-0004sU-7v a128a16760790ab9d8b61e9d13819c59 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39370 Archived-At: Stefan Monnier wrote: >> A much better strategy is to start parsing at point in each file and only >> parse a screenful at a time, doing this with an external parser would be >> very hard. >> I know nearly nothing about those things, but I have noticed that nxml-mode uses something I think was called an rng parser. It catches syntax errors in xml files as you type. Is that something useful?