problems viewing attachments in emacs ui
David Bremner
david at tethera.net
Mon Jul 29 04:07:42 PDT 2013
Jameson Graef Rollins <jrollins at finestructure.net> writes:
> I'm now realizing that my problem with html parts is probably that
> browser is attempting to open the temporary file in the background.
> When the browser call returns, the caller assumes the application is
> done with the temp file and purges it. So for this issue at least I
> need to either convince my browser to not open the file in the
> background, or tell emacs to cleanup temp files at some later time
> (session termination, for instance).
I didn't have time to think through the consequences, but the following
kludge seems to let the browser start:
--- - 2013-07-29 08:05:32.095764025 -0300
+++ ./mm-decode.el 2013-07-28 16:38:49.000000000 -0300
@@ -972,7 +972,7 @@
(lambda (process state)
(when (eq (process-status process) 'exit)
(condition-case nil
- (delete-file file)
+ ;(delete-file file)
(error))
(condition-case nil
(delete-directory (file-name-directory file))
More information about the notmuch
mailing list