emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding xterm-extras to Emacs


From: Leo
Subject: Re: Adding xterm-extras to Emacs
Date: Fri, 12 Oct 2007 08:18:36 +0100
User-agent: Gnus/5.110007 Emacs/23.0.50 (20071010) Fedora 7 (gnu/linux)

On 2007-10-12 02:11 +0100, Stefan Monnier wrote:
>> However, Alt+Ctrl+Right is shown as "<C-M-right>" but not "<C-A-right>"
>> while Alt+Right is shown as "<A-right>" but not <M-right>. You can see
>> they are _INCONSISTENT_.
>
> Can you check C-h l as well to see if Alt+Ctrl+Right sends ESC followed by
> the escape sequence for Ctrl+Right and if Alr+Right does the same.
> If not, then the inconsistency is in xterm and should be reported there
> (after reporting there, we may also decide to workaround the problem in
> Emacs by binding those escape sequences to M-right instead).

Yes, it looks like Alt+Ctrl+Right and Alt+Right send ESC.

Alt+Ctrl+Right  ^[[1;7C
Alt+Right       ^[[1;3C

================================
[ M SPC : = ESC [ M # : = ESC [ M a M B ESC [ M a M
B ESC [ M a M B ESC [ M ` M B ESC [ M ` M B ESC [ M
` M B ESC [ M ` M B ESC [ M ` M B ESC [ M ` M B ESC
[ M ` M B ESC [ M ` M B ESC [ M ` M B ESC [ M SPC 2
& ESC [ M # 2 & n n n n n n ESC [ M SPC @ ; ESC [ M
# @ ; ESC [ M SPC ? = ESC [ M # ? = ESC O B ESC O B
ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC
O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B
ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC
O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B
ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC
O B ESC O B ESC O B h n n n SPC n n n n n n n n n n
n n n n n q RET ESC O B ESC O B ESC O B ESC O B ESC
O A RET C-x 1 C-x b s c r RET C-h k ESC [ 1 ; 7 C C-h
k ESC [ 1 ; 3 C C-h l

>
>
>         Stefan

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

       Use the most powerful email client -- http://gnus.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]