all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Sascha Wilde <wilde@sha-bang.de>
Cc: ding@gnus.org, emacs-devel@gnu.org
Subject: Re: Default mm-uu-extract face hard to read on ttys
Date: Wed, 27 Feb 2008 23:25:45 +0100	[thread overview]
Message-ID: <v9ir0ahw9i.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m21w6yvcrp.fsf@kenny.sha-bang.de> (Sascha Wilde's message of "Wed, 27 Feb 2008 12:50:50 +0100")

On Wed, Feb 27 2008, Sascha Wilde wrote:

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




  parent reply	other threads:[~2008-02-27 22:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-26 11:28 Default mm-uu-extract face hard to read on ttys Sascha Wilde
2008-02-26 19:33 ` Reiner Steib
2008-02-27 11:50   ` Sascha Wilde
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 [this message]
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
2008-03-07 21:07           ` Ted Zlatanov
2008-03-10  0:41             ` Kenichi Handa

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=v9ir0ahw9i.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=wilde@sha-bang.de \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.