From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.help Subject: Re: How to prevent font-lock (& jit-lock etc.) from refontifying? Date: Wed, 13 Oct 2004 20:32:24 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1097692697 18765 80.91.229.6 (13 Oct 2004 18:38:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2004 18:38:17 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 13 20:38:07 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CHo0l-0006X3-00 for ; Wed, 13 Oct 2004 20:38:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHo7o-0007rA-Ow for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Oct 2004 14:45:24 -0400 Original-Newsgroups: gnu.emacs.help X-Attribution: os X-Face: "HgH2sgK|bfH$; PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6; Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:PSK1K/HIIyIEPm1Pg6vrRLNTfU8= Original-NNTP-Posting-Host: 84.57.68.211 Original-X-Trace: 13 Oct 2004 20:32:28 +0200, 84.57.68.211 Original-Lines: 20 Original-X-Complaints-To: abuse@arcor-ip.de Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-fra1.dfn.de!newsfeed.arcor-ip.de!news.arcor-ip.de!84.57.68.211 Original-Xref: shelby.stanford.edu gnu.emacs.help:125868 Original-To: help-gnu-emacs@gnu.org 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21237 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21237 "Drew Adams" writes: > Thanks for your replies. Does anyone know if it is true that font-lock > provides no way to prevent it from refontifying in the way I described? I'm > thinking there must be a (simple) way that I'm ignorant of. I can't believe > that they (we) would change font-lock in a way that lets it impose itself so > completely. Well, the idea (for the kind of buffers that use font-lock) is that you either enhance font-lock to add your faces or that you use overlays. That said, CVS Emacs provides the text property `font-lock-face' which you can use together with font-lock. `font-lock-keywords' has a higher priority, though. (Maybe that should be different?) Oliver -- 22 Vendémiaire an 213 de la Révolution Liberté, Egalité, Fraternité!