Trying out the eval commands from the minibuffer for the first time, following the examples in the documentation doesn't work for me... Am I doing something wrong?
Trying out the eval commands from the minibuffer for the first time, following the examples in the documentation doesn't work for me... Am I doing something wrong?
...
execute-script will suffice for any conceivable purpose. Your troubles indicate that nobody is using the eval commands.
I was not aware of [Leo's eval commands] before Felix posted this thread, for what that's worth. I wrote a script that takes selected text - it has to have the right format - and plots it as a Matplotlib graph. I guess that illustrates your remark about execute-script.
The valuespace plugin does something like this, but I found it confusing to use.
Indeed, execute-script command already honors the current text-selection and will only run the selected text, if any, otherwise it will use the whole node's text. (and appropriate descendants if any '@others' present in the selection/node)I'll gladly remove mod_scripting's eval commands from leojs.(they will also be automatically gone from leointeg's minibuffer when they leave Leo itself 😄 )