From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53298 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: message mode loses highlighting Date: Tue, 01 Jul 2003 21:02:30 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: References: <4n3chyi2sv.fsf@lockgroove.bwh.harvard.edu> <4nsmpxwitr.fsf@lockgroove.bwh.harvard.edu> <4n7k79vzjy.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp-2 X-Trace: main.gmane.org 1057061043 21243 80.91.224.249 (1 Jul 2003 12:04:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 1 Jul 2003 12:04:03 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M1842@lists.math.uh.edu Tue Jul 01 14:04:00 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 19XJrc-0005W8-00 for ; Tue, 01 Jul 2003 14:04:00 +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 19XJrF-0008Dg-00; Tue, 01 Jul 2003 07:03:37 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19XJr6-0008DY-00 for ding@lists.math.uh.edu; Tue, 01 Jul 2003 07:03:28 -0500 Original-Received: (qmail 44228 invoked by alias); 1 Jul 2003 12:03:28 -0000 Original-Received: (qmail 44223 invoked from network); 1 Jul 2003 12:03:28 -0000 Original-Received: from unknown (HELO washington.hostforweb.net) (139.81.176.2) by sclp3.sclp.com with SMTP; 1 Jul 2003 12:03:28 -0000 Original-Received: from yamaoka by washington.hostforweb.net with local (Exim 3.36 #1) id 19XJr2-0006GC-00; Tue, 01 Jul 2003 08:03:24 -0400 Original-To: Ted Zlatanov X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:xsTSp3xUlrr3N6HT9l8tmlOV9FA= X-Payment: hashcash 1.2 0:030701:tzz@lifelogs.com:3e0b35ad90dc5296 X-Hashcash: 0:030701:tzz@lifelogs.com:3e0b35ad90dc5296 X-Payment: hashcash 1.2 0:030701:ding@gnus.org:a181f233c37f8932 X-Hashcash: 0:030701:ding@gnus.org:a181f233c37f8932 X-Virus-Scanned-By: Amavis with CLAM Anti Virus on washington.hostforweb.net X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [32041 32041] / [32041 32041] X-AntiAbuse: Sender Address Domain - washington.hostforweb.net Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53298 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53298 >>>>> In <4n7k79vzjy.fsf@lockgroove.bwh.harvard.edu> >>>>> Ted Zlatanov wrote: > 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 :) If you use turn-on-font-lock for the message-mode, replace it with `(lambda nil (font-lock-mode 1))' and your message buffer will revive. :) Since message-mode is derived from text-mode as Johan Bockg.ANerd said, font-lock is first turned on for the text-mode and only keywords for the text-mode are used. When font-lock has already been turned on, even if turn-on-font-lock is performed for the message-mode, nothing changes (see font-lock.el). -- Katsumi Yamaoka