From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/32214 Path: main.gmane.org!not-for-mail From: Toby Speight Newsgroups: gmane.emacs.gnus.general Subject: Re: Mailcap problem specifying application/octet-stream Date: 15 Aug 2000 18:19:50 +0100 Organization: Citrix Systems Sender: owner-ding@hpc.uh.edu Message-ID: <87lmxyjvbd.fsf@delivery.cam.eu.citrix.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 1035168520 18469 80.91.224.250 (21 Oct 2002 02:48:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:48:40 +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 7F119D051E for ; Tue, 15 Aug 2000 13:20:55 -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 MAC05274; Tue, 15 Aug 2000 12:20:38 -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 12:19:46 -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 MAA04470 for ; Tue, 15 Aug 2000 12:19:35 -0500 (CDT) Original-Received: from hqvwall01.citrix.com (hqcon01.citrix.com [206.103.132.2]) by mailhost.sclp.com (Postfix) with SMTP id 84AD4D051E for ; Tue, 15 Aug 2000 13:20:04 -0400 (EDT) Original-Received: from 10.9.1.111 by hqvwall01.citrix.com (InterScan E-Mail VirusWall NT); Tue, 15 Aug 2000 13:20:00 -0400 (Eastern Daylight Time) Original-Received: by HQEXCHCON01 with Internet Mail Service (5.5.2650.21) id ; Tue, 15 Aug 2000 13:19:59 -0400 Original-Received: from delivery.cam.eu.citrix.com ([10.70.128.47]) by hwexch01.ctxuk.citrix.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id QLGAJ26S; Tue, 15 Aug 2000 18:19:51 +0100 Original-To: The Gnus Mailing List Original-Lines: 33 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 X-Face: wqk-$Z5Z In article , 0> John S. Cooper ("John") wrote: John> However, my mailcap-mime-data now has 2 entries for John> application/octet-stream: John> John> My .mailcap stuff: John> John> ("octet-stream" John> (viewer . "shelex %s") John> (type . "application/octet-stream")) John> John> .. and the default: John> John> ("octet-stream" John> (viewer . mailcap-save-binary-file) John> (non-viewer . t) John> (type . "application/octet-stream")) John> John> When I hit RET on the MIME button, it seems the default action John> takes effect and I'm prompted to save the attachment to a file. John> John> It looks like mailcap-add-mailcap-entry might be keeping both John> entries because the viewer is different in each case (although John> this is something of a guess!). John> John> Any ideas on how I can make my .mailcap specification for John> application/octet-stream override the default? Perhaps Lisp functions take precedence over shell commands in mm-mailcap-data? Is that the case? If so, is there a way to override it?