[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Default mm-uu-extract face hard to read on ttys

From: Sascha Wilde
Subject: Re: Default mm-uu-extract face hard to read on ttys
Date: Wed, 27 Feb 2008 12:50:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Reiner Steib <address@hidden> 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"))                  
  "Face for extracted buffers."
  ;; See `mm-uu-verbatim-marks-extract'.
  :version "23.0" ;; No Gnus
  :group 'gnus-article-mime)

Sascha Wilde : VI is to EMACS as masturbation is to making love:
             : effective and always available but probably not your
             : first choice...

reply via email to

[Prev in Thread] Current Thread [Next in Thread]