From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60906 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: How do I turn off rendering of HTML? Date: Tue, 06 Sep 2005 18:55:41 +0200 Message-ID: References: <87y87kw7fr.fsf@windlord.stanford.edu> <87r7dapymz.fsf@windlord.stanford.edu> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1126026280 18574 80.91.229.2 (6 Sep 2005 17:04:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Sep 2005 17:04:40 +0000 (UTC) Cc: TSUCHIYA Masatoshi Original-X-From: ding-owner+m9438@lists.math.uh.edu Tue Sep 06 19:04:37 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ECgqX-0003YK-Ik for ding-account@gmane.org; Tue, 06 Sep 2005 19:02:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1ECgqF-0006ki-00; Tue, 06 Sep 2005 12:02:39 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1ECgjd-0006kc-00 for ding@lists.math.uh.edu; Tue, 06 Sep 2005 11:55:49 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1ECgjb-0007ir-3I for ding@lists.math.uh.edu; Tue, 06 Sep 2005 11:55:49 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.1]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ECgjZ-0004Su-00 for ; Tue, 06 Sep 2005 18:55:45 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.4/8.13.4) with ESMTP id j86Gtgs8024387; Tue, 6 Sep 2005 18:55:42 +0200 (MEST) Original-Received: by bridgekeeper.physik.uni-ulm.de (Postfix, from userid 170) id 16A9210A0B; Tue, 6 Sep 2005 18:55:42 +0200 (CEST) Original-To: Ding List Mail-Followup-To: Ding List , TSUCHIYA Masatoshi X-Face: 'bg&jY[8V'W&:=~6w"|>}#4/T;w~36ei4NNMyKRR.a$n=$|sWFPF1y]a\>6kc\*#GN]UDM| Ywv,vbL^XF1nIp\:F=$Ei2o&mEe:%N~,:3]vtQ~s9u$9izmX$IF@VgGl7/,^dbuM<3|AO2}.%|%?kZ 2Y=@\U!~cll^=8Z9ihKq%wmUe1Ky(#kl3T'>Qk0Ia3mCBsTk?E(,X In-Reply-To: (Reiner Steib's message of "Mon, 29 Aug 2005 18:43:37 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-DCC-servers-Metrics: gemini 1049; Body=2 Fuz1=2 Fuz2=2 X-Spam-Score: -2.0 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60906 Archived-At: On Mon, Aug 29 2005, Reiner Steib wrote: > On Wed, Aug 03 2005, Russ Allbery wrote: >> Russ Allbery 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/