Subject: bug#24649: 24.5; Why no standard error for "Trailing garbage following expression"?

From: Drew Adams <[email-masked]>
Date: Sun, 9 Oct 2016 18:03:04 +0000 (UTC)

Shouldn't this error be a standard error?  If not a new standard error,
shouldn't it at least use one of the existing standard errors, such as
`scan-error' or `invalid-read-syntax'?

Otherwise, how to easily handle this error (e.g., to tell the user to
correct the input being read and then read again)?

In GNU Emacs 24.5.1 (i686-pc-mingw32)
 of 2015-04-11 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/usr --host=i686-pc-mingw32'