From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: esup byte compile warnings Date: Fri, 24 Jan 2020 16:55:06 -0500 Message-ID: References: <15aa1d01-dcff-34c0-0232-141edf1b3739@protonmail.ch> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="14255"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: GNU Emacs Developers To: Serghei Iakovlev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 24 22:56:02 2020 Return-path: Envelope-to: ged-emacs-devel@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 1iv6vp-0003dC-En for ged-emacs-devel@m.gmane-mx.org; Fri, 24 Jan 2020 22:56:01 +0100 Original-Received: from localhost ([::1]:48478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iv6vo-0001Qt-Ji for ged-emacs-devel@m.gmane-mx.org; Fri, 24 Jan 2020 16:56:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47726) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iv6v7-0000zZ-I9 for emacs-devel@gnu.org; Fri, 24 Jan 2020 16:55:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iv6v5-0001Kr-U1 for emacs-devel@gnu.org; Fri, 24 Jan 2020 16:55:16 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:40491) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iv6v5-0001GU-FX for emacs-devel@gnu.org; Fri, 24 Jan 2020 16:55:15 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id ED153440998; Fri, 24 Jan 2020 16:55:13 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 7C695440995; Fri, 24 Jan 2020 16:55:08 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1579902908; bh=NBBCrD4SDOwpFvw5G/YyrpZON13cGX2tcRWtN+4imx8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=OaNHhPmF8UHAGr+q0L3BJU7v0vd4wfc007Z/UTBjgyCunMbcVaGRVvwsy7Eu+k31r cmuEctdFzeorMB0FwivDdKQwt9zelNBHm1bBj5n5unDPBz2LKw752YOAs8OamHcVb3 TYhKy8pJYxgCjeGTmg4Cb0RtpH4bWPkv0kNNdxhxGIWFxUaPNfTwfMnKOvRij7aXne fIqwy7DsUmvJ9H5Y/B503EczDbJZFtjgxNmLRIluhfFTVHifhY/nt/jO9mQ+QrraTr FYaWfTZoSrb79XTDQ1yq49VGQfYhGZsliKiP5z+9It7J0cM+iXq9x3z7gol5pt93lG 3Ekjqv79Fvdgw== Original-Received: from pastel (69-196-141-61.dsl.teksavvy.com [69.196.141.61]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 380A0121105; Fri, 24 Jan 2020 16:55:08 -0500 (EST) In-Reply-To: <15aa1d01-dcff-34c0-0232-141edf1b3739@protonmail.ch> (Serghei Iakovlev's message of "Fri, 24 Jan 2020 20:48:00 +0000") 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:244589 Archived-At: > There are `esup' [1] byte compile warnings I would like avoid to. > Some of them seems trivial to me. However, I don't quite understand > slots related warnings. The the slots, usually it's just that code that uses EIEIO seems to misuse a weird feature of EIEIO, so they use the initval keyword instead of the slot name when accessing the slot. For example, often code will do (slot-value x :file) where the slot's name is not `:file` but `file`, so the correct usage is (slot-value x 'file) This odd usage does work for historical reasons but is deprecated, hence the warning. Stefan