GNU bug report logs - #50898
28.0.50; with-suppressed-warnings doesn't always work

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Wed, 29 Sep 2021 18:54:01 UTC

Severity: normal

Merged with 50984

Found in versions 28.0.50, 28.0.60

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #27 received at 50898 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>, 50898 <at> debbugs.gnu.org
Subject: Re: bug#50898: 28.0.50; with-suppressed-warnings doesn't always work
Date: Wed, 01 Dec 2021 04:31:12 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> In what cases does that happen?  I tried both an incremental and
>> a bootstrap build.
>
>     emacs -Q
>     (with-suppressed-warnings ((obsolete foo)) (define-child-mode
> sm-foo c-mode "hello"))
>     C-j

Right.  But instead of duplicating the logic, autoloading
byte-compile-warning-enabled-p would fix that problem.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 225 days ago.

Previous Next


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