Subject: 24.3.92; C-[ does not work as ESC in viper-mode

From: iquiw <[email-masked]>
Date: Sun, 3 Aug 2014 21:43:44 +0900

The following steps reproduce the problem.

1. Run "emacs -Q".
2. Type "M-x viper" to enable viper-mode.
3. Type "i" to enter viper insert mode.
4. Type "C-[".

On Emacs 24.3, it exits from viper insert mode as well as ESC key does.
On Emacs 24.3.92, it displays "ESC-" in minibuffer and does not exit
from viper insert mode.

Ref. http://lists.gnu.org/archive/html/help-gnu-emacs/2014-07/msg00539.html

In GNU Emacs 24.3.92.1 (i686-pc-mingw32)
 of 2014-06-27 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'

Important settings:
  value of $LANG: JPN
  locale-coding-system: cp932

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x v i p e r <return> n 5 n i ESC C-g <escape> M-x
r e p o r t - e m a c s - b u g <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading viper...
Inhibit Viper startup message? (y or n) n
The last message is in buffer `Viper Startup Message'
Do you wish to make this change permanent? (y or n) n
Loading viper...done
C-M-g is undefined

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils viper viper-ex viper-macs viper-mous
viper-cmd viper-keym ring viper-util viper-init advice help-fns
time-date japan-util tooltip electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win
w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp
files text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
w32notify w32 multi-tty emacs)

Memory information:
((conses 8 86796 5253)
 (symbols 32 18900 0)
 (miscs 32 67 93)
 (strings 16 14303 3778)
 (string-bytes 1 380276)
 (vectors 8 11981)
 (vector-slots 4 482985 3024)
 (floats 8 69 98)
 (intervals 28 203 9)
 (buffers 508 15))