From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/32212 Path: main.gmane.org!not-for-mail From: John S Cooper Newsgroups: gmane.emacs.gnus.general Subject: Mailcap problem specifying application/octet-stream Date: 15 Aug 2000 16:20:21 +0100 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 1035168519 18459 80.91.224.250 (21 Oct 2002 02:48:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:48:39 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id EB60ED051E for ; Tue, 15 Aug 2000 10:22:40 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id JAC00554; Tue, 15 Aug 2000 09:22:34 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 15 Aug 2000 09:21:53 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id JAA03008 for ; Tue, 15 Aug 2000 09:21:44 -0500 (CDT) Original-Received: from hqvwall01.citrix.com (hqcon01.citrix.com [206.103.132.2]) by mailhost.sclp.com (Postfix) with SMTP id 24C74D051E for ; Tue, 15 Aug 2000 10:22:14 -0400 (EDT) Original-Received: from 10.9.1.111 by hqvwall01.citrix.com (InterScan E-Mail VirusWall NT); Tue, 15 Aug 2000 10:22:09 -0400 (Eastern Daylight Time) Original-Received: by HQEXCHCON01 with Internet Mail Service (5.5.2650.21) id ; Tue, 15 Aug 2000 10:22:09 -0400 Original-Received: from KONTIKI.cam.citrix.com (kontiki.cam.eu.citrix.com [10.70.128.78]) by hwexch01.ctxuk.citrix.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id QLGAJH71; Tue, 15 Aug 2000 15:21:23 +0100 Original-To: The Gnus Mailing List Original-Lines: 33 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:32212 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:32212 My .mailcap has the following line (I use Win2K): application/octet-stream; shelex %s (to let the OS launch programs based on their filename suffix.) However, my mailcap-mime-data now has 2 entries for application/octet-stream: My .mailcap stuff: ("octet-stream" (viewer . "shelex %s") (type . "application/octet-stream")) .. and the default: ("octet-stream" (viewer . mailcap-save-binary-file) (non-viewer . t) (type . "application/octet-stream")) When I hit RET on the MIME button, it seems the default action takes effect and I'm prompted to save the attachment to a file. It looks like mailcap-add-mailcap-entry might be keeping both entries because the viewer is different in each case (although this is something of a guess!). Any ideas on how I can make my .mailcap specification for application/octet-stream override the default? Thanks, --- John