On Wed, Jun 9, 2010 at 8:42 PM, Dan White <[email protected]> wrote:
> lists. Likely the userbase is ~1 since it's been broken since the > plugin loading update... To be fair no stable release with the new plugin loading system has been released. > This plugin is complementary to the UNL.py plugin's @url nodes. Use @url for > opening either URLs or Uniform Node Locators in "*.leo" files and use @mime > nodes for opening files on the local filesystem. It also replaces the The distinction seems artificial to me. Why don't we have just one way to say "launch this location with associated program"? > For other sys.platform's, add an elif case to the section "guess file > association handler" and either define a default _mime_open_cmd string, where > "%s" will be replaced with the filename, or define a function taking the > filename string as its only argument and set as open_func. For linux this should run xdg-open (it's already being used by leo, e.g. contextmenu.py) -- Ville M. Vainio http://tinyurl.com/vainio -- 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.
