[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13484: 24.3.50; ESC <f10> is undefined
From: |
Andreas Schwab |
Subject: |
bug#13484: 24.3.50; ESC <f10> is undefined |
Date: |
Fri, 18 Jan 2013 11:51:03 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.92 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> But Emacs doesn't think that ESC <f10> is <M-f10>:
>
> ESC <f10> (translated from <escape> <f10>) is undefined
>
> Which AFAIU is the root cause of the problem, or maybe a feature.
bindings.el has this interesting section:
;;; These are dangerous in various situations,
;;; so let's not encourage anyone to use them.
;;;(define-key global-map [C-M-delete] 'backward-kill-sexp)
;;;(define-key global-map [C-M-backspace] 'backward-kill-sexp)
(define-key esc-map [C-delete] 'backward-kill-sexp)
(define-key esc-map [C-backspace] 'backward-kill-sexp)
So it looks like a feature that [M-foo] and ESC [foo] are separate. All
other places where [M-foo] are bound explicitly bind ESC [foo] as well.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
bug#13484: 24.3.50; ESC <f10> is undefined, Juri Linkov, 2013/01/18