This plugin monkey patches c.openWithTempFilePath to provide alternate
names and places for the temporary files that the open-with command and
c.openWith use. Imo, the plugin is important enough to be supported at all
times. Furthermore, retiring the plugin will allow c.openWith to be
refactored into a separate class.
I spent several hours revising and simplifying the plugin's code. It now
uses g.sanitize_filename, which has also been revised to ensure it is
compatible with the plugin. A new unit test covers g.sanitize_filename.
You could say that the plugin does nothing but support the following
settings::
@bool open_with_clean_filenames
@bool open_with_uses_derived_file_extensions
These settings will still be reasonable when the plugin code moves to Leo's
core. The plugin contains some excellent code in the new cleanFileName
function. That code will survive as a method of the new class.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.