[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MIME frustration - send all outside
From: |
Andy Glew |
Subject: |
MIME frustration - send all outside |
Date: |
18 Mar 2005 11:02:03 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
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)
- MIME frustration - send all outside,
Andy Glew <=