* Kumar Appaiah <a.ku...@alumni.iitm.ac.in>, 2009-12-12, 11:38:
I have a potential fix for this bug. My approach is based on the
premise that the make-temp-file function provided from Emacs 22
onwards is safe. So, I backport the method to the rst.el file, and
bind it to the symbol rst--make-temp-file as follows:

Thank you very much for your patch!

I think we could avoid backporting code, if we created a temporary directory (and then a file with an arbitrary name and proper suffix inside it) rather than a temporary file.

I don't see a solution for removing the temporary files, though.

Is it possible to somehow store the name of temporary thing that has been created? That way maybe we could re-use it on next invocation of the preview function and delete it in some kind of exit hook.

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to