Gnus development mailing list
 help / color / mirror / Atom feed
From: Hrvoje Niksic <hniksic@srce.hr>
Subject: Re: html and text
Date: 07 Jan 1999 02:21:14 +0100	[thread overview]
Message-ID: <kigd84r6fp1.fsf@jagor.srce.hr> (raw)
In-Reply-To: Stefan Waldherr's message of "06 Jan 1999 23:41:23 +0100"

Stefan Waldherr <stefan@waldherr.org> writes:

> >>>>> "Jack" == Jack Vinson <jvinson@chevax.ecs.umass.edu> writes:
> 
>   Jack> pgnus 0.59 and ntemacs 20.3.1 When I receive a message that has BOTH
>   Jack> html and text in it, Gnus calls w3 code to do something to the html.
> 
> I have a similar problem: how do I stop pgnus from displaying inline
> HTML at all?

(I assume that you refer to the case when a text/plain alternative is
also available.)

I am not sure how Gnus currently handles multipart/alternative.  On
the one hand, rfc2046 clearly that alternatives are ordered by
"increasing faithfulness to the original contents".  On the other
hand, Gnus should allow the user to override this default in .gnus.

Gnus has an `mm-alternative-precedence' variable, which you can play
with to alter precedences.  The following code shifts `text/html' to
the very end of the precedence list:

    (setq mm-alternative-precedence (delete "text/html"
					    mm-alternative-precedence)
	  mm-alternative-precedence (nconc mm-alternative-precedence
					   (list "text/html")))

The trouble with the above code is that it won't work from stock
`.gnus' because `mm-alternative-precedence' is void at the time
`.gnus' is run.  So you have to use `eval-after-load' or `require' mm
from .gnus, which is, well, yucky.


  reply	other threads:[~1999-01-07  1:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-02 15:57 Jack Vinson
1998-12-02 17:43 ` William M. Perry
1998-12-03  0:15 ` Kai.Grossjohann
1998-12-03  0:49   ` Hrvoje Niksic
1998-12-03 10:48     ` Kai.Grossjohann
1998-12-03 15:17       ` Jack Vinson
1999-01-06 22:41 ` Stefan Waldherr
1999-01-07  1:21   ` Hrvoje Niksic [this message]
1999-01-07  8:51     ` Stefan Waldherr
1999-01-07 11:53       ` Robert Bihlmeyer
1999-01-07 13:39       ` Hrvoje Niksic
1999-01-07 14:06         ` William M. Perry
1999-01-07 14:43           ` Stefan Waldherr
1999-01-12  6:56             ` Lars Magne Ingebrigtsen
2001-09-09 15:55 Alexander Kotelnikov
2001-09-09 15:58 ` Amos Gouaux
2001-09-09 17:08 ` Karl Kleinpaste

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=kigd84r6fp1.fsf@jagor.srce.hr \
    --to=hniksic@srce.hr \
    /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).