From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: how to prevent font-lock from messing with a portion of text? Date: Sat, 24 Mar 2007 23:11:04 -0400 Message-ID: References: <46048573.4010305@gmail.com> <4604DF32.3070902@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174792279 29701 80.91.229.12 (25 Mar 2007 03:11:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Mar 2007 03:11:19 +0000 (UTC) Cc: Drew Adams , Emacs-Devel To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 25 05:11:12 2007 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 1HVJ8R-0003nX-Ba for ged-emacs-devel@m.gmane.org; Sun, 25 Mar 2007 05:11:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVJAW-0000P7-AJ for ged-emacs-devel@m.gmane.org; Sat, 24 Mar 2007 22:13:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVJAS-0000Fp-R6 for emacs-devel@gnu.org; Sat, 24 Mar 2007 23:13:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HVJAS-0000CQ-2G for emacs-devel@gnu.org; Sat, 24 Mar 2007 23:13:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVJAR-0000Bv-UX for emacs-devel@gnu.org; Sat, 24 Mar 2007 22:13:15 -0500 Original-Received: from tomts10.bellnexxia.net ([209.226.175.54] helo=tomts10-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HVJ8M-0004qy-5H for emacs-devel@gnu.org; Sat, 24 Mar 2007 23:11:06 -0400 Original-Received: from pastel.home ([70.55.83.113]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070325031104.EERA1723.tomts10-srv.bellnexxia.net@pastel.home> for ; Sat, 24 Mar 2007 23:11:04 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 7BB4B7F50; Sat, 24 Mar 2007 23:11:04 -0400 (EDT) In-Reply-To: <4604DF32.3070902@gmail.com> (Lennart Borgman's message of "Sat\, 24 Mar 2007 09\:20\:02 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-detected-kernel: Solaris 8 (1) 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:68519 Archived-At: >>> A problem with this solution is however that fontification must use >>> font-lock-fontify-region-function etc. All major modes does not do that. >> Huh? Which mode doesn't obey font-lock-fontify-region-function? > nxml-mode. Though it is not part of Emacs many people think it is the best > mode for editing XML. But it doesn't use font-lock either, so no amount of fixing font-lock will help it, right? Stefan