Subject: bug#48479: 28.0.50; Crash on `read--expression'

From: Mattias Engdegård <[email-masked]>
Date: Tue, 25 May 2021 10:29:18 +0200

Hello Lars,

25 maj 2021 kl. 07.05 skrev Lars Ingebrigtsen <[email-masked]>:

> (condition-case nil
>   (foo)
>  ())
> 
> ?  A warning is nice, but I think signalling an error would be
> excessive.

Why is an error excessive for that syntax mistake, when we signal an error for

 (condition-case
    (do-something)
   (error "failure"))

and

 (condition-case nil
    (do-something)
   error "failure")

? Wouldn't the user be best served with an error in all cases?