From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: how to prevent font-lock from messing with a portion of text? Date: Fri, 23 Mar 2007 06:57:20 +0900 Message-ID: <87fy7xj60v.fsf@catnip.gol.com> References: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174600659 5752 80.91.229.12 (22 Mar 2007 21:57:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Mar 2007 21:57:39 +0000 (UTC) Cc: Emacs-Devel To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 22 22:57:33 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 1HUVHp-0002fy-35 for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2007 22:57:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUVJe-0002Xy-Es for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2007 16:59:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HUVJb-0002VJ-4H for emacs-devel@gnu.org; Thu, 22 Mar 2007 17:59:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HUVJY-0002RD-SC for emacs-devel@gnu.org; Thu, 22 Mar 2007 17:59:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUVJY-0002Qu-KK for emacs-devel@gnu.org; Thu, 22 Mar 2007 16:59:20 -0500 Original-Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HUVHh-0001wn-FE; Thu, 22 Mar 2007 17:57:25 -0400 Original-Received: from 203-216-100-100.dsl.gol.ne.jp ([203.216.100.100] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1HUVHe-0001H4-IH; Fri, 23 Mar 2007 06:57:22 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 65E502F43; Fri, 23 Mar 2007 06:57:20 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: (Drew Adams's message of "Thu\, 22 Mar 2007 12\:20\:05 -0700") Original-Lines: 10 X-Abuse-Complaints: abuse@gol.com X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:68334 Archived-At: "Drew Adams" writes: > Use put-text-property to add a face to some text using the `face' property. > Prevent subsequent "erasure" of that highlighting by font-lock. Did you try using the `font-lock-face' property instead of `face'? -Miles -- Occam's razor split hairs so well, I bought the whole argument!