From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.nxml.general Subject: Re: [emacs-nxml-mode] [patch] use font-lock Date: Fri, 23 May 2008 22:39:02 -0400 Message-ID: References: <200805231711.30830.danc@merrillpress.com> <48373CB1.5040302@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211596776 3995 80.91.229.12 (24 May 2008 02:39:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 May 2008 02:39:36 +0000 (UTC) Cc: Emacs Devel , "Eric M. Ludlam" , emacs-nxml-mode@yahoogroups.com To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 24 04:40:13 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 1Jzjg4-0000rb-Tq for ged-emacs-devel@m.gmane.org; Sat, 24 May 2008 04:40:13 +0200 Original-Received: from localhost ([127.0.0.1]:32848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzjfK-0005R2-9T for ged-emacs-devel@m.gmane.org; Fri, 23 May 2008 22:39:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JzjfE-0005PK-VH for emacs-devel@gnu.org; Fri, 23 May 2008 22:39:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JzjfD-0005Nx-BE for emacs-devel@gnu.org; Fri, 23 May 2008 22:39:20 -0400 Original-Received: from [199.232.76.173] (port=58795 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzjfD-0005Ns-4Y for emacs-devel@gnu.org; Fri, 23 May 2008 22:39:19 -0400 Original-Received: from 206-248-174-248.dsl.teksavvy.com ([206.248.174.248]:57013 helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JzjfC-0000GF-Pp for emacs-devel@gnu.org; Fri, 23 May 2008 22:39:18 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id CF85470120; Fri, 23 May 2008 22:39:02 -0400 (EDT) In-Reply-To: <48373CB1.5040302@gmail.com> (Lennart Borgman's message of "Fri, 23 May 2008 23:52:49 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:97635 gmane.emacs.nxml.general:1711 Archived-At: >> I've converted nxml to font-lock. I used the existing fontification >> machinery and put it inside a cc-mode-style matcher. Efficiency and >> output are the same, but: >> >> 1) hi-lock-mode works now >> 2) all conventional font-locking functions work as expected. >> For example, you can turn fontification on and off with >> M-x font-lock-mode. >> 3) font-lock-add-keywords DTRT >> 4) multiple-major-modes modes should be able to use nXML fontification now, >> though this remains untested Sounds great. Would you submit your patch to emacs-devel@gnu.org? Stefan PS: BTW, is the Emacs CVS now the "official" nxml repository?