Subject: bug#8737: 23.2; garbage numbers

From: Stefan Monnier <[email-masked]>
Date: Fri, 27 May 2011 09:47:33 -0300

severity 8737 wishlist
thanks

>  `emacs -Q':

> (defun foo ())

> 12345

> ;;;;;;

> Should some garbage numbers exist in a buffer, Emacs
> evals and compiles that without warning.

> Is that okay?

Why not.  A number is a valid expression that evaluates to itself.
It's true that it's a disappointment that the byte-compiler doesn't warn
"56 evaluated for its side-effect" or something like that, since it does
warn in other cases, but it doesn't seem like a big deal.

        Stefan