The culprit is C-\ or toggle-input-method. I used to do this all the time, until I did a describe-key on C-\ while looking for a short unused key sequence I could bind something to.
Suraj On 5/4/05, Britton, Chris <[EMAIL PROTECTED]> wrote: > > > I know this sounds bizarre but... > > ...occasionally, I will be typing along in a Java buffer and notice that my > keyboard language has silently changed from its default of US English to > what I believe is a French keyboard mapping. (The "A" and "Q" keys are > swapped as are the "W" and "Z" keys. The unshifted number keys produce > symbols such as "c" with a cedilla, "e" with an accent, and "a" with a grave > symbol.) The complete new keyboard layout is at the end of the attached > problem report. > > At first, I thought maybe I was inadvertently typing some key sequence that > caused the change. However, each time the problem occurs an emacs lossage > report shows a different key sequence leading up to the language change. > > Sometimes this happens several times per day, and sometimes just once per > week. Resetting to the default language environment, coding system, or > input method seems to have no effect. Neither does setting them explicitly > to English or latin-1. The only way I can restore the default keyboard > layout is to restart emacs. Other currently running Windows applications > are not affected when this problem occurs. > > I've augmented the attached JDEE problem report with a lossage report > (notice the <language-change> event), the new keyboard layout, and the > output of the quail-show-keyboard-layout function. > > Has anyone seen anything like this before? How does one even generate a > <language-change> event? Maybe knowing that will give me a clue as to what > is happening. Could any of the background processes (semantic, ECB) be > doing anything to contribute to this? Any advice on what I should do next? > > I'm running JDE 2.3.5, emacs 21.3.1, Windows XP service pack 2, > cedet-1.0beta3, and ECB 2.31. > > Thanks in advance for any feedback. > > -- > Chris Britton > [EMAIL PROTECTED] > > <<emacskeyboardproblem.zip>> >
