[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26626: 24.5; doc of `last-command-event' and `last-nonmenu-event'
From: |
Drew Adams |
Subject: |
bug#26626: 24.5; doc of `last-command-event' and `last-nonmenu-event' |
Date: |
Fri, 26 Jul 2019 08:46:21 -0700 (PDT) |
> > 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".
Yes, that's still the best way to put it, I think.
> > 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.
You're right. It's the first input event read
as part of a key sequence - not the last such.
The larger point was that it is an input event
read as part of a key sequence. But yes, you're
absolutely right that the text for
`last-nonmenu-event' needs more of a tweak than
the one I gave it.