Subject: bug#39291: M-: history doesn't store erroneous input

From: Federico Tedin <[email-masked]>
Date: Wed, 29 Jan 2020 19:09:38 +0100

On Wed, 29 Jan 2020 at 18:16 Eli Zaretskii <[email-masked]> wrote:

> > From: Juri Linkov <[email-masked]>
> > Date: Wed, 29 Jan 2020 01:35:33 +0200
> > Cc: [email-masked]
> >
> > > M-: (oops-i-forgot-to-type-the-closing-paren RET
> > > => End of file during parsing
> > >
> > > Error itself is fine, but the problem is if you now
> > > type M-: again, you won't find your input in the
> > > history and have to retype everything from scratch
> > > instead of just fixing the typo.
> > >
> > > This is a regression in trunk compared at least to
> > > 26.3.
> >
> > This was changed by
> > http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9042ece787c
> > via https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38317#23
> > and https://lists.gnu.org/archive/html/emacs-devel/2019-12/msg00241.html
>
> Federico, please look into fixing this regression.
>
> TIA

Thanks for letting me know, I will take a look at it.