On Feb 5, 2012, at 7:16 PM, Jens Nöckel wrote: > Hi, > I just noticed a weird bug on Mac OS C with LyX 2.02. First I couldn't > reproduce it, but now I think I have a recipe, and hopefully someone can > confirm it. In some cases, the _sequence_ of Control-x and Control-s that > emacs keybindings reserve for saving a document doesn't work. Instead, only > the _last_ of the two (Control-s) is apparently captured and leads to the > opening of the search dialog because the emacs keybinding for search is > Control-s. > > You probably don't have to do steps 1) - 4), but I did these steps very > recently. > > 1) > Move ~/Library/Application Support/LyX-2.0 to the Desktop. > > 2) > Fresh download of > LyX-2.0.2+qt4-cocoa.dmg > from www.lyx.org > > 3) > Move old LyX out of Application folder > > 4) > Install downloaded LyX and launch it > > 5) > In Preferences, I then chose the xemacs bind file, and checked the box "Do > not swap Apple and Control Keys" > > 6) > Open a new document and type "Hello" or something like that, then save it. To > save it with keyboard shortcuts, > > 7) > Open the LyX User's Guide (or another document) from the Help menu (that took > me some time to figure out). It opens in a tab. > > 8) > Go back to the first document, make some changes and try to save using the > emacs keybinding Control-x Control-s. Now instead of saving, LyX opens the > search dialog. This behavior doesn't go away if I close the User' Guide > again. I have to restart LyX to recover. > > This problem _doesn't_ appear when I open two of my own documents, either in > separate windows or tabs. It on;y seems to appear when I also open Help > documents! > > Jens > > >
In point 6), I meant to say that the emacs shortcuts can be used without problems. In fact, all it takes for the bug to appear is that I open a help document and immediately close it again.