From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.help Subject: Re: global-font-lock-mode blocks manual highlight Date: Tue, 17 Dec 2002 03:30:43 +0100 Organization: http://purl.org/harder/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1040092573 3918 80.91.224.249 (17 Dec 2002 02:36:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Dec 2002 02:36:13 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18O7ad-00010w-00 for ; Tue, 17 Dec 2002 03:36:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18O7a2-0007r0-03 for gnu-help-gnu-emacs@m.gmane.org; Mon, 16 Dec 2002 21:35:34 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4725 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4725 Mads Lindstrøm writes: > When I set global-font-lock-mode, commands like > > (add-text-properties 1850 2000 '(mouse-face highlight)) > > does not highlight the text anymore. Anybody know a way to both have > global-font-lock-mode and manual highlightning of text? > > I am running Emacs 20.7.2 on a Debian GNU/Linux box. It works for me in Emacs 21.2 (I don't have a copy of 20.7 installed). What do you get when you execute `M-x list-text-properties-at' with point in the text that is supposed to have the property?