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: Towards a cleaner build Date: Sun, 09 Jun 2019 19:01:04 -0400 Message-ID: References: <83zhn6zkgf.fsf@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="118960"; 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 10 01:02:17 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 1ha6pN-000UrV-1F for ged-emacs-devel@m.gmane.org; Mon, 10 Jun 2019 01:02:17 +0200 Original-Received: from localhost ([::1]:38912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha6pM-0004p5-1R for ged-emacs-devel@m.gmane.org; Sun, 09 Jun 2019 19:02:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46065) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha6on-0004n0-AX for emacs-devel@gnu.org; Sun, 09 Jun 2019 19:01:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ha6oj-0008NY-1s for emacs-devel@gnu.org; Sun, 09 Jun 2019 19:01:41 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:51572) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ha6of-0008DW-C3 for emacs-devel@gnu.org; Sun, 09 Jun 2019 19:01:35 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id DEEC7100A32; Sun, 9 Jun 2019 19:01:06 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id DB51810089B; Sun, 9 Jun 2019 19:01:05 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1560121265; bh=2KULepJYviA3JM8QjKIjS+tpJt1FBD4386qzeWcx2fI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=aTU0a9iQNKUozmzMLisLRD4WdkCO0nHHfBeled5YD70svNFwv7ywYS6EImHeJZsII lnkhU++8h04YUfCHQhrfdznDGpSKOYzpRbz2yz0u2ad0BYP+aBkio6Qr4ua+XPf9FP rWD/RDFLdSc6KrZur0S/D6YC80OJLn/YSYQTjxtLbEokkAGskA5bD7tpdW0IsVkYs6 AzwKNjk8KRfdP5Ae59957PEh2DBQ4wtYlN6tknswraAIMcLrSmv2F9MbxLrNDepb/i l+LHoPy7M1VjzL//0j8GhteMUyba3Hc9snlV8dYHja4F/jZxwUd9YMeHvKtJytuBTS 2YTD3t9nuiaIw== Original-Received: from alfajor (unknown [216.154.16.220]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A92A5120C5C; Sun, 9 Jun 2019 19:01:05 -0400 (EDT) In-Reply-To: (Lars Ingebrigtsen's message of "Sun, 09 Jun 2019 21:12:30 +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:237371 Archived-At: >> `ignore` is a normal function used for various different things. >> The fact that it can be used to silence this warning is just a happy >> coincidence. > > Well, somebody surely has implemented it. :-) Nope. > Somewhere. I looked for the code and couldn't find it... It's because there isn't any. >> grep "#'ignore" **/*.el | wc >> gives me more than a hundred reasons not to mark it obsolete ;-) > I meant the special construct; not the function... There is no special construct: `(ignore X Y Z)` is a normal function call, hence a use of X, Y, and Z. It also happens that `ignore` is later optimized away so it usually has no runtime cost (but that's only true when the code is compiled). Stefan