Stefan Monnier <[EMAIL PROTECTED]> writes: > > 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 wasn't aware that [(control ?\.)] was XEmacs syntax, I just copied it from flyspell.el ... What is the emacs way to bind C-. ? (kbd "C-.") ? It seems that using (kbd "C-.") works in my example. I'll fix xterm.el, it uses [(control ?\.)]. > I'm wondering how it worked in Emacs-21.4. I am not sure, I cannot reproduce it anymore, not sure what I did the first time... _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
