Gnus development mailing list
 help / color / mirror / Atom feed
From: Jack Vinson <jvinson@chevax.ecs.umass.edu>
Subject: Re: Prefer text for text and html?
Date: 25 Feb 1999 09:51:22 -0600	[thread overview]
Message-ID: <wk4soa7a85.fsf@chevax.ecs.umass.edu> (raw)
In-Reply-To: Kurt Swanson's message of "Thu, 25 Feb 1999 15:31:57 +0000 (GMT)"

>>>>> "KS" == Kurt Swanson <ksw@dna.lth.se> writes:

KS> I have installed the w3 thing for use in Gnus, but would only like to
KS> use it when html is the only option - that is to say, if some annoying
KS> netscape user sends me both html and text versions of a message, I
KS> want to ignore the html and only show the text.  Is there some way to
KS> achieve this?

This comes up once a month or so as more and more users begin playing with
Gnus.  Has it made it into the manual anywhere?

Kurt, there is a variable called mm-alternative-precedence which tells Gnus
which parts to show if there are alternatives.  Obviously, the default
setting is to show text/html over test/plain.  

To change this, put the following in your gnus-init-file (usually .gnus):

(require 'mm-decode)
(setq mm-alternative-precedence
      (cons "text/plain" (delete "text/plain" mm-alternative-precedence)))

You don't really need to delete "text/plain", as Gnus just looks for the
first match.  I just think it looks prettier to only have one entry in the
list.

-- 
Jack Vinson <jvinson@chevax.ecs.umass.edu>    http://www.cis.upenn.edu/~vinson/
Zippy: Okay, BARBRA STREISAND, I recognize you now!!  Also EFREM ZIMBALIST,
 JUNIOR!!  And BEAUMONT NEWHALL!!  Everybody into th' BATHROOM!



  parent reply	other threads:[~1999-02-25 15:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6fk8x68poz.fsf@dna.lth.se>
1999-02-25 15:46 ` David S. Goldberg
1999-02-25 15:51 ` Jack Vinson [this message]
1999-02-26 14:38   ` Lars Magne Ingebrigtsen

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=wk4soa7a85.fsf@chevax.ecs.umass.edu \
    --to=jvinson@chevax.ecs.umass.edu \
    /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).