Gnus development mailing list
 help / color / mirror / Atom feed
From: Dale Hagglund <rdh@best.com>
Subject: mm-inline-media-tests change causes more changes than expected
Date: 28 Nov 1999 23:31:39 -0700	[thread overview]
Message-ID: <8666ylizas.fsf@ponoka.battleriver.com> (raw)

I'm running gnu emacs 20.3 with pgnus 0.98.  I added the following
lines to my .gnus file:

      (setq mm-inline-media-tests 
        (cons '("text/html" nil (lambda (h) nil)) mm-inline-media-tests))

The goal here was to prevent gnus from attempting to inline html parts
using w3.  This was failing trying to find x-mouse.el, which probably
means that I have an old version of w3.

I could, of course, have upgraded to a newer version of w3, but my
actual goal was to view the occasional bit of html-only mail with
lynx, and avoid w3 entirely.  Somewhat heretical, I realize, but there
you have it.

After modifying mm-inline-media-tests as shown above, text/html
messages show up with a button, and the raw html shown inline.
Hitting return on the button twice runs lynx, as specified in my
.mailcap file.

However, now, whenever I get multipart/mixed messages, any text/plain
parts are presented with buttons as well.  Messages bodies marked as
text/plain in the headers, either explicitly or implicitly, display
normally.

So, my questions are:

1) Is changing mm-inline-media-tests as above the correct way to
   achieve my goal?

2) Why does the modification affect the display of text/plain parts?

3) What do I need to do to prevent gnus from using w3 to inline
   text/html parts, without disturbing the display of other text/*
   parts.

4) With the above change, text/html parts are displayed with buttons
   in the article buffer, and the raw html displayed inline.  This
   means that I have to click (or the equivalent) on the button twice
   to start lynx.  How can I tell gnus to display text/html parts as
   initially hidden.

Dale.


             reply	other threads:[~1999-11-29  6:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-29  6:31 Dale Hagglund [this message]
1999-12-01 22:19 ` Lars Magne Ingebrigtsen
1999-12-03 17:03   ` Dale Hagglund
1999-12-07  9:05     ` Dale Hagglund
2000-04-21 23:05       ` 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=8666ylizas.fsf@ponoka.battleriver.com \
    --to=rdh@best.com \
    /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).