From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/27304 Path: main.gmane.org!not-for-mail From: Dale Hagglund Newsgroups: gmane.emacs.gnus.general Subject: mm-inline-media-tests change causes more changes than expected Date: 28 Nov 1999 23:31:39 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: <8666ylizas.fsf@ponoka.battleriver.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035164353 23859 80.91.224.250 (21 Oct 2002 01:39:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:39:13 +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 BAA19891 for ; Mon, 29 Nov 1999 01:33:02 -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.3/8.9.3) with ESMTP id AAC24196; Mon, 29 Nov 1999 00:32:45 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 29 Nov 1999 00:32:21 -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 AAA10157 for ; Mon, 29 Nov 1999 00:32:11 -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 BAA19874 for ; Mon, 29 Nov 1999 01:31:45 -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 <19991129063143.HJOW15492.mail.rdc1.ab.home.com@best.com> for ; Sun, 28 Nov 1999 22:31:43 -0800 Original-Received: (from rdh@localhost) by best.com (8.9.3/8.8.5) id XAA31079; Sun, 28 Nov 1999 23:31:42 -0700 (MST) Original-To: ding@gnus.org Original-Lines: 43 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:27304 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:27304 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.