On Wed, Aug 13, 2014 at 8:33 PM, Steve Zatz <[email protected]> wrote:
>> recommend looking at the output of the print-bindings and print-settings
>> commands
> Here are the key bindings. Not sure what I am looking for but nothing
> stands out as being in conflict with responding to a ":" in normal mode.
Thanks for this.
My apologies for the problems you are having. I'm sure it's frustrating.
This is a strange one. Let's do some sleuthing right now.
The message about ignoring ":" in normal mode is coming from the
vc.ignore method. I see from an earlier post that the statement
g.trace(g.callers()) in vc.ignore yields:
ignore masterKeyHandler,do_key,do_normal_mode,do_state
vc.do_normal mode is just::
def do_normal_mode(vc):
vc.do_state(vc.normal_mode_dispatch_d,'normal')
That is as expected. Looking at the code for do_state, we see the
following, slightly edited::
func = d.get(vc.stroke)
if func:
func()
elif vc.is_plain_key(vc.stroke):
vc.ignore()
else:
vc.delegate()
For vc.ignore to be called, both of the following must be true:
1. vc.stroke is not in vc.normal_mode_dispatch_d
(the dict passed to vc.do_state by do_normal_mode)
2. vc.is_plain_key(vc.stroke) is True.
But 'colon' *is* in the vc.normal_mode_dispatch_d!
Whoa! I went back an re-read your original message. It is::
ignoring semicolon in normal mode
Oops. You must type a colon, not a semicolon. If your eyes are
anywhere as old as mine, it's easy to confuse ':' and ';'.
I should have picked up on the "ignoring semicolon" message much
earlier. Again, my apologies. Here's hoping all is well now.
Edward
--
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/d/optout.