GNU bug report logs -
#24649
24.5; Why no standard error for "Trailing garbage following expression"?
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Sun, 9 Oct 2016 18:04:01 UTC
Severity: minor
Tags: fixed, patch
Found in version 24.5
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: drew.adams <at> oracle.com, 24649 <at> debbugs.gnu.org
> Date: Fri, 23 Aug 2019 10:16:04 +0200
>
> >> > + xsignal1 (Qinvalid_read_syntax,
> >> > + build_string ("Trailing garbage following expression"));
> >>
> >> There weren't any comments, so I've now applied this. If somebody has a
> >> better idea for the error signal, please amend.
> >
> > Thanks, but this change needs to be reflected in the ELisp manual,
> > where currently invalid-read-syntax is documented for a different use
> > case.
>
> Let's see... Qargs_out_of_range would be inappropriate... And
> Qwrong_type_argument... Perhaps the closest one of the predefined
> errors would be Qend_of_file?
>
> Or we could have a new one. `garbage-follows-expression'? That's
> pretty explicit.
We don't have to invent a new symbol, we just need to document in
"Standard errors" that this error is also signaled an the situation
described in this bug report.
This bug report was last modified 5 years and 272 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.