all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: 8737@debbugs.gnu.org
Subject: bug#8737: 23.2; garbage numbers
Date: Fri, 27 May 2011 09:47:33 -0300	[thread overview]
Message-ID: <jwvboyo9us5.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4DDF516A.8070101@easy-emacs.de> ("Andreas Röhler"'s message of "Fri, 27 May 2011 09:23:22 +0200")

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





      reply	other threads:[~2011-05-27 12:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-27  7:23 bug#8737: 23.2; garbage numbers Andreas Röhler
2011-05-27 12:47 ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvboyo9us5.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=8737@debbugs.gnu.org \
    --cc=andreas.roehler@easy-emacs.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.