unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: Sascha Wilde <wilde@sha-bang.de>
Cc: ding@gnus.org,  emacs-devel@gnu.org
Subject: Gnus problem with nil font in face definition (was: Default mm-uu-extract face hard to read on ttys)
Date: Thu, 28 Feb 2008 11:07:48 -0600	[thread overview]
Message-ID: <86fxvdvwkb.fsf@jumptrading.com> (raw)
In-Reply-To: v9oda3ldgg.fsf@marauder.physik.uni-ulm.de

With the latest Emacs from CVS and the latest Gnus from CVS, many Gnus
faces look strange.  They were fine with checkouts from about a month
ago.

It seems that the cause is faces that have the font set to nil, instead
of unspecified.  I don't know if this is a Gnus-only problem, and it may
be caused by an Emacs problem, so I am cc-ing both emacs-devel and ding.

For example, describe-face on message-header-to says:

Face: message-header-to (sample) (customize this face)
Documentation: Face used for displaying From headers.
Defined in `message.el'.

        Family: unspecified
         Width: unspecified
        Height: unspecified
        Weight: bold
         Slant: unspecified
    Foreground: DarkOliveGreen1
    Background: unspecified
     Underline: unspecified
      Overline: unspecified
Strike-through: unspecified
           Box: unspecified
       Inverse: unspecified
       Stipple: unspecified
          Font: nil
       Fontset: unspecified
       Inherit: unspecified

but message-header-name is:

Face: message-header-name (sample) (customize this face)
Documentation: Face used for displaying header names.
Defined in `message.el'.

        Family: unspecified
         Width: unspecified
        Height: unspecified
        Weight: unspecified
         Slant: unspecified
    Foreground: green
    Background: unspecified
     Underline: unspecified
      Overline: unspecified
Strike-through: unspecified
           Box: unspecified
       Inverse: unspecified
       Stipple: unspecified
          Font: unspecified
       Fontset: unspecified
       Inherit: unspecified

For me, message-header-name appears normal, using the right font from
my X defaults:

#define FONT_ISO_XL -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
Emacs*font: FONT_ISO_XL

but message-header-to is set in a large proportional font, which looks
ugly.  describe-font crashed my Emacs session, so I'm not sure about the
specifics of the font that was used.

Ted




  parent reply	other threads:[~2008-02-28 17:07 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
2008-02-28  8:53       ` Sascha Wilde
2008-02-28 17:07   ` Ted Zlatanov [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=86fxvdvwkb.fsf@jumptrading.com \
    --to=tzz@lifelogs.com \
    --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 public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).