[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-<function-key> vs. ESC <function-key>
From: |
Miles Bader |
Subject: |
Re: M-<function-key> vs. ESC <function-key> |
Date: |
Fri, 07 Jan 2005 15:36:35 +0900 |
Richard Stallman <address@hidden> writes:
> > More specifically, when I type Meta-left at Emacs running in
> > xterm it receives the key sequence [?\e ?\e ?O ?D], which
> > gets translated to [?\e left] through function-key-map.
>
> In which way? What is the expected behaviour?
>
> That Meta-left turns into ESC left is strange.
What other character-sequence should xterm send? I guess it can set the
high bit for meta-fied single-character keys, but it's a bit unclear
what it should do for keys that send escape sequences, so prepending an
ESC seems as good as anything...
Maybe emacs ought to directly handle such "ESC ESC ..." sequences as
independent function key bindings, since it really seems like that's
what they are; e.g., add the translation ("ESC ESC O D" -> [\M-left]) to
function-key-map.
-Miles
--
We are all lying in the gutter, but some of us are looking at the stars.
-Oscar Wilde
- M-<function-key> vs. ESC <function-key>, Andreas Schwab, 2005/01/03
- Re: M-<function-key> vs. ESC <function-key>, Richard Stallman, 2005/01/03
- Re: M-<function-key> vs. ESC <function-key>, Lennart Borgman, 2005/01/04
- Re: M-<function-key> vs. ESC <function-key>, Andreas Schwab, 2005/01/04
- Re: M-<function-key> vs. ESC <function-key>, Richard Stallman, 2005/01/04
- Re: M-<function-key> vs. ESC <function-key>, Andreas Schwab, 2005/01/05
- Re: M-<function-key> vs. ESC <function-key>, Richard Stallman, 2005/01/06
- Re: M-<function-key> vs. ESC <function-key>, Andreas Schwab, 2005/01/06
- Re: M-<function-key> vs. ESC <function-key>, Richard Stallman, 2005/01/06
- Re: M-<function-key> vs. ESC <function-key>,
Miles Bader <=
- Re: M-<function-key> vs. ESC <function-key>, Andreas Schwab, 2005/01/07
- Re: M-<function-key> vs. ESC <function-key>, David Kastrup, 2005/01/06
- Re: M-<function-key> vs. ESC <function-key>, Stefan Monnier, 2005/01/06
- Re: M-<function-key> vs. ESC <function-key>, David Kastrup, 2005/01/06
- Re: M-<function-key> vs. ESC <function-key>, Stefan Monnier, 2005/01/06
- Re: M-<function-key> vs. ESC <function-key>, David Kastrup, 2005/01/06