all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
Subject: Re: Emacs 21.3, Linux tty:  Meta gets lopped off of C-M-g
Date: Thu, 1 Apr 2004 21:48:09 +0000 (GMT)	[thread overview]
Message-ID: <Pine.LNX.3.96.1040401213231.274C-100000@acm.acm> (raw)
In-Reply-To: <E1B83nq-00055B-KF@fencepost.gnu.org>

On Mon, 29 Mar 2004, Richard Stallman wrote:

> [Alan:]   WHY is it necessary to discard ESC from ESC C-g?

>I don't know, but I don't think Emacs is doing it.
>I think it is Linux.

Apologies.  It is indeed Linux's thing.  When one types C-M-g, the Linux
keyboard driver produces the two character sequence 0x19,0x07, i.e.  ESC
C-g.  Presumably under X, this gets converted into C-M-g before Emacs
sees it.

It would be unreasonable in the extreme to expect Emacs to distinguish
between a user typing ESC followed by C-g, and her typing C-M-g.

I have solved the problem for me personally by remapping my keyboard such
that C-M-g now generates "esc [ 3 > g".  For this, I have a handling
function in the function-key-map.

Many thanks for prodding me to look at this more closely!

-- 
Alan Mackenzie (Munich, Germany)
acm@muc.de

  parent reply	other threads:[~2004-04-01 21:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-27  9:24 Emacs 21.3, Linux tty: Meta gets lopped off of C-M-g Alan Mackenzie
2004-03-28  4:26 ` Richard Stallman
2004-03-28  9:39   ` Alan Mackenzie
2004-03-29 20:56     ` Richard Stallman
2004-03-29 22:41       ` Andreas Schwab
2004-04-01 21:48       ` Alan Mackenzie [this message]
2004-04-04 16:25         ` Richard Stallman

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=Pine.LNX.3.96.1040401213231.274C-100000@acm.acm \
    --to=acm@muc.de \
    /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.