Gnus development mailing list
 help / color / mirror / Atom feed
From: Sascha Wilde <wilde@sha-bang.de>
To: ding@gnus.org
Cc: emacs-devel@gnu.org
Subject: Re: Default mm-uu-extract face hard to read on ttys
Date: Wed, 27 Feb 2008 12:50:50 +0100	[thread overview]
Message-ID: <m21w6yvcrp.fsf@kenny.sha-bang.de> (raw)
In-Reply-To: <v9oda3ldgg.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Tue, 26 Feb 2008 20:33:51 +0100")

Reiner Steib <reinersteib+gmane@imap.cc> 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...




  reply	other threads:[~2008-02-27 11:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m2wsos6joe.fsf@kenny.sha-bang.de>
2008-02-26 19:33 ` Reiner Steib
2008-02-27 11:50   ` Sascha Wilde [this message]
2008-02-27 13:07     ` Bastien
2008-02-27 13:54       ` Sascha Wilde
2008-02-27 14:05         ` Bastien
2008-02-27 22:25     ` Reiner Steib
2008-02-28  8:53       ` Sascha Wilde
2008-02-28 17:07   ` Gnus problem with nil font in face definition (was: Default mm-uu-extract face hard to read on ttys) Ted Zlatanov
2008-02-28 17:51     ` Gnus problem with nil font in face definition Stefan Monnier
2008-02-28 19:04       ` Ted Zlatanov
2008-02-28 20:23     ` Reiner Steib
2008-02-28 21:53       ` Ted Zlatanov
2008-02-29  7:28       ` Kenichi Handa
2008-02-29 15:38         ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m21w6yvcrp.fsf@kenny.sha-bang.de \
    --to=wilde@sha-bang.de \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).