emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Gnus no longer highlights articles in CVS version


From: Klaus Zeitler
Subject: Gnus no longer highlights articles in CVS version
Date: Wed, 22 Aug 2007 16:32:48 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (usg-unix-v)

In emacs 21 and 22 I have Gnus display its articles in a gaudy way.
For some odd reason this doesn't work anymore in the CVS version.
I tracked this down to some real old code in my .emacs file, that I
use to display tabs with a slightly different background.

(defun show-tabs () "Show tabs with a slightly changed background"
  (font-lock-add-keywords nil '(("[\t]"  (0 'tab-face t)))))
(add-hook 'font-lock-mode-hook 'show-tabs)

This will add '("\t" (0 'tab-face t))' to each buffers font-lock-keywords.
I have no idea why it breaks syntax highlighting in Gnus.
(BTW I haven't used the CVS version since emacs 22 came out).

Klaus


-- 
 --------------------------------------------------
|  Klaus Zeitler      Alcatel-Lucent               |
|  Email:             address@hidden  |
 --------------------------------------------------
---
I'd give my right arm to be ambidextrous.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]