From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: nxml-mode parser and multi major modes Date: Wed, 28 May 2008 01:06:40 +0100 Message-ID: <483CA210.4060303@gnu.org> References: <483C871C.8040206@gmail.com> <483C8984.3050901@gnu.org> <483C9B77.9080204@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1211933220 10750 80.91.229.12 (28 May 2008 00:07:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 May 2008 00:07:00 +0000 (UTC) Cc: Daniel Colascione , Emacs Devel To: "Lennart Borgman (gmail)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 28 02:07:41 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K19Cf-0001bN-1E for ged-emacs-devel@m.gmane.org; Wed, 28 May 2008 02:07:41 +0200 Original-Received: from localhost ([127.0.0.1]:41853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K19Bt-0004Zc-LI for ged-emacs-devel@m.gmane.org; Tue, 27 May 2008 20:06:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K19Bo-0004Wi-Vv for emacs-devel@gnu.org; Tue, 27 May 2008 20:06:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K19Bn-0004UJ-B0 for emacs-devel@gnu.org; Tue, 27 May 2008 20:06:48 -0400 Original-Received: from [199.232.76.173] (port=33547 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K19Bn-0004U2-6v for emacs-devel@gnu.org; Tue, 27 May 2008 20:06:47 -0400 Original-Received: from mk-outboundfilter-3.mail.uk.tiscali.com ([212.74.114.23]:55175) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K19Bm-0001hU-RQ for emacs-devel@gnu.org; Tue, 27 May 2008 20:06:47 -0400 Original-X-Trace: 121344040/mk-outboundfilter-1.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAMg+PEhTQxds/2dsb2JhbACBVa0j X-IronPort-AV: E=Sophos;i="4.27,551,1204502400"; d="scan'208";a="121344040" X-IP-Direction: IN Original-Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 28 May 2008 01:06:44 +0100 Original-Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 5783342E; Wed, 28 May 2008 01:06:44 +0100 (BST) User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <483C9B77.9080204@gmail.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:97846 Archived-At: > Ok, here comes the diff. It seems that the point of this diff is to make the validation code of nxml-mode ignore certain chunks of invalid XML within the buffer, is that right? If so, then XML already has a mechanism for telling parsers not to parse a block of text: , though you may need to customize the face that is used to display the contents to avoid conflict with the other mode that you intend to use on its contents.