Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Cc: TSUCHIYA Masatoshi <tsuchiya@namazu.org>
Subject: Re: How do I turn off rendering of HTML?
Date: Tue, 06 Sep 2005 18:55:41 +0200	[thread overview]
Message-ID: <v98xya87aq.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <v91x4c4rt2.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Mon, 29 Aug 2005 18:43:37 +0200")

On Mon, Aug 29 2005, Reiner Steib wrote:

> On Wed, Aug 03 2005, Russ Allbery wrote:
>> Russ Allbery <rra@stanford.edu> writes:
>>
>>> I just upgraded to No and the FAQ information for turning off automatic
>>> display of text/html parts apparently no longer works.  I have:
>>
>>> (custom-set-variables
>>>  '(mm-discouraged-alternatives '("text/html" "text/enriched"))
>>>  '(mm-automatic-display (remove "text/html" mm-automatic-display)))
>>
>> Thanks to Ted Stern, I now have:
>>
>> (custom-set-variables
>>  '(mm-inline-override-types '("text/html"))
>>
>> which does exactly what I want, despite the confusing variable name which
>> makes it sound to me like it forces the HTML to be inline.
>>
>> The FAQ should probably be updated, since its recommendation appears to no
>> longer work.
>
> Does anyone see which change has caused the different behavior
> (compared to Gnus 5.11)?

I finally found the responsible change:

--8<---------------cut here---------------start------------->8---
--- gnus-art.el	6 Oct 2004 07:48:57 -0000	7.55
+++ gnus-art.el	7 Oct 2004 13:54:59 -0000	7.56
@@ -4709,7 +4709,7 @@
 	      (forward-line -1)
 	      (setq beg (point)))
 	    (gnus-article-insert-newline)
-	    (mm-insert-inline handle (mm-get-part handle))
+	    (mm-display-inline handle)
 	    (goto-char (point-max))))
 	  ;; Do highlighting.
 	  (save-excursion
--8<---------------cut here---------------end--------------->8---

----------------------------
revision 7.56
date: 2004/10/07 13:54:59;  author: tsuchiya;  state: Exp;  lines: +1 -1
(gnus-mime-display-single): Call `mm-display-inline' instead of
calling `mm-insert-inline', to decode text/* parts before displaying
them.
----------------------------

I'm not sure what the goal of this change was, but rendering text/html
with the settings...

  (setq mm-automatic-display (remove "text/html" mm-automatic-display))

... should not happen.

Masatoshi, could you please think about a different solution?

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



  reply	other threads:[~2005-09-06 16:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-02 17:54 Russ Allbery
2005-08-03 20:13 ` Russ Allbery
2005-08-29 16:43   ` Reiner Steib
2005-09-06 16:55     ` Reiner Steib [this message]
2005-09-07  0:56       ` Katsumi Yamaoka
2005-09-07  3:46         ` Katsumi Yamaoka
2005-09-07 13:40           ` Reiner Steib

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=v98xya87aq.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=tsuchiya@namazu.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).