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

Yoichi NAKAYAMA yoichi at geiin.org
Fri Aug 27 12:51:35 JST 2004


At Tue, 24 Aug 2004 12:23:29 -0700,
John Owens wrote:
> 
> 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?

How about mime-play-delete-file-immediately?
-- 
Yoichi NAKAYAMA





More information about the Emacs-mime-en mailing list