There is an ancient thread from May 2008 discussing the mod_tempfname plugin
http://groups.google.com/group/leo-editor/browse_thread/thread/ad23258d1a46234c This plugin attempts to override c.openWithTempFilePath. The naive approach, adopted by both c.openWithTempFilePath and the plugin, is to base the temp file name on the path to a node. Alas, it is difficult (impossible) to "sanitize" a file path containing unicode characters. A better approach would seem to be to use Python's standard tempfile.mkstemp in c.openWithTempFilePath. We can then dispense with mod_tempfname entirely. The only advantage of the present c.openWithTempFilePath code is that it produces a moderately readable file name, but that doesn't begin to compensate for the problems. Any comments? Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
