From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/27109 Path: main.gmane.org!not-for-mail From: Graham Todd Newsgroups: gmane.emacs.gnus.general Subject: Gnus<->Netscape mailcap strangeness Date: 20 Nov 1999 17:10:36 -0500 Organization: Gnus Information Center Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035164195 22923 80.91.224.250 (21 Oct 2002 01:36:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:36:35 +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 RAA24182 for ; Sat, 20 Nov 1999 17:09:16 -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 QAB28934; Sat, 20 Nov 1999 16:09:13 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 20 Nov 1999 16:09:15 -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 QAA24892 for ; Sat, 20 Nov 1999 16:09:05 -0600 (CST) Original-Received: from quimby.gnus.org (quimby.gnus.org [193.69.4.139]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id RAA24167 for ; Sat, 20 Nov 1999 17:08:36 -0500 (EST) Original-Received: (from news@localhost) by quimby.gnus.org (8.9.3/8.9.3) id XAA11493 for ding@gnus.org; Sat, 20 Nov 1999 23:10:45 +0100 (CET) Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 60 Original-NNTP-Posting-Host: hse-tor-ppp30120.sympatico.ca Original-X-Trace: quimby.gnus.org 943135845 11956 209.226.112.45 (20 Nov 1999 22:10:45 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 20 Nov 1999 22:10:45 GMT User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:27109 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:27109 Pterodactyl Gnus v0.98 on XEmacs 20.4 (i386-pc-linux) After upgrading from 0.96 to 0.98 I started to have trouble viewing attached images and files in newsgroups (and my own mail groups). If an image is small enough to fit in the Article buffer it displays correctly but if an image is too large or there is no "native" internal viewer for XEmacs for the attached file (eg. for MS Excel and Word documents) a clickable widget appears (as it should) but when I click on the widget (for say a JPEG file too large for the buffer) I get the following minibuffer messages and no image or file viewer is launched: Displaying x-mozilla-flags=internal... Viewing with x-mozilla-flags=internal Recognizing this as possible Netscape Helper pollution in my ~/.mailcap file I removed the file and restarted XEmacs. Without the ~/.mailcap in place everything worked just fine for those file types able to be displayed by XEmacs internally. Putting the file back in place and doing "M-x mailcap-parse-mailcaps" would cause the same errors But since my mailcap file contains lines like the following: application/msword;/home/gtodd/bin/applixviewer %s I was no longer able to click on buttons and have those viewers launch to view the attachments. The mailcap file sort of needs to be in place so that I can browse directories in Netscape and click on files and have the appropriate file viewer launch to viewer the file. Sigh ... this is of course a necessary "convenience" because repositories of shared files and files that are distributed publically by government departments etc are often in MS-Word format (occasionally PDF) - in any case it's more convenient to leave my ~/.mailcap in place so that Netscape (and lynx for that matter) can function correctly when clicking on URLs for Word, Excel documents and the like. Since mailcap parsing was not a problem in earlier versions of Gnus perhaps something has changed in 0.98 that could "hacked" to correct this on the gnus side. Maybe mailcap-parse-mailcaps could be made to skip the x-mozilla-flags lines or somehow correct what netscape is doing to the .mailcap file. It seems that when viewing jpegs or pngs Gnus is trying to use the lines in my mailcap that have been added by Netscape to flag these file types as "internal". I've placed my mailcap file here: ftp://ftp.equilibrio.qc.ca/pub/GnusStuff/hold.mailcap in case my problem is merely a local one. The file looks OK but gnus doesn't seem to like it anymore. Sorry this was so long-winded. Regards, -- G. Todd