From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4706 Path: news.gmane.org!not-for-mail From: Andy Glew Newsgroups: gmane.emacs.gnus.user Subject: MIME frustration - send all outside Date: 18 Mar 2005 11:02:03 -0800 Organization: Intel Corporation Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670624 24543 80.91.229.2 (31 Jan 2006 01:23:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:23:44 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:34:11 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newspeer.monmouth.com!nntp.abs.net!ash.uu.net!news01.intel.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Sender: glew@pxpl2829.amr.corp.intel.com Original-NNTP-Posting-Host: pxpl2829.amr.corp.intel.com Original-X-Trace: news01.intel.com 1111172525 780 10.7.53.160 (18 Mar 2005 19:02:05 GMT) Original-X-Complaints-To: usenet@news01.intel.com Original-NNTP-Posting-Date: Fri, 18 Mar 2005 19:02:05 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4847 Original-Lines: 70 X-Gnus-Article-Number: 4847 Tue Jan 17 17:34:11 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4706 Archived-At: I am somewhat frustrated with my Gnus handling of multimedia email. The basic types, such as application/msword;/home/glew/bin/bin.cygwin/windows-run %s text/html;/home/glew/bin/bin.cygwin/windows-run %s are working - windows-run is a script that basically runs Internet Explorer, since I am working on cygwin. (Relying on IE's use of the Windows filetypes database to invoke the correct viewer.) But I can't get things like application/octet-stream;/home/glew/bin/bin.cygwin/windows-run %s application/x-zip-compressed;/home/glew/bin/bin.cygwin/windows-run %s to work. They work fine when I do operations like (from a Gnus Article buffer): v runs the command gnus-mime-view-part Interactively choose a viewing method for the MIME part under point. but when I try to have the default action RET runs the command gnus-article-press-button Check text at point for a callback function. If the text at point has a `gnus-callback' property, call it with the value of the `gnus-data' text property. I always get asked to save the file; my viewer doesn't get invoked. (Actually, I would just be using "v" to invoke my viewer, xcept that, for some reason I have not yet been able to figure out, gnus-article-press-button invokes the viewer in a decoupled manner, essentially backgrounded - I can use emacs while the viewer is active - whereas gnus-mime-view-part blocks emacs until the viewer exits.) I have tried * adding rules to ~/.mailcap * adding stuff like the following to ~/.emacs (mailcap-add "application/x-zip-compressed" "windows-run" "/bin/true") (setq mailcap-mime-extensions (append mailcap-mime-extensions '((".ppt" "application/postscript")))) but nothing is working - something, somewhere, is taking priority over what I specify. Q: can anyone tell me how to get EVERY attachment (MIME part) viewed with an external viewer like my windows-run? (Once I can do that I'll back off to internal viewers for things like text, and maybe HTML since I use w3m. But, right now, I'd be happy if I could just see everything.) ---- (emacs-version) "GNU Emacs 21.2.1 (i686-pc-cygwin, X toolkit) of 2004-03-22 on cm-test" (gnus-version) "Gnus v5.9.0" cygwin version downloaded a few weeks ago (can't find the version number right now)