Gnus development mailing list
 help / color / mirror / Atom feed
From: Nelson Ferreira <nelson.ferreira@ieee.org>
Subject: Re: Selective HTML rendering using group parameters
Date: Wed, 15 Mar 2006 15:20:38 -0500	[thread overview]
Message-ID: <m3lkvbbgtl.fsf@tuxie.homelinux.net> (raw)
In-Reply-To: <yamaokar754f5n4.fsf@jpl.org>

"Katsumi" == Katsumi Yamaoka <yamaoka@jpl.org> writes:

    >>>>>> In <m3bqw85ju6.fsf@tuxie.homelinux.net> Nelson Ferreira wrote:

[...]


    Katsumi> [...]

    Katsumi> Well, I think you may want to use `gnus-newsgroup-variables' to
    Katsumi> declare that those mm- variables are the group parameters.  Does
    Katsumi> this Info document help?

Katsumi, that did the trick!

I now have this in my .gnus:

,----
| ;; Set the default value of `mm-discouraged-alternatives' and 'mm-automatic-display'.
| (eval-after-load "gnus-sum"
|   '(progn 
|      (add-to-list 
|       'gnus-newsgroup-variables 
|       '(mm-discouraged-alternatives
|         . '("text/html" "text/richtext" "text/enriched"
|             "multipart/related" "image/.*")))
|      (add-to-list 
|       'gnus-newsgroup-variables 
|       (list 'mm-automatic-display 'quote (remove "text/html" mm-automatic-display)))))
`----

and my group parameters is now:

,----
| ((mm-discouraged-alternatives
|   (remove "text/html" "multipart/related"
|           (or mm-discouraged-alternatives
|               (default-value mm-discouraged-alternatives))))
|  (mm-automatic-display
|   (append
|    (list "text/html")
|    (or mm-automatic-display
|        (default-value mm-automatic-display)))))
`----


[...]


-- 
Nelson Ferreira




      reply	other threads:[~2006-03-15 20:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-15  5:59 Nelson Ferreira
2006-03-15  8:05 ` Nelson Ferreira
2006-03-15  8:56 ` Katsumi Yamaoka
2006-03-15 20:20   ` Nelson Ferreira [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=m3lkvbbgtl.fsf@tuxie.homelinux.net \
    --to=nelson.ferreira@ieee.org \
    /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).