[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnus-article-decode-hook
From: |
Marcin 'Qrczak' Kowalczyk |
Subject: |
Re: gnus-article-decode-hook |
Date: |
Tue, 31 Aug 2004 20:39:14 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Katsumi Yamaoka <yamaoka@jpl.org> writes:
> Even in the .gnus.el file, you need to do that as follows:
>
> (eval-after-load "gnus-art"
> '(add-hook 'gnus-article-decode-hook 'function-which-does-nothing))
Thanks, this helped.
But there is another problem. I put this in .gnus.el:
(defun outlook-deuglify-when-needed ()
(let ((newsreader (message-field-value "X-Newsreader")))
(if (and newsreader
(string-match "^Microsoft Outlook Express" newsreader))
(gnus-article-outlook-deuglify-article))))
(eval-after-load "gnus-art"
'(add-hook 'gnus-article-decode-hook 'outlook-deuglify-when-needed))
and it works except that the body of each Outlook article is colored
using the signature face. It doesn't happen if I invoke
gnus-article-outlook-deuglify-article manually, actually it recolors
it correctly.
To simplify reproducing the problem,
(eval-after-load "gnus-art"
'(add-hook 'gnus-article-decode-hook 'gnus-article-outlook-deuglify-article))
causes the same wrong faces (this time on all articles of course).
--
__("< Marcin Kowalczyk
\__/ qrczak@knm.org.pl
^^ http://qrnik.knm.org.pl/~qrczak/