On Apr 12, 2013, at 3:46 PM, Stephan Witt <st.w...@gmx.net> wrote: > Am 12.04.2013 um 22:12 schrieb Chris Menzel <chris.men...@gmail.com>: > >> Hi Stephan, thanks for the reply. I'm simply using the default emacs.bind >> file and I checked to make sure I don't have a custom .bind file lurking in >> ~/Library/Application Support/LyX-2.0. I have both 2.0.5 and 2.0.5.1 >> installed on my MBP. In 2.0.5, Option is meta (as it seems to me it has been >> for a long time) — e.g., Option-f moves the cursor forward by word, Option-b >> backward by word, etc. In 2.0.5.1 I get ƒ and ∫ with those keys. I just did >> a diff on the bind files and they are identical (and both have both opt-f >> and cmd-f listed as hotkeys for word-forward). >> >> Let me know if I can give you any more information. > > Sorry, I cannot see the difference here. I tried the following: > 1. open LyX-2.0.5+qt4.dmg > 2. start LyX.app from there > 3. open app preference window > 4. change the keyboard shortcuts file to emacs > 5. type some text and reposition the cursor at the very beginning > 6. Enable messages view and choose selective reporting of keyboard events > 7. type Option-f > > This is the content of the debug messages: > > frontends/qt4/GuiApplication.cpp (1687): KeySym is Alt_R > frontends/qt4/GuiKeySymbol.cpp (644): isOK is 1 > frontends/qt4/GuiKeySymbol.cpp (652): isModifier is 1 > frontends/qt4/GuiWorkArea.cpp (1046): count: 1 text: ƒ isAutoRepeat: 0 key: > 70 keyState: Alt- > frontends/qt4/GuiKeySymbol.cpp (623): Getting key 70, with text 'ƒ' > frontends/qt4/GuiKeySymbol.cpp (629): Setting key to 70, ƒ > frontends/qt4/GuiKeySymbol.cpp (644): isOK is 1 > frontends/qt4/GuiApplication.cpp (1687): KeySym is f > frontends/qt4/GuiKeySymbol.cpp (644): isOK is 1 > frontends/qt4/GuiKeySymbol.cpp (652): isModifier is 0 > frontends/qt4/GuiApplication.cpp (1710): action first set to [] > frontends/qt4/GuiApplication.cpp (1718): action now set to [] > frontends/qt4/GuiApplication.cpp (1729): Key [action=][Option-F] > frontends/qt4/GuiApplication.cpp (1752): isText() is true, inserting. > frontends/qt4/GuiApplication.cpp (1770): SelfInsert arg[`ƒ'] > > Please, send me the report of your LyX's debug messages report for entering > Option-f. > > I know the behavior regarding the Option key has changed some time ago. But > not from 2.0.5 to 2.0.5.1, I'm almost sure.
Hi Stephan, here's what I get in 2.0.5: frontends/qt4/GuiApplication.cpp (1687): KeySym is Alt_R frontends/qt4/GuiKeySymbol.cpp (644): isOK is 1 frontends/qt4/GuiKeySymbol.cpp (652): isModifier is 1 frontends/qt4/GuiWorkArea.cpp (1046): count: 1 text: ƒ isAutoRepeat: 0 key: 70 keyState: Alt- frontends/qt4/GuiKeySymbol.cpp (623): Getting key 70, with text 'ƒ' frontends/qt4/GuiKeySymbol.cpp (629): Setting key to 70, ƒ frontends/qt4/GuiKeySymbol.cpp (644): isOK is 1 frontends/qt4/GuiApplication.cpp (1687): KeySym is f frontends/qt4/GuiKeySymbol.cpp (644): isOK is 1 frontends/qt4/GuiKeySymbol.cpp (652): isModifier is 0 frontends/qt4/GuiApplication.cpp (1710): action first set to [] frontends/qt4/GuiApplication.cpp (1718): action now set to [] frontends/qt4/GuiApplication.cpp (1729): Key [action=][Option-F] Looks like I'm not getting those last two lines: > frontends/qt4/GuiApplication.cpp (1752): isText() is true, inserting. > frontends/qt4/GuiApplication.cpp (1770): SelfInsert arg[`ƒ'] In 2.0.5.1 I get what you get: frontends/qt4/GuiApplication.cpp (1687): KeySym is Alt_R frontends/qt4/GuiKeySymbol.cpp (644): isOK is 1 frontends/qt4/GuiKeySymbol.cpp (652): isModifier is 1 frontends/qt4/GuiWorkArea.cpp (1163): preeditString: commitString: ƒ frontends/qt4/GuiWorkArea.cpp (1046): count: 1 text: ƒ isAutoRepeat: 0 key: 0 keyState: frontends/qt4/GuiKeySymbol.cpp (623): Getting key 0, with text 'ƒ' frontends/qt4/GuiKeySymbol.cpp (629): Setting key to 0, ƒ frontends/qt4/GuiKeySymbol.cpp (644): isOK is 1 frontends/qt4/GuiApplication.cpp (1687): KeySym is ƒ frontends/qt4/GuiKeySymbol.cpp (644): isOK is 1 frontends/qt4/GuiKeySymbol.cpp (652): isModifier is 0 frontends/qt4/GuiApplication.cpp (1710): action first set to [] frontends/qt4/GuiApplication.cpp (1718): action now set to [] frontends/qt4/GuiApplication.cpp (1729): Key [action=][] frontends/qt4/GuiApplication.cpp (1752): isText() is true, inserting. frontends/qt4/GuiApplication.cpp (1770): SelfInsert arg[`ƒ'] -chris