From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64208 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Highlighting of different citation levels in message-mode Date: Sun, 31 Dec 2006 12:42:23 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <87tzze74vw.fsf@arafel.viteno.net> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167565360 31310 80.91.229.12 (31 Dec 2006 11:42:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Dec 2006 11:42:40 +0000 (UTC) Original-X-From: ding-owner+M12731@lists.math.uh.edu Sun Dec 31 12:42:39 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1H0z5I-00028l-Li for ding-account@gmane.org; Sun, 31 Dec 2006 12:42:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1H0z5G-0001WB-AZ; Sun, 31 Dec 2006 05:42:34 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1H0z5E-0001Vo-VL for ding@lists.math.uh.edu; Sun, 31 Dec 2006 05:42:33 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1H0z58-00056P-SZ for ding@lists.math.uh.edu; Sun, 31 Dec 2006 05:42:32 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.1]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1H0z57-0008Q0-00 for ; Sun, 31 Dec 2006 12:42:26 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.8/8.13.8) with ESMTP id kBVBgOCQ023041 for ; Sun, 31 Dec 2006 12:42:24 +0100 (MET) Original-Received: from viandante.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by bridgekeeper.physik.uni-ulm.de (Postfix) with SMTP id 581ED1236D for ; Sun, 31 Dec 2006 12:42:24 +0100 (CET) Original-Received: (nullmailer pid 29576 invoked by uid 170); Sun, 31 Dec 2006 11:42:24 -0000 Original-To: X-Face: 1;h7XMU[7l}$T@J.D}5z*w8Tg'}B5ArAWc8>2X~otB;kOjKs8X%|hTC#dG:%Vpx")x7S/`v :VXU#fZW$X$zdhEU.RfVQ@<-m9IuN{Hm"fW{,5]6kR'M*vEs+{5Cj!L(JTRzA$(},?5J=sm;%Od User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) X-DCC-CTc-dcc2-Metrics: gemini 1031; Body=1 Fuz1=1 Fuz2=1 X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64208 Archived-At: [ Resent ] On Fri, Dec 29 2006, Norbert Koch wrote: > * Reiner Steib : >> I've added code from Oliver Scholz to highlight different citation >> levels in message-mode, see `gnus-message-highlight-citation' in the >> trunk. > > I'm not sure this change has caused it, but I now get a > > Debugger entered--Lisp error: (void-variable gnus-message-citation-mode) > byte-code("..." [gnus-message-citation-mode define-minor-mode > "Toggle `gnus-message-citation-mode' in current buffer. [...] > font-lock-fontify-buffer] 8) > load-internal("gnus-cite" nil nil nil binary) > load("gnus-cite" nil nil nil) > gnus-article-highlight-citation() [...] > when I look at a message. It's surely this change that caused the problem. Sorry for the inconvenience. I don't understand why, but `define-minor-mode' doesn't seem to work as documented in XEmacs (21.4.15/Mule from SUSE 9.2) when byte-compiling the file. (Byte-compiling and loading a test file even crashed XEmacs). As a quick work-around, I'll wrap the code in (unless (featurep 'xemacs) ...) since the code doesn't work in XEmacs anyhow because it needs `font-lock-add-keywords'. Please report back if it fixed the problem. Maybe some (S)XEmacs user wants to implement this for (S)XEmacs? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/