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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Subject: bug#1817: marked as done (last-input-char)
Date: Fri, 09 Jan 2009 03:40:04 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 08 Jan 2009 22:30:17 -0500
with message-id <0fskntb1h2.fsf <at> fencepost.gnu.org>
and subject line Re: bug#1817: 23.0.60; C-x RET c RET RET signals an error
has caused the Emacs bug report #1817,
regarding last-input-char
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


-- 
1817: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1817
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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/


[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 1817-done <at> debbugs.gnu.org
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
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


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.