From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66370 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Default mm-uu-extract face hard to read on ttys Date: Wed, 27 Feb 2008 23:25:45 +0100 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204151206 582 80.91.229.12 (27 Feb 2008 22:26:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Feb 2008 22:26:46 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Sascha Wilde Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 27 23:27:12 2008 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 1JUUk1-0001v7-87 for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2008 23:27:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUUjU-0001bG-Vw for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2008 17:26:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUUjA-0001Ik-Fx for emacs-devel@gnu.org; Wed, 27 Feb 2008 17:26:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUUj8-0001Gp-Nn for emacs-devel@gnu.org; Wed, 27 Feb 2008 17:26:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUUj8-0001Gi-Ju for emacs-devel@gnu.org; Wed, 27 Feb 2008 17:26:14 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JUUj8-0000py-4R for emacs-devel@gnu.org; Wed, 27 Feb 2008 17:26:14 -0500 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m1RMQ9av025885; Wed, 27 Feb 2008 23:26:10 +0100 (MET) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 86D4A12FC3; Wed, 27 Feb 2008 23:26:09 +0100 (CET) X-Face: .*T0'iU(sujq_j9\J>-d4fg; N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Followup-To: Sascha Wilde , ding@gnus.org, emacs-devel@gnu.org In-Reply-To: (Sascha Wilde's message of "Wed, 27 Feb 2008 12:50:50 +0100") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.90 (gnu/linux) X-DCC-PacNet-SG-Metrics: poseidon 1358; Body=3 Fuz1=3 Fuz2=3 X-Virus-Scanned: by amavisd-new X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:90657 gmane.emacs.gnus.general:66370 Archived-At: On Wed, Feb 27 2008, Sascha Wilde wrote: > Reiner Steib wrote: >> Could you suggest change to the face definition? (IIRC Emacs 21 >> doesn't support `min-colors'). > > While I don't see why we should bother about the features of Emacs 21 > for changes in 22/23 Because No Gnus (aka Gnus 5.13) is supposed to run on Emacs >= 21. See (info "(gnus)Emacsen"). > I think that testing for tty should be sufficient. > > How about something along the lines of: > > (defface mm-uu-extract '(;; Colors from `gnus-cite-3' plus background: > (((type tty) > (class color) > (background dark)) > (:foreground "white" > :background "dark blue")) > (((type tty) > (class color) > (background light)) > (:foreground "dark blue" > :background "white")) [...] I've installed a similar change (in Gnus CVS; will be synced to Emacs later). Is this color okay? (defface mm-uu-extract '(;; Inspired by `gnus-cite-3' (((type tty) (class color) (background dark)) (:background "dark blue")) (((class color) (background dark)) (:foreground "light yellow" :background "dark green")) (((type tty) (class color) (background light)) (:foreground "dark blue")) (((class color) (background light)) (:foreground "dark green" :background "light yellow")) (t ())) "Face for extracted buffers." ;; See `mm-uu-verbatim-marks-extract'. :version "23.0" ;; No Gnus :group 'gnus-article-mime) Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/