"play" entity: how to make file last a little longer?

John Owens em.20.jowens at spamgourmet.com
Wed Aug 25 04:23:29 JST 2004


I'm using:

Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka)
FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3.50
(powerpc-apple-darwin7.5.0) MULE/5.0 (SAKAKI)

on OS X (10.3.5) under FSF emacs 21.3.50 (recent version from CVS).

and am attempting to use 'v' ("Play Current Entity") to extract a MIME
attachment. I believe the function of interest is "mime-play-entity"
although I have been unable to decipher how it extracts the file of
interest.

I have my .mailcap set up (I believe) correctly to play attachments.
What I believe is happening is the following.

- I hit 'v'
- The attachment is extracted from the message
- .mailcap is consulted and an application is launched
- *** The attachment is deleted ***
- The application tries to open the attachment file and can't find it

Surely others have had this problem - by the time the application
consults the attachment file, it's been deleted. I can confirm this is
happening by hitting 'v', seeing the status window displaying
something like

External method is starting...
/sw/bin/launch "/tmp/EMI16908JS5/VoiceMessage.wav" finished

and then confirming that file does not exist. It would seem like the
deletion should happen only when the current message is changed (in
other words, there should be a hook when the current message is
changed [through 'n' or 'p' for instance] that deletes all temporary
files. 

Thoughts?

JDO

(PS - if the administrators would add this mailing list to gmane that
would be terrific, since the Japanese list is already there.

http://gmane.org/info.php?group=gmane.mail.emacs.mime.japanese

)





More information about the Emacs-mime-en mailing list