Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Kester Clegg <kester@RemoveThisBit.cs.york.ac.uk>
Subject: Re: faces being ignored?
Date: 27 Nov 2002 13:33:54 +0000	[thread overview]
Message-ID: <yqradjvm919.fsf@cs.york.ac.uk> (raw)
In-Reply-To: <yqr8yzffilh.fsf@cs.york.ac.uk>


Mmmm, this seems to be odder than I thought.  Even trying to set the
faces using a mode hook doesn't seem to work.  I have the following
(shortened) in my .emacs:

(defun do-w3-font-hook()
  (custom-set-faces
   ;; basic face
   '(w3-style-face-00000 ((t (:family "helvetica"
			      :weight normal
                              :underline nil
                              :foreground "wheat"
                              :background "darkslategray"))))
[...]

   ;; 00006 sets <strong>
   '(w3-style-face-00006 ((t (:family "helvetica"
			      :weight bold
                              :underline nil
                              :foreground "wheat"
                              :background "darkslategray"))))
   ))

(add-hook 'w3-mode-hook 'do-w3-font-hook)

Bizarrely this doesn't seem to get loaded when I first read an html mail
in gnus.  However, if I redisplay, or try to follow a link, sure enough
from that point on, my faces come up good and true.

So what's wrong with the initial loading? 


-- 
************************************************************************
Kester Clegg				Dept. of Computer Science,
Research Assistant (UTC)		University of York, 
Tel (01904) 43 27 49			email: kester at cs.york.ac.uk
************************************************************************


      parent reply	other threads:[~2002-11-27 13:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <yqrbs4ch1os.fsf@cs.york.ac.uk>
     [not found] ` <84k7j0e4p0.fsf@lucy.cs.uni-dortmund.de>
     [not found]   ` <yqry97gfgj9.fsf@cs.york.ac.uk>
     [not found]     ` <84u1i49qhj.fsf@lucy.cs.uni-dortmund.de>
     [not found]       ` <yqr8yzffilh.fsf@cs.york.ac.uk>
     [not found]         ` <84ptsr46t5.fsf@lucy.cs.uni-dortmund.de>
2002-11-27 11:06           ` Kester Clegg
2002-11-27 13:33         ` Kester Clegg [this message]

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=yqradjvm919.fsf@cs.york.ac.uk \
    --to=kester@removethisbit.cs.york.ac.uk \
    /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).