From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/27926 Path: main.gmane.org!not-for-mail From: Dale Hagglund Newsgroups: gmane.emacs.gnus.general Subject: Re: Canonical method for avoiding HTML expansion? Date: 07 Dec 1999 20:35:30 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: <86emcydrzx.fsf@ponoka.battleriver.com> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035164864 27113 80.91.224.250 (21 Oct 2002 01:47:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:47:44 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id WAA11722 for ; Tue, 7 Dec 1999 22:36:03 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id VAB19291; Tue, 7 Dec 1999 21:35:57 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 07 Dec 1999 21:36:07 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id VAA28900 for ; Tue, 7 Dec 1999 21:35:58 -0600 (CST) Original-Received: from mail.rdc1.ab.home.com (imail@ha1.rdc1.ab.wave.home.com [24.64.2.50]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id WAA11710 for ; Tue, 7 Dec 1999 22:35:35 -0500 (EST) Original-Received: from best.com ([24.66.216.246]) by mail.rdc1.ab.home.com (InterMail v4.01.01.07 201-229-111-110) with ESMTP id <19991208033533.RMAY25694.mail.rdc1.ab.home.com@best.com> for ; Tue, 7 Dec 1999 19:35:33 -0800 Original-Received: (from rdh@localhost) by best.com (8.9.3/8.8.5) id UAA54200; Tue, 7 Dec 1999 20:35:32 -0700 (MST) Original-To: ding@gnus.org In-Reply-To: Lloyd Zusman's message of "07 Dec 1999 16:47:24 -0500" Original-Lines: 24 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:27926 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:27926 Lloyd Zusman writes: > I recently asked something similar to this, but I can't find a > response that specifically addresses this question. Forgive me if I > missed the appropriate reply ... > In any case, I'd like to be able to prevent the automatic expansion of > *all* HTML and only have that done on demand. I added the following to my .gnus file not too long ago. (setq mm-inline-media-tests (cons '("text/html" nil (lambda (h) nil)) mm-inline-media-tests)) After some confusion on my part (because I had accidentally typed a command that changed some other stuff) this does what I want. text/html parts are not automatically displayed using w3 or any other browser; they are given buttons, and the html text is shown inline. if you click the button twice, gnus starts any text/html viewer specified in you .mailcap file. Dale.