On Tue, 11 Mar 2003, Christian Ridderström wrote: > On 11 Mar 2003, Jean-Marc Lasgouttes wrote: > > > >>>>> "Christian" == Christian Ridderström <[EMAIL PROTECTED]> writes: > > > > > > Yes, S stands for shift, and ~S stands for "don't worry about shift". > > Maybe I'm tired today... didn't see the '~' there. I've put some notes > on this here: > > http://ev-en.org/wiki/moin.cgi/LyxKeyboardBindings > Some testing showed that: "C-a" is equivalent to "C-A" and "C-S-a" is equivalent to "C-S-A" and the order of the "modifiers" doesn't matter either, so: "C-S-a" is equivalent to "S-C-a"
Furthermore, the last binding seem to override previous bindings, i.e. \bind "C-a" "self-insert a" \bind "C-A" "self-insert A" means that pressing "C-a" will insert a 'A' (since "C-a" and "C-A" are equivalent). The '~S' modifier seems to be an exception to overriding previous key bindings. Having only this binding: \bind "C-~S-a" "self-insert a" means that both "C-a" and "C-S-a" will insert a 'a'. However, in this case: \bind "C-a" "self-insert a" \bind "C-S-A" "self-insert A" \bind "C-~S-a" "self-insert b" pressing "C-a" -> 'a' so "C-S-A" -> "A". The binding "C-~S-a" is never activated. If one of the previous bindings are removed, i.e. \bind "C-S-A" "self-insert A" \bind "C-~S-a" "self-insert b" then "C-a" -> 'A' and "C-S-a" -> b. So bindings with the modifier "~S" doesn't seem to override previous bindings. Anyway, I put these notes here: > > http://ev-en.org/wiki/moin.cgi/LyxKeyboardBindings for the future. /Chrstian -- Christian Ridderström http://www.md.kth.se/~chr