From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Zeitler Newsgroups: gmane.emacs.devel Subject: Gnus no longer highlights articles in CVS version Date: Wed, 22 Aug 2007 16:32:48 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187796017 13942 80.91.229.12 (22 Aug 2007 15:20:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2007 15:20:17 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 22 17:20:15 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1INs0D-0006D2-RG for ged-emacs-devel@m.gmane.org; Wed, 22 Aug 2007 17:20:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INs0D-0004lI-9K for ged-emacs-devel@m.gmane.org; Wed, 22 Aug 2007 11:20:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1INrGi-0008Kt-GJ for emacs-devel@gnu.org; Wed, 22 Aug 2007 10:33:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1INrGh-0008KP-N9 for emacs-devel@gnu.org; Wed, 22 Aug 2007 10:33:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INrGh-0008KM-Jk for emacs-devel@gnu.org; Wed, 22 Aug 2007 10:33:11 -0400 Original-Received: from ihemail1.lucent.com ([135.245.0.33]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1INrGg-0004Rr-R9 for emacs-devel@gnu.org; Wed, 22 Aug 2007 10:33:11 -0400 Original-Received: from nbgif1.de.lucent.com (h135-246-31-82.lucent.com [135.246.31.82]) by ihemail1.lucent.com (8.13.8/IER-o) with ESMTP id l7MEX3cn018042 for ; Wed, 22 Aug 2007 09:33:04 -0500 (CDT) Original-Received: from sfsws1.de.lucent.com (sfsws1 [135.246.31.38]) by nbgif1.de.lucent.com (8.11.7p3+Sun/8.11.7) with ESMTP id l7MEX2703739 for ; Wed, 22 Aug 2007 16:33:02 +0200 (MEST) Original-Received: from sfsw51.de.lucent.com (sfsw51.de.lucent.com [135.246.72.99]) by sfsws1.de.lucent.com (8.13.8/8.13.8-tpes) with ESMTP id l7MEWma0013250 for ; Wed, 22 Aug 2007 16:33:02 +0200 (MEST) Original-Received: (from kzeitler@localhost) by sfsw51.de.lucent.com (8.11.7p1+Sun/8.8.8) id l7MEWmC12568; Wed, 22 Aug 2007 16:32:48 +0200 (MEST) X-Authentication-Warning: sfsw51.de.lucent.com: kzeitler set sender to kzeitler@alcatel-lucent.com using -f X-Uboat-Death-Message: ATTACKED BY SPACE-TIME VORTEX. CREW UNMOTIVATED. SINKING. U-868. User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (usg-unix-v) X-Scanned-By: MIMEDefang 2.57 on 135.245.2.33 X-Detected-Kernel: Solaris 9 X-Mailman-Approved-At: Wed, 22 Aug 2007 11:18:43 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:76966 Archived-At: 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: kzeitler@alcatel-lucent.com | -------------------------------------------------- --- I'd give my right arm to be ambidextrous.