From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/1529 Path: news.gmane.org!not-for-mail From: Kester Clegg Newsgroups: gmane.emacs.gnus.user Subject: Re: faces being ignored? Date: 27 Nov 2002 13:33:54 +0000 Organization: Rolls Royce UTC, Dept. of Computer Science, University of York, UK Message-ID: References: <84k7j0e4p0.fsf@lucy.cs.uni-dortmund.de> <84u1i49qhj.fsf@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668276 11632 80.91.229.2 (31 Jan 2006 00:44:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:44:36 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:29:18 2006 Original-Path: quimby.gnus.org!news.ccs.neu.edu!news.dfci.harvard.edu!news.cis.ohio-state.edu!news.ems.psu.edu!news.cse.psu.edu!uwm.edu!logbridge.uoregon.edu!fr.usenet-edu.net!usenet-edu.net!bnewspeer01.bru.ops.eu.uu.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!server1.netnews.ja.net!news.york.ac.uk!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Sender: kc11@york.ac.uk Original-NNTP-Posting-Host: pc310.cs.york.ac.uk Original-X-Trace: pump1.york.ac.uk 1038404034 23852 144.32.40.101 (27 Nov 2002 13:33:54 GMT) Original-X-Complaints-To: abuse@york.ac.uk Original-NNTP-Posting-Date: 27 Nov 2002 13:33:54 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:1669 Original-Lines: 38 X-Gnus-Article-Number: 1669 Tue Jan 17 17:29:18 2006 Xref: news.gmane.org gmane.emacs.gnus.user:1529 Archived-At: 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 '(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 ************************************************************************