Subject: 23.0.60; C-x RET c FOO C-x C-g signals an error

From: Eli Zaretskii <[email-masked]>
Date: Sun, 19 Oct 2008 17:12:33 +0200

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the [email-masked] mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

  emacs -Q
  C-x RET c utf-8 RET C-x C-g

produces an unexpected error message:

  Wrong type argument: commandp, nil

(What happened here is that I changed my mind after typing the second
C-x and wanted to bail out.  I expected to see "Quit", not an error.)

The problem happens no matter what coding-system you use instead of
utf-8.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
d:/gnu/emacs/etc/DEBUG for instructions.

In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-10-19 on HOME-C4E4A596F7
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1255
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

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

Recent input:
<down> <down> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <C-right> <C-right> <C-right> <C-right> <C-right> 
<C-right> <C-right> <C-right> <C-right> <left> <left> 
<left> <left> <left> r C-x C-s C-x C-x C-g <up> <up> 
<up> <up> <up> <up> <up> <up> <C-left> <C-left> C-r 
C-w C-w C-w C-r C-s C-s <prior> <prior> <next> <prior> 
<next> <next> <prior> <prior> <next> <next> M-x s h 
e l l - c o m m <tab> <return> l s <tab> . e <tab> 
d : / g <tab> n <tab> C-h c <tab> e m <tab> SPC C-g 
M-! l s C-h c <tab> C-g C-h f m i n i b u f f e r - 
c o m p l e t e - s h e <tab> <return> C-x C-x C-g 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <up> <up> <up> <up> C-r 
m i n i b C-g C-x o C-x o C-SPC C-x o <down> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <return> C-g <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <down> <down> <up> <down> <down> <down> <down> 
<down> <down> <down> <down> <C-left> <left> <left> 
C-h v <return> C-M-v C-x o <prior> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <help-echo> <help-echo> <help-echo> 
M-! l s SPC d : / g n <tab> e m a <tab> / l i s <tab> 
<left> <left> <left> <left> <left> <tab> <down-mouse-2> 
<mouse-2> <C-left> <C-left> <C-left> C-SPC <C-right> 
<C-right> <C-right> <C-right> C-g C-x o C-x <return> 
c u t f - 8 <return> C-x C-g <help-echo> M-x r e p 
o r t - e m a <tab> <return>

Recent messages:
Saving file d:/gnu/emacs/lisp/simple.el...
Wrote d:/gnu/emacs/lisp/simple.el
Quit
Mark saved where search started
TAB (translated from <tab>) runs the command minibuffer-complete-shell-command
Quit
TAB (translated from <tab>) runs the command minibuffer-complete-shell-command
Quit [3 times]
Mark set
Quit [2 times]
universal-coding-system-argument: Wrong type argument: commandp, nil