--- Begin Message ---
Subject: |
23.0.60; C-x RET c RET RET signals an error |
Date: |
Wed, 07 Jan 2009 19:54:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) |
In response to the closed and archived bug#1205:
>> C-x RET c utf-8 RET C-x C-g
>> produces an unexpected error message:
>> Wrong type argument: commandp, nil
>
> Perhaps this:
> *** mule-cmds.el 5 Oct 2008 19:07:03 -0000 1.341
> --- mule-cmds.el 21 Oct 2008 02:52:14 -0000
> ***************
> *** 287,292 ****
> --- 287,295 ----
> (cmd (key-binding keyseq))
> prefix)
>
> + (if (char-equal last-input-char ?\C-g)
> + (keyboard-quit))
> +
I just noticed that this fix in `universal-coding-system-argument'
causes another bug. It fails with the key sequence `C-x RET c RET RET'
that signals an error:
Debugger entered--Lisp error: (wrong-type-argument characterp return)
char-equal(return 7)
universal-coding-system-argument(utf-8-unix)
call-interactively(universal-coding-system-argument nil nil)
In GNU Emacs 23.0.60 (x86_64-pc-linux-gnu) of 2009-01-06
--
Juri Linkov
http://www.jurta.org/emacs/
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#1817: 23.0.60; C-x RET c RET RET signals an error |
Date: |
Thu, 08 Jan 2009 22:30:17 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Stefan Monnier wrote:
> That would be good, yes: Remove last-input-char from the C code, and
> define it in subr.el via define-obsolete-variable-alias.
>
>> last-command-char looks similar.
>
> Then please fix it similarly.
done & done
--- End Message ---