From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Trenouth Newsgroups: gmane.emacs.help Subject: Re: messing up my keyboard (somehow) Date: 16 Dec 2002 11:21:59 +0000 Organization: Global Graphics Software Ltd Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <8ls51h$gqh$1@nnrp1.deja.com> <8m3ker$jap$1@nnrp1.deja.com><8m49n9$3av$1@nnrp1.deja.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040038308 22988 80.91.224.249 (16 Dec 2002 11:31:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Dec 2002 11:31:48 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18NtTO-0005yU-00 for ; Mon, 16 Dec 2002 12:31:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18NtSJ-0006bm-03 for gnu-help-gnu-emacs@m.gmane.org; Mon, 16 Dec 2002 06:30:39 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!itn.cam.harlequin.co.uk!harlqn!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-NNTP-Posting-Host: itn-newsfeeds.cam.harlequin.co.uk Original-X-Trace: itn.cam.harlequin.co.uk 1040038142 13543 192.88.238.156 (16 Dec 2002 11:29:02 GMT) Original-X-Complaints-To: usenet@harlequin.co.uk Original-NNTP-Posting-Date: Mon, 16 Dec 2002 11:29:02 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Cache-Post-Path: itn.cam.harlequin.co.uk!unknown@baloo.cam.harlequin.co.uk X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Original-Xref: shelby.stanford.edu gnu.emacs.help:108159 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4688 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4688 >>>>> "Barney" == Barney Dalton writes: Barney> Not sure if its a bug, or just me typing badly! I found a Barney> way to reset it, which suggests it is a win32 specific Barney> problem executing (w32-set-keyboard-layout '(2057 . 2057)) Barney> solves the problem - its getting set to (1033 . 1033) Barney> somehow. I'm not exactly sure how these numbers relate to Barney> layouts but my guess is they are uk/us. I didn't know Barney> about C-h l - will do that next time it happens. Hi, Since I just found the solution to this old chestnut I thought I'd post it to the thread I found so that others following the same trail find it. Windows NT/2K can have multiple keyboard layouts defined with a hot key sequence to switch between them. The default seems to be Shift-Alt which is obviously a pain for Emacs users as they probably end up switching their keyboard layout backwards and forwards multiple times in every session if they have multiple layouts defined... (BTW the switch seems to be application-specific. Only the current application gets its keyboard switched.) The solution is to: click Start -> Settings -> Regional Options click last tab called "Input Locales" ensure that there is no hot key sequence defined for switching (*) __Jason (*) The exact UI of this bit of the dialog differs between NT and 2K and doubtless has changed again in XP. PS I don't subscribe gnu.emacs.help as a rule so I won't see any further followups unless they happen soon after the submission.