On 11/27/2013 5:25 AM, jkn wrote:
Hi All
a few miscellaneous but connected observations and queries.
1) I can see that if I have
@url file://path/to/myfile.txt
in the body of an outline, I can type CTRL-Lclick on this URL and have
the associated app bring up the file. Fantastic! However...
1a) this seems to invoke the command open-url-under-cursor. But from
the minibuffer, this has no binding. Where is this done, and why is
this different from other bindings?
- Can I rebind this command
- How might I bind (eg) shift-Lclick to a useful command?
1b) I would like to have the 'open-url-under-cursor' command
accessible via a right-click context menu, instead of via Ctrl-Lclick.
I can see that by using contextmenu.py and @data contextmenu_commands,
I can add these ... but this appears to be to a *headline* context
menu, not the body context menu.
Is it possible to add entries to the body context menu?
1c) Ideally I would also like this 'open URL' entry to only come up in
the right-click menu when the cursor is under a valid URL (ie. to be
in context! ;-). Any pointers as to this?
Thanks a lot.
2) noticed in passing: The 'valid URLs' section of the Appendic says:
http://leoeditor.com/appendices.html#valid-url-s
says: You may use any type of URL that your browser supports: http,
mailto, ftp, file, etc.
But if I am not mistaken, the rules for a valid URL written just above
this do not allow the use of the mailto URL at least.
mailto:[email protected]?subject=Hello
Is this a bug?
mailto URLs work just fine for me!
-->Jake
Cheers
Jon N
--
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/groups/opt_out.
--
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/groups/opt_out.