Thanks Eli. It doesn't produce the "undefined" error when emacs -Q. Sorry not test under eamcs -Q before send the false bug. ------------------ Original ------------------ From: "Eli Zaretskii"; Date: Sun, Jul 8, 2018 10:28 PM To: "Shuguang Sun"; Cc: "32092"<32092@debbugs.gnu.org>; Subject: Re: bug#32092: key for keyboard-escape-quit "M-ESC ESC" captured bywindows 7 first > From: "Shuguang Sun" > Date: Sun, 8 Jul 2018 15:28:18 +0800 > Feedback-ID: webmail:qq.com:bgforeign:bgforeign1 > > The keyboard-escape-quit is bound to M-ESC ESC, however, in Windows 7, the "M-ESC" is captured by the > system first. It makes the key binding nosense. Try "C-M-[ ESC" instead. > I aslo tried ESC ESC ESC, and it reported that " ESC is undefined". I cannot reproduce the problem with ESC ESC ESC, it works fine for me with the current master. Can you show a full recipe, starting from "emacs -Q", where it produces the "undefined" error?