GNU bug report logs -
#1817
last-input-char
Previous Next
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 #15 received at 1817 <at> emacsbugs.donarmstrong.com (full text, mbox):
>> In response to the closed and archived bug#1205:
>
> You can unarchive it, as I did prior to this.
Thanks, I missed the `unarchive' command.
>>> + (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)
>
> It's suprising (to me) that last-input-char might not be a character,
> but just change `char-equal' to `equal'.
The variable name `last-input-char' is confusing.
It holds an input event, not just a character.
But as I see, its alias is `last-input-event'.
And (info "(elisp) Event Input Misc") says:
The alias `last-input-char' exists for compatibility
with Emacs version 18.
So I perhaps the doc string of `last-input-char' should say
that it is an alias for `last-input-event'?
--
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.