all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: rms@gnu.org
Cc: 4837@emacsbugs.donarmstrong.com
Subject: bug#4837: with-fewer-warnings ?
Date: Mon, 09 Nov 2009 03:45:24 -0500	[thread overview]
Message-ID: <gvvdhk9jdn.fsf@fencepost.gnu.org> (raw)
In-Reply-To: E1N4QDv-0008N3-Af@fencepost.gnu.org

Richard Stallman wrote:

> I think it isn't worth doing,

(I'd already done it, locally, before posting.)

> because it would only gain you very much if you put a lot of code
> inside with-no-warnings; we avoid doing that.

Perhaps because it is such a blunt instrument. This would make it a
bit less blunt. I don't claim this is important, but it is easy to
implement.

Example usage:

In the _implementation_ of an obsolete feature, it's ok to use an
obsolete variable and there is no need to be warned about it being
obsolete. However, you should still be warned about the variable not
being defined, in case you remove it altogether but forget to update
the code that uses it.






  reply	other threads:[~2009-11-09  8:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-31  2:25 bug#4837: with-fewer-warnings ? Glenn Morris
2009-10-31  8:49 ` Eli Zaretskii
2009-11-01  2:31 ` Richard Stallman
2009-11-09  8:45   ` Glenn Morris [this message]
2009-11-09 14:38     ` Stefan Monnier
2009-11-10  2:09       ` Glenn Morris
2009-11-10 17:58         ` Stefan Monnier
2019-06-12 14:55 ` Lars Ingebrigtsen
2019-06-12 16:13   ` Glenn Morris

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=gvvdhk9jdn.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=4837@emacsbugs.donarmstrong.com \
    --cc=rms@gnu.org \
    /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.