🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #674

Re: Launching of external applications

#674
From: tft
Date: Thu, 24 Feb 2005 18:33
41 lines
2782 bytes
Kevin Rodgers wrote:
> tft wrote:
>  > Greetings, looks like the launching of external applications
>  > within VM-7.19 no longer works (for some reason).  It seems as
>  > though the bug and thus the dysfunction occurred on the VM-7.18
>  > release (older versions seem to be OK).
>  >
>  > So with VM-7.19 when I click on a PDF attachment, I get the
>  > 'Launching gv' on the mod-line but nothing happens where-as
>  > with VM-7.17 'gv' actually starts and comes up.  Here is a
>  > snippet,
>  >
>  >   (setq vm-infer-mime-types t)
>  >   (setq vm-mime-external-content-types-alist
>  >         '(
>  >           ("application/pdf"      "gv")
>  >           ("application/msword"   "wvMime")
>  >          )
>  >   )
>
>
http://groups-beta.google.com/group/gnu.emacs.vm.info/msg/e948b95fb6de9a2e

Thanks Kevin (I can always depend on you :-) and those patches most
certainly fix the problem (it's odd that they aren't already in
VM-7.19 -- I hope Kyle is keeping track of these and other fixes).

In passing, is it possible to remove whatever files are opened via
this external spawning so that my attachments are not available for
others to know about ?  In other words, I get a PDF with a rather
descriptive filename, VM spawns the application for me to view the
PDF (thanks to those patches :-) yet when I'm done and I close the
application the PDF files (or any other attachment) are still there
in /tmp (is there a means to automatically delete them after I close
the application ?).  Come to think of it, it would also be wise to
let the user pick a different directory so that even while he/she are
viewing the attachment no one can snoop around for info.

Thanks again.

.tf.
Technical Details
Message-ID: <1109270032.503443.11480@o13g2000cwo.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail
References: <1109203728.426653.197790@g14g2000cwa.googlegroups.com> <3869jnF5lehlmU1@individual.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: f6829,532eb39f95a1e6d8
X-Google-Attributes: gidf6829,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail
From: "tft" <tim_freedom@yahoo.com>
Newsgroups: gnu.emacs.vm.bug
Subject: Re: Launching of external applications
Date: 24 Feb 2005 10:33:52 -0800
Organization: http://groups.google.com
Lines: 42
Message-ID: <1109270032.503443.11480@o13g2000cwo.googlegroups.com>
References: <1109203728.426653.197790@g14g2000cwa.googlegroups.com>
   <3869jnF5lehlmU1@individual.net>
NNTP-Posting-Host: 208.57.82.83
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1109270053 5332 127.0.0.1 (24 Feb 2005 18:34:13 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 24 Feb 2005 18:34:13 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: o13g2000cwo.googlegroups.com; posting-host=208.57.82.83;
   posting-account=tl4xrgwAAABMiT5XzRC495IONMsR8Lxg