"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
Stepan Nemec writes:
> "Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
> > Stepan Nemec writes:
> > > could please someone explain to me how I can bind the ESC key in
> > > XEmacs?
> > (setq meta-prefix-char -1) might help. See the C-h v doc for that
> > variable. I don't do this myself so no promises here ....
> Yeah, it didn't help. (And FWIW, in GNU Emacs rebinding ESC works even
> with `meta-prefix-char' set to the default `27'.)
Sure, but GNU Emacs keymaps are known to be buggy with respect to C-g
at least. I wouldn't be surprised if the same issues affect ESC.
Hm. I'm not sure what bugs you mean. Could you be more specific?
What exactly are you doing and what is happening? It works for me,
(define-key global-map 'escape (lambda () (interactive) (message "It
(setq meta-prefix-char -1)
Yes, this actually works with `xemacs -q', so the problem is in my
config (I'm sorry, the config I was testing with was very minimal, so it
didn't occur to me that could be the problem at first).
Thank you very much.
XEmacs-Beta mailing list