GNU bug report logs - #1817
last-input-char

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> jurta.org>

Date: Wed, 7 Jan 2009 18:05:06 UTC

Severity: minor

Merged with 1942

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; C-x RET c RET RET signals an error
Date: Wed, 07 Jan 2009 19:54:55 +0200
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/




This bug report was last modified 16 years and 128 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.