From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help,gmane.emacs.windows Subject: RE: Emacs not receiving C-M-right from keyboard Date: Thu, 23 Aug 2007 17:19:43 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1187914908 7031 80.91.229.12 (24 Aug 2007 00:21:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Aug 2007 00:21:48 +0000 (UTC) To: , "Help-Emacs-Windows" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 24 02:21:45 2007 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 1IOMvi-0000Rr-VD for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Aug 2007 02:21:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOMvi-0007nG-9R for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Aug 2007 20:21:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IOMvT-0007mk-JK for help-gnu-emacs@gnu.org; Thu, 23 Aug 2007 20:21:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IOMvR-0007mM-Sv for help-gnu-emacs@gnu.org; Thu, 23 Aug 2007 20:21:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOMvR-0007mJ-OL; Thu, 23 Aug 2007 20:21:21 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IOMvR-0003Sf-97; Thu, 23 Aug 2007 20:21:21 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id l7O0LI4t026154; Thu, 23 Aug 2007 18:21:18 -0600 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id l7N4hkDs031389; Thu, 23 Aug 2007 18:21:17 -0600 Original-Received: from dhcp-amer-csvpn-gw2-141-144-75-106.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 3154330711187914782; Thu, 23 Aug 2007 17:19:42 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Importance: Normal In-Reply-To: X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-Detected-Kernel: Linux 2.4-2.6 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:46795 gmane.emacs.windows:3734 Archived-At: > > I have a new Dell Latitude D620 laptop. I have everything, > > including Emacs, installed identically to the way I had it > > on my old machine. However, the key sequences `C-M-right', > > `C-M-left', `C-M-up', and `C-M-down' are apparently not > > being sent to Emacs from the keyboard of the new machine. > > [...] I've looked through the Emacs doc. I've tried to > > google for something about this, but I haven't found > > anything. Anyone know what's going on and how to > > fix it? Thanks. > > sounds to me like you shouldn't be looking at emacs for the problem. is > perhaps you window manager hogging the key combo? check for keyboard > shortcuts in your wm's configuration, and see if C-M- is used for > something. I'm not "looking at emacs for the problem". I'm asking Emacs users if they happen to know something about the problem and solution. I should have added that I'm on Windows XP SP2 (same as on the old machine, which has no such problem). I should also add that it is not the physical laptop keyboard that is the problem - I get the same symptoms when I attach an external keyboard to the laptop. (The keyboard listed in Control Panel > Keyboard is "Standard 101/102-Key or Microsoft Natural PS/2 Keyboard - same as on the old machine.) I don't know how to determine whether Windows is somehow co-opting those key sequences, and if it is, I don't know how to prevent that. Suggestions welcome. I might add that C-right, M-right, and C-M-S-right are each sent to Emacs OK. It is only C-M-right (and -left etc.) that is apparently not passed to Emacs. And I can use C-M-S-right in place of C-M-right (as long as C-M-S-right has no separate Emacs binding), because of the automatic Shift key translation. IOW, C-h k C-M-S-right shows this: " (translated from ) runs the command forward-sexp". However, I want to be able to bind C-M-S- separately from C-M- (IOW, use them both). Naturally, no Dell doc came with the machine. And I looked in vain through whatever Windows doc I could find (including about keyboard shortcuts). I've read about Windows FilterKeys, MouseKeys, SerialKeys, StickyKeys, doskeys, and other stuff. I've searched the MS knowlege base. Nothing helped. Anyone have an idea? For starters, how can I see if C-M-right is in fact assigned to something as a Windows shortcut? (It is not a standard Windows shortcut, AFAICT, and nothing happens if I use it.) If it is not, what might cause Emacs not to receive it? All of the C-M- keys have the same problem in Emacs, and none of them do anything outside of Emacs, AFAICT. The keypad arrow keys act the same as the normal arrow keys (except C-M-S-kp-right is not automatically translated to C-M-kp-right, etc.). Thx for any help.