From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46128 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: message mode, leading colons, and fake cited text Date: Thu, 15 Aug 2002 10:03:53 +0900 Organization: Emacsen advocacy group Sender: owner-ding@hpc.uh.edu Message-ID: References: <81sn1ji51m.fsf@zion.bpnetworks.com> <81lm7afvtz.fsf@zion.bpnetworks.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1029373468 15340 127.0.0.1 (15 Aug 2002 01:04:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 15 Aug 2002 01:04:28 +0000 (UTC) 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 17f93r-0003zJ-00 for ; Thu, 15 Aug 2002 03:04:27 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17f941-00039P-00; Wed, 14 Aug 2002 20:04:37 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 14 Aug 2002 20:05:07 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id UAA13274 for ; Wed, 14 Aug 2002 20:04:55 -0500 (CDT) Original-Received: (qmail 22516 invoked by alias); 15 Aug 2002 01:04:20 -0000 Original-Received: (qmail 22511 invoked from network); 15 Aug 2002 01:04:20 -0000 Original-Received: from unknown (HELO mars.web-hosting.com) (207.228.244.150) by gnus.org with SMTP; 15 Aug 2002 01:04:20 -0000 Original-Received: from localhost ([207.228.245.242]) by mars.web-hosting.com (8.11.1/8.11.1) with ESMTP id g7F14H320063 for ; Wed, 14 Aug 2002 21:04:17 -0400 (EDT) Original-To: ding@gnus.org User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.5 (broccoli, sparc-sun-solaris2.6) 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&( Cancel-Lock: sha1:AHqHWfjVMRHJFutbM0uWdj4T1TM= X-Hashcash: 020815:ding@gnus.org:dc72ad89e83eb165 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46128 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46128 Hi, >>>>> In >>>>> Benjamin Rutt wrote: >> I've solved it in CVS. Here's a patch for the released version >> of Oort Gnus v0.07: Benjamin> :( I wish your update solved it for me. But, this line is still = red. Benjamin> :What's worse, this line's 1st character became a colon. And this Benjamin> :next line (this one) has the colon too, apparently this happens = at Benjamin> :fill time. (I use auto-fill-mode in message buffers so I can ke= ep Benjamin> :typing and avoid hitting RET). Did you customize the value for `message-cite-prefix-regexp'? My change makes it possible to reflect that value to the font-lock-keywords in the message buffer dynamically. Since the default value for `message-cite-prefix-regexp' contains ":", the default behavior won't be changed. You need to put something like the following lines in your .gnus file: (if (string-match "[^[]:[^]]" message-cite-prefix-regexp) (setq message-cite-prefix-regexp (concat (substring message-cite-prefix-regexp 0 (1+ (match-beginning 0))) (substring message-cite-prefix-regexp (1- (match-end 0)))))) ;; or you may use the following lines for Emacs 21 instead. (setq message-cite-prefix-regexp "\\([ \t]*[-_.[:word:]]+>+\\|[ \t]*[]>=BB|}+]\\)+") Otherwise, if you feel the color for those lines is too loud, you can modify it as follows: (set-face-foreground 'message-cited-text-face "DarkGreen") Regards, --=20 Katsumi Yamaoka