Hi all
    Apologies in advance, I'm sure this used to work and it's probably 
beginner's finger trouble...

As part of my early experiments in Leo scripting, I have a command node 
like this in myLeoSettings.leo:

@settings
    @commands
        @command myTestCommand

with a simple python script in the outline body.

I can see the new command via ALT-X <tab>, and run it via the minibuffer.

I can also change the @command to @button:

@settings
    @commands
        @button myTestCommand

And see the button, which takes action when pressed.

However, If I attempt to bind the command to a key:

@settings
    @commands
        @command myTestCommand @key=Ctrl-E

then the binding does not appear to work - it is not listed in the 
minibuffer listing and pressing (eg.)
Ctrl-E does not cause the script to be invoked.

Am I missing something simple here? as I say, i'm sure it used to work. I'm 
wondering how to debug
this sort of thing...

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

Reply via email to