From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#50898: 28.0.50; with-suppressed-warnings doesn't always work Date: Wed, 29 Sep 2021 20:53:41 +0200 Message-ID: <87r1d76wne.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6363"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca To: 50898@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 29 20:54:28 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mVeio-0001SY-Ck for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Sep 2021 20:54:26 +0200 Original-Received: from localhost ([::1]:33864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVein-0003F8-8V for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Sep 2021 14:54:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVeiQ-0003Eq-9s for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2021 14:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38688) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVeiP-0006gy-VS for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2021 14:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVeiP-0001SC-Tl for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2021 14:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Sep 2021 18:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50898 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16329416385576 (code B ref -1); Wed, 29 Sep 2021 18:54:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Sep 2021 18:53:58 +0000 Original-Received: from localhost ([127.0.0.1]:50234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVeiL-0001Rp-Jq for submit@debbugs.gnu.org; Wed, 29 Sep 2021 14:53:58 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:37264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVeiH-0001Re-RK for submit@debbugs.gnu.org; Wed, 29 Sep 2021 14:53:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVeiH-0003Ee-Iu for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2021 14:53:53 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:50660) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVeiF-0006Zm-Tu for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2021 14:53:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=xd3FljrzVXLK/w44JKJD1zzCdNDlIpTwwr+8XNbEukQ=; b=Qwd23CBHTZqpLUxCTiGx8+L63J ndL23qL1QJ4yPGqCTN2tBVb8UW6oaGSRAvDFlW91jybYpjQK+tjCQKdqW9MbZq+HkP8z3pNQh5s1H E4LDQLrBmSZRQfgHgB5aY5LztPxihdEyeBvU6haL3kxmyaU4pEyePxw9BONfgsm4ouT4=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mVei9-0004AK-F0; Wed, 29 Sep 2021 20:53:48 +0200 X-Now-Playing: The Notwist's _The Devil, You + Me_: "Gravity" Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:215903 Archived-At: For some time now, the only compilation warning in Emacs has been: In toplevel form: cedet/semantic/bovine/el.el:931:1: Warning: =E2=80=98define-child-mode=E2= =80=99 is an obsolete macro (as of 27.1); use =E2=80=98define-derived-mode=E2=80=99 instead. (It appears in two places.) But I've forgotten to look into it. This warning is supposed to be suppressed: (with-suppressed-warnings ((obsolete define-child-mode)) ;; FIXME: We should handle this some other way! (define-child-mode lisp-mode emacs-lisp-mode "Make `lisp-mode' inherit mode local behavior from `emacs-lisp-mode'.")) And this suppression did work at some point, I think? But it's not working any more. I haven't tried to debug it (or bisect it) yet, but perhaps it's obvious to somebody what change may have triggered this? My uninformed guess might be something to do with... macros and when they are expanded? I've added Stefan M to the CCs. In GNU Emacs 28.0.50 (build 23, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, = cairo version 1.16.0) of 2021-09-26 built on elva Repository revision: 43ae8c828d853382bbc2a27b9e14b9fff6ba18b6 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no