all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <help-gnu-emacs@gnu.org>,
	"Help-Emacs-Windows" <help-emacs-windows@gnu.org>
Subject: RE: Emacs not receiving C-M-right from keyboard
Date: Thu, 23 Aug 2007 17:19:43 -0700	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICCEPFDOAA.drew.adams@oracle.com> (raw)
In-Reply-To: <slrnfcs0am.cdg.joostkremers@j.kremers4.news.arnhem.chello.nl>

> > 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-<cursor> 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: "<C-M-right> (translated from
<C-M-S-right>) 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-<arrow> 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.

  reply	other threads:[~2007-08-24  0:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5223.1187905039.32220.help-gnu-emacs@gnu.org>
2007-08-23 21:52 ` Emacs not receiving C-M-right from keyboard Joost Kremers
2007-08-24  0:19   ` Drew Adams [this message]
2007-08-24  1:22 ` Tim X
2007-08-24  2:50   ` Drew Adams
2007-08-24 16:48     ` Sean Sieger
2007-08-24 17:25       ` Drew Adams
     [not found] <mailman.5235.1187923876.32220.help-gnu-emacs@gnu.org>
2007-08-24  5:39 ` Tim X
2007-08-24 13:54   ` Drew Adams
2007-08-24 17:37     ` Sean Sieger
2007-08-24 17:46     ` Eli Zaretskii
2007-08-23 21:35 Drew Adams
2007-08-25  6:39 ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DNEMKBNJBGPAOPIJOOICCEPFDOAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-emacs-windows@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.