Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Where can I set gnus-cite-face-1? Which hook?
@ 2002-04-30  7:34 Fredrik Staxeng
       [not found] ` <vafbsc1xuvh.fsf@lucy.cs.uni-dortmund.de>
  0 siblings, 1 reply; 3+ messages in thread
From: Fredrik Staxeng @ 2002-04-30  7:34 UTC (permalink / raw)



I have succeded in setting most of the faces gnus use from 
gnus-group-mode-hook, gnus-summary-mode-hook, and gnus-article-mode-hook.

But the face gnus-cite-face-1 is not defined when gnus-article-mode-hook
runs for the first time. Here is what I tried:

(defun fstx-gnus-article-faces ()
  (set-face-foreground 'gnus-header-from-face "black")
  (set-face-foreground 'gnus-header-subject-face "black")
  (set-face-foreground 'gnus-header-newsgroups-face "black")
  (set-face-foreground 'gnus-header-name-face "black")
  (set-face-foreground 'gnus-header-content-face "black")
  (set-face-foreground 'gnus-cite-face-1 "black")
  (set-face-foreground 'gnus-cite-face-2 "black")
  (set-face-foreground 'gnus-cite-face-3 "black")
  (set-face-foreground 'gnus-cite-face-4 "black")
  (set-face-foreground 'gnus-cite-face-5 "black")
  (set-face-foreground 'gnus-cite-face-6 "black")
  (set-face-foreground 'gnus-cite-face-7 "black")
  (set-face-foreground 'gnus-cite-face-8 "black")
  (set-face-foreground 'gnus-cite-face-9 "black")
  (set-face-foreground 'gnus-cite-face-10 "black")
  (set-face-foreground 'gnus-cite-face-11 "black"))
(add-hook 'gnus-article-mode-hook 'fstx-gnus-article-faces)

I use Gnus 5.8.8 on GNU EMacs 21.1.1, on debian potato.

-- 
Fredrik Stax\"ang | rot13: sfgk@hcqngr.hh.fr


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Where can I set gnus-cite-face-1? Which hook?
       [not found] ` <vafbsc1xuvh.fsf@lucy.cs.uni-dortmund.de>
@ 2002-04-30 13:00   ` Fredrik Staxeng
  2002-04-30 15:34   ` Carsten Svensgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Fredrik Staxeng @ 2002-04-30 13:00 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> Fredrik Staxeng <fstx+u@update.uu.se> writes:
> 
> > But the face gnus-cite-face-1 is not defined when gnus-article-mode-hook
> > runs for the first time. Here is what I tried:
> 
> You can just grep for the file.  Hm.  It's gnus-cite:
> 
> (require 'gnus-cite)

I thought of that, but I did not want to bring in gnus until I want to
read news. But as I was composing a reply I realized that I could put
it in the hook function!

> > I use Gnus 5.8.8 on GNU EMacs 21.1.1, on debian potato.
> 
> Emacs 21.1 comes with Gnus 5.9, which ought to be as good as 5.8.8.

But the debian gnus package seems to override it. I'm not the administrator
of the machine I run gnus on.

-- 
Fredrik Stax\"ang | rot13: sfgk@hcqngr.hh.fr


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Where can I set gnus-cite-face-1? Which hook?
       [not found] ` <vafbsc1xuvh.fsf@lucy.cs.uni-dortmund.de>
  2002-04-30 13:00   ` Fredrik Staxeng
@ 2002-04-30 15:34   ` Carsten Svensgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Carsten Svensgaard @ 2002-04-30 15:34 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> > I use Gnus 5.8.8 on GNU EMacs 21.1.1, on debian potato.
> 
> Emacs 21.1 comes with Gnus 5.9, which ought to be as good as 5.8.8.

Not necessarily I think, my emacs 21.2.1 from Debian Unstable still has
Gnus 5.8.8. Maybe it is just different on Debian?

Carsten
-- 
/"\                        | Carsten Svensgaard
\ / ASCII ribbon campaign  | carsten@svensgaard.org
 X  against HTML mail      | 
/ \                        | Powered by Debian GNU/Linux


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-30 15:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-30  7:34 Where can I set gnus-cite-face-1? Which hook? Fredrik Staxeng
     [not found] ` <vafbsc1xuvh.fsf@lucy.cs.uni-dortmund.de>
2002-04-30 13:00   ` Fredrik Staxeng
2002-04-30 15:34   ` Carsten Svensgaard

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).