From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sascha Wilde 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 12:50:50 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204113091 9058 80.91.229.12 (27 Feb 2008 11:51:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Feb 2008 11:51:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: ding@gnus.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 27 12:51:54 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 1JUKpE-00074m-T3 for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2008 12:51:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUKoh-0008Di-MF for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2008 06:51:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUKoU-00089d-Hy for emacs-devel@gnu.org; Wed, 27 Feb 2008 06:51:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUKoS-00088z-H6 for emacs-devel@gnu.org; Wed, 27 Feb 2008 06:51:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUKoS-00088v-DX for emacs-devel@gnu.org; Wed, 27 Feb 2008 06:51:04 -0500 Original-Received: from mail2.sha-bang.de ([78.47.120.114] helo=mail.sha-bang.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUKoR-00024O-Fj for emacs-devel@gnu.org; Wed, 27 Feb 2008 06:51:04 -0500 Original-Received: from kenny.sha-bang.de (xdslz093.osnanet.de [82.149.179.93]) by mail.sha-bang.de (Postfix) with ESMTP id 7392D553; Wed, 27 Feb 2008 13:02:08 +0100 (CET) Original-Received: from wilde by kenny.sha-bang.de with local (Sha Bang MUA v.0711184.68) ID 1JUKoE-0007Ye-8I; Wed, 27 Feb 2008 12:50:50 +0100 In-Reply-To: (Reiner Steib's message of "Tue, 26 Feb 2008 20:33:51 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) 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:90592 gmane.emacs.gnus.general:66362 Archived-At: Reiner Steib wrote: > On Tue, Feb 26 2008, Sascha Wilde wrote: > >> The default mm-uu-extract face is hard to read on ttys, as it defaults >> to light yellow on dark green, which gets translated to white on >> (bright) green on 8 color tty. > > 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 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")) (((class color) (background dark)) (:foreground "light yellow" :background "dark green")) (((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) cheers sascha -- Sascha Wilde : VI is to EMACS as masturbation is to making love: : effective and always available but probably not your : first choice...