all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Michael Heerdegen <michael_heerdegen@web.de>, 50898@debbugs.gnu.org
Subject: bug#50898: 28.0.50; with-suppressed-warnings doesn't always work
Date: Wed, 01 Dec 2021 04:31:12 +0100	[thread overview]
Message-ID: <87zgplatmn.fsf@gnus.org> (raw)
In-Reply-To: <jwv7dcp4kl6.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 30 Nov 2021 12:31:01 -0500")

Stefan Monnier <monnier@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





      reply	other threads:[~2021-12-01  3:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-29 18:53 bug#50898: 28.0.50; with-suppressed-warnings doesn't always work Lars Ingebrigtsen
2021-09-30  0:51 ` Michael Heerdegen
2021-11-30 13:38   ` Lars Ingebrigtsen
2021-11-30 13:50     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-30 14:19       ` Lars Ingebrigtsen
2021-11-30 17:31         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-01  3:31           ` Lars Ingebrigtsen [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=87zgplatmn.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=50898@debbugs.gnu.org \
    --cc=michael_heerdegen@web.de \
    --cc=monnier@iro.umontreal.ca \
    /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.