From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sacha Chua Newsgroups: gmane.emacs.help Subject: Re: How to prevent font-lock (& jit-lock etc.) from refontifying? Date: Wed, 13 Oct 2004 19:06:58 +0900 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87k6tv6if1.fsf@sacha.adphoto.com.ph> References: Reply-To: Sacha Chua NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097662927 21655 80.91.229.6 (13 Oct 2004 10:22:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2004 10:22:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 13 12:21:58 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 1CHgGb-0002av-00 for ; Wed, 13 Oct 2004 12:21:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHgNd-0006Gg-RG for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Oct 2004 06:29:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CHgNG-0006F3-BX for help-gnu-emacs@gnu.org; Wed, 13 Oct 2004 06:28:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CHgNE-0006Dw-44 for help-gnu-emacs@gnu.org; Wed, 13 Oct 2004 06:28:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHgND-0006Dq-TJ for help-gnu-emacs@gnu.org; Wed, 13 Oct 2004 06:28:48 -0400 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHgFk-0006zI-06 for help-gnu-emacs@gnu.org; Wed, 13 Oct 2004 06:21:04 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CHgFi-0000iX-00 for ; Wed, 13 Oct 2004 12:21:02 +0200 Original-Received: from s01060050ba83dd3f.cg.shawcable.net ([68.146.201.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Oct 2004 12:21:01 +0200 Original-Received: from sacha by s01060050ba83dd3f.cg.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Oct 2004 12:21:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 16 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: s01060050ba83dd3f.cg.shawcable.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:f4Vg81qGyc3838tvMV+Uxd1Q3sw= 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:21229 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21229 "Drew Adams" writes: > In Emacs 21, suppose that I apply a face to certain spans of text. Maybe the > buffer is already font-locked before doing this, maybe not. In either case, > I want these spans of text to show the face I apply, overriding any > font-lock highlighting that might be there. One workaround would be to use overlays instead, as overlays override font properties. Not the answer you're looking for, but might be helpful... -- Sacha Chua - open source geekette interests: emacs, gnu/linux, making computer science education fun wearable computing, personal information management http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C