Sounds reasonable.  However, in a Java buffer on a freshly started emacs
when I type C-\ I get the message "Can't activate input method
`latin-1-prefix'" in the minibuffer.  When I run list-input-methods, I get
the output:

    No input method is available, perhaps because you have not yet
    installed LEIM (Libraries of Emacs Input Method).

    LEIM is available from the same ftp directory as Emacs.  For instance,
    if there exists an archive file `emacs-M.N.tar.gz', there should also
    be a file `leim-M.N.tar.gz'.  When you extract this file, LEIM files
    are put under the subdirectory `emacs-M.N/leim'.  When you install
    Emacs again, you should be able to use various input methods.

Is it possible that I am somehow enabling input methods without knowing it
so that C-\ is indeed the culprit?

Thanks.

-----Original Message-----
From: Suraj Acharya [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 04, 2005 8:21 PM
To: Britton, Chris
Cc: [email protected]
Subject: Re: Random Keyboard Language Change

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>>
>

Reply via email to