GNU bug report logs - #4837
with-fewer-warnings ?

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Sat, 31 Oct 2009 02:30:05 UTC

Severity: wishlist

Tags: fixed

Fixed in version 27.0

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: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 4837 <at> debbugs.gnu.org, rms <at> gnu.org
Subject: bug#4837: with-fewer-warnings ?
Date: Mon, 09 Nov 2009 21:09:43 -0500
Stefan Monnier wrote:

> Actually, I think I agree (I hate with-no-warnings), but it should be
> even more precise, and specify which obsolete warning to silence.

Do you mean, specify precisely which obsolete variable/function(s) not
to warn about? That's probably doable via
byte-compile-not-obsolete-vars/funcs, I'll have a look.

A syntax like this?

(with-suppressed-warnings
    '((obsolete read-file-name-predicate ...) cl-functions ...)
  body)

Although the motivation for this was not _just_ obsolete warnings, and
it might not be so simple to extend your request to eg specific free
variables.



This bug report was last modified 5 years and 345 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.