From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53268 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: message mode loses highlighting Date: Thu, 26 Jun 2003 07:38:41 -0400 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: <4n7k79vzjy.fsf@lockgroove.bwh.harvard.edu> References: <4n3chyi2sv.fsf@lockgroove.bwh.harvard.edu> <4nsmpxwitr.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1056627712 14986 80.91.224.249 (26 Jun 2003 11:41:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 26 Jun 2003 11:41:52 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M1812@lists.math.uh.edu Thu Jun 26 13:41:51 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19VV8Q-0003tY-00 for ; Thu, 26 Jun 2003 13:41:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19VV64-0002HA-00; Thu, 26 Jun 2003 06:39:24 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19VV5u-0002H2-00 for ding@lists.math.uh.edu; Thu, 26 Jun 2003 06:39:14 -0500 Original-Received: (qmail 47965 invoked by alias); 26 Jun 2003 11:39:14 -0000 Original-Received: (qmail 47960 invoked from network); 26 Jun 2003 11:39:09 -0000 Original-Received: from clifford.bwh.harvard.edu (134.174.9.41) by sclp3.sclp.com with SMTP; 26 Jun 2003 11:39:09 -0000 Original-Received: from lockgroove.bwh.harvard.edu (lockgroove [134.174.9.133]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id h5QBcfI24074; Thu, 26 Jun 2003 07:38:41 -0400 (EDT) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h5QBcfl19849; Thu, 26 Jun 2003 07:38:41 -0400 (EDT) Original-To: Harry Putnam X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Followup-To: Harry Putnam , ding@gnus.org In-Reply-To: (Harry Putnam's message of "Wed, 25 Jun 2003 22:24:13 -0700") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (usg-unix-v) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53268 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53268 On Wed, 25 Jun 2003, reader@newsguy.com wrote: > Ted Zlatanov writes: > >> Sorry if I didn't make it clear, but I understand that part, my >> question is why would the tzz-highlighting-install function turn >> off ALL syntax highlighting in the message buffer? It doesn't do >> that in an Emacs Lisp buffer, for instance. > > I faintly remember having a similar trouble with message mode and > highlight a long time ago. It went on for quite a while. I posted > about it but couldn't get it resolved. > > I can't remember for sure what the fix was but I think it was > something simple like having two calls to fontlock in text mode from > old pieces of init files still lurking about in emacs or > site-start.el > > Might have been two similar or identical hooks to fontlock in text > mode. > > Do you have a text mode hook somewhere calling fontlock? What I posted is the only customization involving fontlock I have. In any case, add-keywords should not override any other font locking, according to the docs, that's why I'm puzzled. I guess I can look at the message mode source. I'm just so busy right now that I will probably get to it next year :) Ted