GNU bug report logs -
#26626
24.5; doc of `last-command-event' and `last-nonmenu-event'
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Sun, 23 Apr 2017 17:36:02 UTC
Severity: minor
Tags: fixed
Found in version 24.5
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #21 received at 26626 <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> oracle.com> writes:
> There's no such thing as a "command key sequence",
> as opposed, one imagines, to a "non-command key
> sequence".
It's just what you said in the OP: "the key sequence that
invoked/initiated a command".
> I still think that the text for this should borrow
> from what is said for `last-nonmenu-event'. IIUC,
> `last-command-event' is the "last input event read
> as part of a key sequence".
That would be misleading.
(list :last-command-event last-command-event
:last-input-event last-input-event
:last-nonmenu-event last-nonmenu-event
(read-key-sequence "Key seq: ")
:last-command-event last-command-event
:last-input-event last-input-event
:last-nonmenu-event last-nonmenu-event)
; C-x C-e =>
(:last-command-event 5 :last-input-event 5 :last-nonmenu-event 5
"\^C\^C"
:last-command-event 5 :last-input-event 3 :last-nonmenu-event 3)
This bug report was last modified 5 years and 304 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.