From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59518 Path: main.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: spam-face should be more readable, expecially on ttys Date: Wed, 05 Jan 2005 02:58:57 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: Reply-To: Reiner Steib NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1104890578 16903 80.91.229.6 (5 Jan 2005 02:02:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Jan 2005 02:02:58 +0000 (UTC) Original-X-From: ding-owner+M8058@lists.math.uh.edu Wed Jan 05 03:02:49 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cm0Vc-0004XL-00 for ; Wed, 05 Jan 2005 03:02:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Cm0SD-0008H0-00; Tue, 04 Jan 2005 19:59:17 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Cm0S5-0008Gu-00 for ding@lists.math.uh.edu; Tue, 04 Jan 2005 19:59:09 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Cm0Rz-00069n-W1 for ding@lists.math.uh.edu; Tue, 04 Jan 2005 19:59:04 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.1] helo=mail-new.rz.uni-ulm.de) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cm0Rx-00026H-00 for ; Wed, 05 Jan 2005 02:59:02 +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.1/8.13.1) with ESMTP id j051wwVf028307 for ; Wed, 5 Jan 2005 02:58:58 +0100 (MET) Original-Received: by bridgekeeper.physik.uni-ulm.de (Postfix, from userid 170) id 39A0C1006E; Wed, 5 Jan 2005 02:58:57 +0100 (CET) Original-To: Ding List X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l;3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2;n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3 ] Hi, on a tty (emacs -nw) with light background (e.g. ivory) `spam-face' is unreadable. Unless there are objections, I'll change it in trunk and head as follows: --8<---------------cut here---------------start------------->8--- --- spam.el 26 Nov 2004 08:14:41 -0000 6.146.2.7 +++ spam.el 4 Jan 2005 16:06:52 -0000 @@ -298,7 +298,19 @@ :type '(radio (const nil) regexp) :group 'spam) -(defcustom spam-face 'gnus-splash-face +(defface spam-face + '((((class color) (type tty) (background dark)) + (:foreground "gray80" :background "gray50")) + (((class color) (type tty) (background light)) + (:foreground "gray50" :background "gray80")) + (((class color) (background dark)) + (:foreground "ivory2")) + (((class color) (background light)) + (:foreground "ivory4")) + (t :inverse-video t)) + "Face for spam-marked articles.") + +(defcustom spam-face 'spam-face "Face for spam-marked articles." :type 'face :group 'spam) --8<---------------cut here---------------end--------------->8--- I have added a new face because I think that (ab)using `gnus-splash-face' is not the best idea. Suggestions (e.g. better color combinations) are welcome. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/