emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: strange key handling on a terminal


From: Stefan Monnier
Subject: Re: strange key handling on a terminal
Date: Fri, 21 Jul 2006 11:14:31 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> I am using xterm-215 that emits escape sequences for some key
> combinations that did not emit any special sequence.

> For example C-. emits "\e[27;5;46~"

> Now if I do:

> emacs -q -nw
> M-: (define-key function-key-map "\e[27;5;46~" [(control ?\.)]) RET
> M-x global-set-key RET C-. RET indent-region RET

Sorry, I missed this second line on first reading.
But also I failed to notice that the first line is incorrect: the XEmacs
syntax [(control ?\.)] is only supported for the second arg of define-key,
not the third.
I'm wondering how it worked in Emacs-21.4.


        Stefan




reply via email to

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