unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* C-M weirdness when running Emacs within an Xterm
@ 2004-01-04  1:40 Mike Irwin
  2004-01-04  5:49 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Mike Irwin @ 2004-01-04  1:40 UTC (permalink / raw)


When I run Emacs within a Xterm, I'm unable to use any keybindings that use a
C-M combination.  Emacs acts as if it didn't receive the M bit.  Keybindings
that use just C or M work fine, though.  Is this an Emacs or Xterm issue, and
how might I resolve it?
-- 
mdi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: C-M weirdness when running Emacs within an Xterm
  2004-01-04  1:40 C-M weirdness when running Emacs within an Xterm Mike Irwin
@ 2004-01-04  5:49 ` Eli Zaretskii
       [not found] ` <mailman.915.1073199333.868.help-gnu-emacs@gnu.org>
  2004-01-04 13:59 ` Kai Grossjohann
  2 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2004-01-04  5:49 UTC (permalink / raw)


> Newsgroups: gnu.emacs.help
> From: Mike Irwin <mike@faroutfreakyshit.com>
> Date: Sat, 03 Jan 2004 20:40:49 -0500
> 
> When I run Emacs within a Xterm, I'm unable to use any keybindings that use a
> C-M combination.  Emacs acts as if it didn't receive the M bit.  Keybindings
> that use just C or M work fine, though.  Is this an Emacs or Xterm issue

The latter.

> and how might I resolve it?

You probably can't, unless you can modify your keyboard configuration
to produce key codes that distinguish between C-<key> and C-M-<key>.
The way to do that is system-dependent, so please describe your system
in more detail.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: C-M weirdness when running Emacs within an Xterm
       [not found] ` <mailman.915.1073199333.868.help-gnu-emacs@gnu.org>
@ 2004-01-04  7:46   ` Mike Irwin
  2004-01-04  8:55   ` Mike Irwin
  1 sibling, 0 replies; 5+ messages in thread
From: Mike Irwin @ 2004-01-04  7:46 UTC (permalink / raw)


Eli Zaretskii <eliz@elta.co.il> writes:

> You probably can't, unless you can modify your keyboard configuration
> to produce key codes that distinguish between C-<key> and C-M-<key>.
> The way to do that is system-dependent, so please describe your system
> in more detail.

I'm running Emacs 21.3.1, Bash 2.05b, XFree 4.3, Gentoo Linux 1.4, TERM=xterm.
-- 
mdi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: C-M weirdness when running Emacs within an Xterm
       [not found] ` <mailman.915.1073199333.868.help-gnu-emacs@gnu.org>
  2004-01-04  7:46   ` Mike Irwin
@ 2004-01-04  8:55   ` Mike Irwin
  1 sibling, 0 replies; 5+ messages in thread
From: Mike Irwin @ 2004-01-04  8:55 UTC (permalink / raw)


Eli Zaretskii <eliz@elta.co.il> writes:

> You probably can't, unless you can modify your keyboard configuration
> to produce key codes that distinguish between C-<key> and C-M-<key>.
> The way to do that is system-dependent, so please describe your system
> in more detail.

I forgot to mention that the keymap I'm using is a modified us.map in which
I've changed Caps_Lock to send Control.  As for X, here's the relevant parts
of XF86Config:

Option "XkbRules"   "xfree86"
Option "XkbModel"   "hp2505"
Option "XkbLayout"  "en_US"
Option "XkbOptions" "ctrl:nocaps"

I'm using hp2505 since it seems to work well with my Dell Inspiron 8500
notebook.
-- 
mdi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: C-M weirdness when running Emacs within an Xterm
  2004-01-04  1:40 C-M weirdness when running Emacs within an Xterm Mike Irwin
  2004-01-04  5:49 ` Eli Zaretskii
       [not found] ` <mailman.915.1073199333.868.help-gnu-emacs@gnu.org>
@ 2004-01-04 13:59 ` Kai Grossjohann
  2 siblings, 0 replies; 5+ messages in thread
From: Kai Grossjohann @ 2004-01-04 13:59 UTC (permalink / raw)


Mike Irwin <mike@faroutfreakyshit.com> writes:

> When I run Emacs within a Xterm, I'm unable to use any keybindings
> that use a C-M combination.  Emacs acts as if it didn't receive the
> M bit.  Keybindings that use just C or M work fine, though.  Is this
> an Emacs or Xterm issue, and how might I resolve it?

Does this happen for all keys, or just for the non-letter keys?  That
is, does C-M-f work as described?

Like Eli says, it is normal for C-M-<right> and C-M-<f2> to fail.

Kai

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-01-04 13:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-04  1:40 C-M weirdness when running Emacs within an Xterm Mike Irwin
2004-01-04  5:49 ` Eli Zaretskii
     [not found] ` <mailman.915.1073199333.868.help-gnu-emacs@gnu.org>
2004-01-04  7:46   ` Mike Irwin
2004-01-04  8:55   ` Mike Irwin
2004-01-04 13:59 ` Kai Grossjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).