title: displaying recent keystrokes in emacs
body: <p>How do I recover the most recent keystrokes I just typed in Emacs?  I'm a long-time Emacs user (30 years), but every so often I mistype a key sequence, something strange happens, and I want to know what sequence of chars I typed, compared with what I thought I typed.  I know there's a command that shows a couple dozen of the most recent chars I typed, but I can't remember what it is, and I can't seem to find it either.  For example, sometimes in <code>dired-mode</code>, I move the cursor to a file, and I type <code>!</code> to run a command on that file, but I type some other sequence by mistake, and suddenly I see I've selected all files in the <code>dired</code> buffer&mdash;all files are marked with <code>*</code>.  I'm trying to debug my typing in this situation.</p>