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: Re: [Emacs-diffs] master 5e63ea1 5/6: Suppress warning about out-of-tree Java class in cedet Date: Mon, 17 Jun 2019 09:26:47 -0400 Message-ID: References: <20190617102236.20294.96863@vcs0.savannah.gnu.org> <20190617102239.7C2C120B45@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="140326"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 17 15:27:45 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 1hcrff-000aGp-Mx for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2019 15:27:45 +0200 Original-Received: from localhost ([::1]:47516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcrfe-00063O-Ih for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2019 09:27:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56195) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcrey-00062P-RW for emacs-devel@gnu.org; Mon, 17 Jun 2019 09:26:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcrex-0000q1-TT for emacs-devel@gnu.org; Mon, 17 Jun 2019 09:26:56 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:2756) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hcrev-0000mF-3d for emacs-devel@gnu.org; Mon, 17 Jun 2019 09:26:54 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id EEE2D443A1F; Mon, 17 Jun 2019 09:26:49 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D87A2443A1B; Mon, 17 Jun 2019 09:26:48 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1560778008; bh=q2ZgIxsrxXLizaPXArLhmqeJfkAVw9hMSNEEBix4R1o=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=B/es3Lg03MDBJ69UbRtGTOMCwifotmAkzn7kwJhG4N4BobAvnacnv1gu5jjptTEFv 1+PX+V+m+8dPiPcd1MRkQkXOCxHhODf+3n2zaoNmfHDraPh5GJ4dRGnQcMUdE7e3lm rYyKt2+bZDsUQlQv5TCfarUAffySxQVDbzd/oK4VbB3yg54+Jde0siQp8cNhKhBKEQ islXB39DcjoN2v8ZfmAipfMyUVj4AIre5+e8rTlbA5fXKqCnHLLT+enC5QI3+f8SS9 7Vso6kt3fvAiQJd6Vx396iV/2Hmtd7+eiMq5CgD8YpHCcy2quUvSAQHtQtV12hnbWN FwJ8sj0zwmQFg== Original-Received: from alfajor (unknown [157.52.10.58]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8EF1B1208D9; Mon, 17 Jun 2019 09:26:48 -0400 (EDT) In-Reply-To: (Lars Ingebrigtsen's message of "Mon, 17 Jun 2019 14:25:17 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:237783 Archived-At: >>> + (slot-value (ede-config-get-configuration proj) >>> + (intern "classpath" obarray))) >> >> There should be a better way to silence this kind of warning, no? > > Indeed. I wondered about adding a `slot' thing to > `with-suppressed-warnings', but (as discussed elsewhere in that big > thread), that bit isn't in effect when the CLOS machinery is doing its > thing... Maybe just a `(eieio-declare-slots FOO BAR...)` at top-level? Stefan