[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Choices for mm-text-html-renderer

From: Enila Nero
Subject: Re: Choices for mm-text-html-renderer
Date: Sun, 13 Feb 2005 06:58:42 GMT

Enila Nero <address@hidden> writes:

> I would like to use 
> (setq  mm-text-html-renderer 'w3)
> for most groups and 
> (setq mm-text-html-renderer 'w3m)
> for some others.  I tried customization using gnus-parameters but it
> doesn't work:  the new value of mm-text-html-renderer is local only
> for the summary buffer; no change in the article buffer.
> Any ideas how to achieve that?
> Thanks,
> EN

Answering my own question:

(defun my-html-renderer ()
  (if (string-match  "spam\\|junk" gnus-newsgroup-name)
      (set (make-local-variable 'mm-text-html-renderer) 'w3m)))

(add-hook 'gnus-article-prepare-hook 'my-html-renderer)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]