On Fri, Nov 25, 2011 at 9:55 AM, Edward K. Ream <[email protected]> wrote:
> 2. There may be significant interaction between @url and @mime.  That
> being so, it makes sense to make the @mime processing optional.

The @mime plugin's genesis was to separate opening of files on the
local filesystem from URLs and UNLs.
At the time, the UNL plugin would just call the webbrowser, which
explicitly had different settings than my '.mailcap'.
Also, KDE's "kfmclient exec" uses (used?) its own settings for
figuring out which program to use.

@mime's purpose is to simulate the behavior of double-clicking on the
file in a file-manager running under the current "desktop system".
Terry's revision at 3860.3.1 pretty much made @mime obsolete through
using "g.os_startfile" on local non-leo files.

"xdg-open", currently used for @url's with no scheme or file://, has
nearly identical behavior to @mime's default behavior.
@mime also allows re-defining either a different command to exec or a
function to handle the argument with an @setting.

Dan

-- 
SDG
www.whiteaudio.com

-- 
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.

Reply via email to