From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: caps lock confusion Date: Fri, 20 Mar 2009 11:13:34 -0700 Message-ID: <002301c9a987$9586d350$0200a8c0@us.oracle.com> References: <87mybgm73k.fsf@galatea.local> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1237572872 508 80.91.229.12 (20 Mar 2009 18:14:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Mar 2009 18:14:32 +0000 (UTC) To: "'Pascal J. Bourguignon'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 20 19:15:49 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LkjFs-0006KD-1E for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Mar 2009 19:15:40 +0100 Original-Received: from localhost ([127.0.0.1]:50331 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkjEV-0001Ou-C2 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Mar 2009 14:14:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkjE0-0001KQ-09 for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 14:13:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkjDt-0001IG-U4 for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 14:13:43 -0400 Original-Received: from [199.232.76.173] (port=39904 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkjDt-0001I7-Ka for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 14:13:37 -0400 Original-Received: from rcsinet13.oracle.com ([148.87.113.125]:63501 helo=rgminet13.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LkjDt-00020Y-83 for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 14:13:37 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n2KIEnQb021975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 20 Mar 2009 18:14:50 GMT Original-Received: from acsmt705.oracle.com (acsmt705.oracle.com [141.146.40.83]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n2KIDZIj006837; Fri, 20 Mar 2009 18:13:37 GMT Original-Received: from dradamslap1 (/141.144.83.134) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 20 Mar 2009 11:13:30 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcmpgwGinxgaTb5uSn6qXUSdQ25IMwAA6jYg In-Reply-To: <87mybgm73k.fsf@galatea.local> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt705.oracle.com [141.146.40.83] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.49C3DCCC.0181:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63138 Archived-At: > From: Pascal J. Bourguignon Sent: Friday, March 20, 2009 10:34 AM > kj writes: > > > I have had this problem occur to me about half a dozen times in > > the last two weeks (I don't know why, this had never happened > > before): Emacs suddenly starts interpreting my keystrokes as if > > the caps lock key had been pressed (all caps, etc.), except it > > hasn't been; and if I do press the caps lock key, then Emacs will > > interpret my keystrokes in the opposite way, as if the caps lock > > were off. > > > > My caps lock key appears to be in perfect order. It has a little > > light that indicates when it is on. And the behaviors of all other > > applications are consistent with this indicator. Emacs is the only > > one whose behavior is backwards. > > > > In the past, the only way I have found to solve this problem is to > > kill and restart Emacs, which I find terribly disruptive. > > > > Is there some other way to reset Emacs? > > > > Also, any tips that would help me troubleshoot this problem would > > be greatly appreciated! > > Perhaps you activated caps-mode? > It would be surprizing since AFAIK, it's not a bundled mode, > and there's no shortcut binding to activate it. > Try: M-x caps-mode RET to toggle it. FWIW - I had a similar problem, with a Dell Latitude laptop (D610, if I remember right). But it affected all apps, not only Emacs. Dell replaced the onboard keyboard (even though I had the same problem with an external keyboard) and the motherboard, but that didn't help. Eventually, Dell replaced the entire laptop (with a D620), and that took care of it. Dunno if your problem is related (probably not, if other apps are not affected). If it is, contact Dell. (Googling will also show similar problems reported for some other laptops, including some IBM models.) Also, try hitting just the Shift key several times in succession - sometimes that can unblock the problem. (And be sure sticky keys is turned off.) HTH.