From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/20127 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: html and text Date: 07 Jan 1999 02:21:14 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 X-Trace: main.gmane.org 1035158476 16122 80.91.224.250 (21 Oct 2002 00:01:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:01:16 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id UAA26074 for ; Wed, 6 Jan 1999 20:22:05 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id TAB06123; Wed, 6 Jan 1999 19:21:49 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 06 Jan 1999 19:21:45 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id TAA26570 for ; Wed, 6 Jan 1999 19:21:37 -0600 (CST) Original-Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id UAA25267 for ; Wed, 6 Jan 1999 20:21:29 -0500 (EST) Original-Received: (from hniksic@localhost) by jagor.srce.hr (8.9.0/8.9.0) id CAA16187; Thu, 7 Jan 1999 02:21:15 +0100 (MET) Original-To: ding@gnus.org X-Attribution: Hrvoje X-Face: &{dT~)Pu6V<0y?>3p$;@vh\`C7xB~A0T-J%Og)J,@-1%q6Q+, gs<-9M#&`I8cJp2b1{vPE|~+JE+gx;a7%BG{}nY^ehK1"q#rG O,Rn1A_Cy%t]V=Brv7h writes: > >>>>> "Jack" == Jack Vinson 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.