From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen 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 14:25:17 +0200 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="213024"; 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: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 17 14:43:37 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 1hcqz3-000tKH-7N for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2019 14:43:37 +0200 Original-Received: from localhost ([::1]:47018 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcqz2-0004l3-7b for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2019 08:43:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40040) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcqhX-0001MU-Do for emacs-devel@gnu.org; Mon, 17 Jun 2019 08:25:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcqhW-0003uU-8z for emacs-devel@gnu.org; Mon, 17 Jun 2019 08:25:31 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:39914) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hcqhW-0003iJ-1n for emacs-devel@gnu.org; Mon, 17 Jun 2019 08:25:30 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hcqhJ-0004Yn-M9; Mon, 17 Jun 2019 14:25:19 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUAAACTiZwDAQNDP1gB AAAlEhlH69b2AAACcElEQVQ4jV2TQY4jIQxFUYk+AI1qX03BfsBhjxC9T5n4/leZb5JOj6aiSEle 7G9/2yY8nyRTZFbh1/dgQuJomsXHGDveo4fQ8TJhUj2MscbaFK1tZrQgbDeNQBaqsdN8NIO/tEHF IiKkSTk7j8gYzYqlYlSDanZ4KlOI9gVU/CSa+N3HY1ZeqfoTIJEn5z/bdi5gVKMpQCKf3c1001Tc mC4MMDWP21HyeP5szFYWSHkp4Ht6EXsWNDhPzVUfAOF4AeItGJo1qEdjdP6JmGVpSPbCAnZHCw8l og3OcHnucXq6m2EHQEODA6kicsl0+9B6hnZuJsMrguGXc8TP/ONpCTT4W8KVfahWQoswRKtSd+mk 0/nSmSdpmFZWwtCqKqo96qgneV4SiECDJFLJH/xRJz4qaKYWNCgJbu3NnAQQ/omYcklmjMWhbDbx NxUmm45+kXoTbEWm7QnQ3T3Axz3dUSTbA14xQE0psTr/mW7LwdVm0HlwL18IGPauttuxhqga8t0C wHW01fZyJiyNaPqXDxcHmGLGMnOBBLnEl9snzZtdO6dLLdgyqfWivBPRbWtLYYkfVrKbHhGOHh3+ tnUGhN3AZeSadyzeA2lbeIEHgHeV4CVmakx8AkmohhNBAwMpbSmvCMGDUxDnBZdg3kCSkuSqIyTb Vw8vDY2YmavFQMovwMLhmRKOj4iz+wWYkmARKcWvP7o9bxAyGobr857L2uo3wHLq6UzOkxj+/g9I 6vTlvL1B1GsGqCjB8fWpo1hgrItyrlQJjmfBxo9tgXWDTr3qPnScAW5xpQJYGgBF13BsByLSunO3 AHo8TDRbDwr+Avmbr2OZs//QAAAAAElFTkSuQmCC In-Reply-To: (Stefan Monnier's message of "Mon, 17 Jun 2019 08:18:39 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 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:237781 Archived-At: Stefan Monnier writes: > Hi Lars, > >> + ;; The `classpath' slot only exists in the Java parts of cedet, and >> + ;; those have not been merged into Emacs. Suppress the warning >> + ;; about the unknown slot by using `intern'. >> + (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... If that can be fixed, I can rewrite these instances in cedet. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no