From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53254 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: message mode loses highlighting Date: Wed, 25 Jun 2003 11:40:00 -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: <4n3chyi2sv.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 1056555956 15024 80.91.224.249 (25 Jun 2003 15:45:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2003 15:45:56 +0000 (UTC) Original-X-From: ding-owner+M1798@lists.math.uh.edu Wed Jun 25 17:45:55 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 19VCQY-0003fP-00 for ; Wed, 25 Jun 2003 17:43:19 +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 19VCNs-0007Ew-00; Wed, 25 Jun 2003 10:40:32 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19VCNo-0007Er-00 for ding@lists.math.uh.edu; Wed, 25 Jun 2003 10:40:28 -0500 Original-Received: (qmail 11692 invoked by alias); 25 Jun 2003 15:40:28 -0000 Original-Received: (qmail 11687 invoked from network); 25 Jun 2003 15:40:28 -0000 Original-Received: from clifford.bwh.harvard.edu (134.174.9.41) by sclp3.sclp.com with SMTP; 25 Jun 2003 15:40:28 -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 h5PFe0I06986 for ; Wed, 25 Jun 2003 11:40:00 -0400 (EDT) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h5PFe0R14135; Wed, 25 Jun 2003 11:40:00 -0400 (EDT) Original-To: Ding Mailing List 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: Ding Mailing List 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:53254 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53254 I have the following in my .emacs: (defface font-lock-empty-line-face '((t (:height 80 :inherit default))) "Font Lock mode face used for blank lines." :group 'font-lock-highlighting-faces) (defvar font-lock-empty-line 'font-lock-empty-line-face "Face name to use for blank lines.") (defun tzz-highlighting-install () (interactive) (font-lock-mode t) (font-lock-add-keywords nil `(("^\\([^-A-Za-z0-9]+\\)$" (0 'font-lock-empty-line-face)) ("\n" (0 'font-lock-empty-line-face)) ("\\(FIXME\\|TODO\\)" (1 'font-lock-warning-face prepend))))) (dolist (hook '(emacs-lisp-mode-hook cperl-mode-hook shell-mode-hook text-mode-hook change-log-mode-hook makefile-mode-hook texinfo-mode-hook)) (add-hook hook 'tzz-highlighting-install)) And it shouldn't interfere with message mode, but it does. When I compose a message, all the highlighting is gone. Can anyone suggest a fix? I'm pretty sure this is the problem, since it's the only thing I've changed in my .emacs and things work fine without it. Thanks Ted