The following question arises from code level considerations while
refactoring Leo's baroque key-handling code.  However, this is "user-
level" question, and I'd like your advice.

At present, Leo supports two key-related settings:

    @bool swap_mac_keys
    @bool enable_alt_ctrl_bindings

As I write this, I see that neither of these settings appear in
leoSettings.leo.  I wonder what happened to them?  I'll have to put
them back.

When enable_alt_ctrl_bindings is True (recommended) all alt-ctrl keys
are assumed to be valid characters.  I believe this is important for
European keyboards.  BTW, there is a comment in my myLeoSettings.leo
file that this must be True in order to handle Alt-Ctrl bindings for
Leo's Find Pane...

My question is this:  it doesn't seem to make sense to enable these
settings on a per-Leo-file basis.  Instead, it would seem much more
sensible to enable them from the command line, so that all files *at a
particular location* would treat keystrokes in the same way.  Do you
agree?

Turning these settings into command-line options would have
"technical" benefits.  KeyStroke objects would not need to the know
the environment (commander) in which they are operating.

Your thoughts, please, amigos.

Edward

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