From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: with-suppressed-warnings ineffective? Date: Tue, 19 Nov 2019 09:50:04 -0500 Message-ID: References: <20191025030629.28499.81989@vcs0.savannah.gnu.org> <20191025030630.EF0EA20C1E@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="58118"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Stefan Kangas , Emacs developers To: larsi@gnus.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 19 15:51:02 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iX4qH-000EuK-HA for ged-emacs-devel@m.gmane.org; Tue, 19 Nov 2019 15:50:57 +0100 Original-Received: from localhost ([::1]:46266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX4qG-0005eT-Cn for ged-emacs-devel@m.gmane.org; Tue, 19 Nov 2019 09:50:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46773) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX4pc-0005cA-Hj for emacs-devel@gnu.org; Tue, 19 Nov 2019 09:50:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iX4pa-0007to-RF for emacs-devel@gnu.org; Tue, 19 Nov 2019 09:50:15 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:37179) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iX4pa-0007ti-J9 for emacs-devel@gnu.org; Tue, 19 Nov 2019 09:50:14 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8410910028B; Tue, 19 Nov 2019 09:50:13 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 2F42D1000F2; Tue, 19 Nov 2019 09:50:12 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1574175012; bh=CfIcfDUaEukvHG7Hg775vdTc4IxmThHTQMrlyX8MG6c=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=hGQYN3BEH0EXeHTHj3m/wpXDZCAYtaAb4lQ2GPIn0SFnmXxnxBgiGmOlTKDrLXRHc Wsb5pSoxe78v4ajPN+OY67rpxtvQ3PBeveKxexfi3d41cTpgacn0vAFDOnCxz0TQSo mZWtTSpX+9ZNmwbMAMfAfjtkDqvM0Se1LUNh0B5uN+EBWIqrL1xHdnppoMlwO0Sjas ktQCno3i3ph6s9uC6P16wKL3EISlgH4wvODa05iJjS/ms+4ZCVoLOlmsAA14MPSVH2 nsK+3C9lxA8gEaxOSHxKtMgees/4Y7YPYenJJzeTuOSxof6mTT67zo+o1mFhmIExv4 y9sk5PnNk5pUg== Original-Received: from alfajor (unknown [216.154.18.30]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id E95D9120E81; Tue, 19 Nov 2019 09:50:11 -0500 (EST) In-Reply-To: (Stefan Kangas's message of "Mon, 18 Nov 2019 16:07:45 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:242430 Archived-At: Hi Lars, Another brilliant Stefan pointed out that we have undesired warnings: ELC cedet/semantic/bovine/c.elc =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. ELC cedet/semantic/bovine/el.elc =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. [ Not sure if the file names are right above. ] AFAICT these come from (with-suppressed-warnings ((obsolete define-child-mode)) ;; FIXME: We should handle this some other way! (define-child-mode c++-mode c-mode "`c++-mode' uses the same parser as `c-mode'.")) and (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= '.")) Any idea why the `with-suppressed-warnings` doesn't actually suppress the warning? Any hope you could fix it? Stefan