On Thu, Dec 30, 2010 at 02:09:11PM -0500, John J. Foerch wrote:
> 
> ... snip ...
> 
> The way that we choose also needs to be configurable, and (I predict)
> extensible for the future.  I will think on this problem.  It will
> probably involve replacing edit_field_in_external_editor_extension with
> something that can be set to a function, instead of just a single string.
> 


I think I have a workable patch for this.  By default, the file extension
for the temporary file is gotten from mozilla's mime-service for the mime
type of the thing being edited (text/plain for normal input boxes).  To
preserve users' ability to customize, a user variable is introduced
containing a mime-type table (of the sort defined in mime.js) that maps
mime type patterns to extensions.  Will upload soon.

-- 
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to