* MIME frustration - send all outside
@ 2005-03-18 19:02 Andy Glew
2005-03-18 22:40 ` Jesper Harder
0 siblings, 1 reply; 2+ messages in thread
From: Andy Glew @ 2005-03-18 19:02 UTC (permalink / raw)
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: MIME frustration - send all outside
2005-03-18 19:02 MIME frustration - send all outside Andy Glew
@ 2005-03-18 22:40 ` Jesper Harder
0 siblings, 0 replies; 2+ messages in thread
From: Jesper Harder @ 2005-03-18 22:40 UTC (permalink / raw)
Andy Glew <andy.glew@intel.com> writes:
> 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.
You shouldn't do this -- i.e. rely on file extensions. You're making
Gnus just as insecure as Outlook Express.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-18 22:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-18 19:02 MIME frustration - send all outside Andy Glew
2005-03-18 22:40 ` Jesper Harder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).