Subject: bug#21867: 25.0.50; lossage's log doesn't treat characters read by read-char as separate commands

From: Eli Zaretskii <[email-masked]>
Date: Thu, 01 Aug 2019 21:21:29 +0300

> From: Lars Ingebrigtsen <[email-masked]>
> Date: Thu, 01 Aug 2019 20:05:29 +0200
> Cc: [email-masked]
> 
> > (read-char)
> >
> > Then, with point at the end of that line, type:
> >
> > C-x C-e a C-h l
> >
> > This evaluates the (read-char) sexp which reads the `a` typed, then
> > views lossage.
> >
> > The last lines of lossage are:
> >
> >  C-x C-e [eval-last-sexp]
> >  a C-h l [view-lossage]
> >
> > Note that the log line calling view-lossage also includes "a", the
> > command read by read-char. I would expect the lossage buffer to be
> > something like this:
> >
> >  C-x C-e [eval-last-sexp]
> >  a [char read by read-char]
> >  C-h l [view-lossage]

FWIW, I don't see why 'a' should be treated as a command here.  It
isn't.