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: Towards a cleaner build Date: Sun, 09 Jun 2019 21:12:30 +0200 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="17996"; 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 Sun Jun 09 21:12:51 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 1ha3FL-0004Z7-32 for ged-emacs-devel@m.gmane.org; Sun, 09 Jun 2019 21:12:51 +0200 Original-Received: from localhost ([::1]:37772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha3FJ-0005r0-Fr for ged-emacs-devel@m.gmane.org; Sun, 09 Jun 2019 15:12:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57569) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha3F7-0005qt-9S for emacs-devel@gnu.org; Sun, 09 Jun 2019 15:12:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ha3F6-0005wP-4I for emacs-devel@gnu.org; Sun, 09 Jun 2019 15:12:37 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:42148) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ha3F5-0005vy-UD for emacs-devel@gnu.org; Sun, 09 Jun 2019 15:12:36 -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 1ha3F0-0006Qp-Mc; Sun, 09 Jun 2019 21:12:33 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX89eny2brdwaJqQCST ZDomFQq3hVLNp3oYgMsHAAACVUlEQVQ4jXXUsXKjMBAGYOxL4taiMK3RZEyfFXZ7k5XxA2AlbcYS UssBg17/Vgic5G6iGRfWp38FiyBJfhrrkbOMc8a5LwrvvfMj/fg+2RhPUMgwMVoaKCVWvk3WuiBo atELTXMAoAEuBBujpeRlqRowoAVoLcwA4iPZ4AQD9A2I3sBZY4+DoITWIPhQHfsejz1SKexBHttk tcvC5vY0DqMsKn8zl1NVyQ+ClO14YS7hcnmXciNeBODvGbypOM8ya8fiMEpjqnaCbLR47YriIAX2 A0pEMZVKdtbWr/KWpTlnLOX84GxMHKx9E/I1szxn22TFaOwnoFYAypc0TSmxJUhnMEeLDQbIWbb/ TGQEZyBgAdrtHXYEDeKJKuUs3X7CQVe2OeO7913OGD2jGbKxrKwu8eoWWC2AttJlWV9mWN0T2shG lVfn/JdS612WSWtKVcpxglUeNt8mmzFj1jZKXe1wHGly3a4meLIuH8xZKVWPLkCyT2awzmuaV5X3 EeLmT3Y6MwThSP0h2MY9HqSsSAzWATqWb5N4578ASCSZC0Bnkt0BhJQxZ72PUESgIxPVTCu69Lls ZwAoVR2yMBUA2CeP4T+or4Nm3pdSpfo+bgTif6gdvR9PAj9L1SKsOHJOQDeIYpqUjprzTN3kC8hK XRtqVXfwvgD1mt9BqrcAjt5Bjqd8SWAArRwtJyjycEjnBE4JS4nYq3sCQyI0qvsGcoFuBv4vxETc o00eYC4VOkufADddFA/dxbkhNcjwvLoF5jZdpYjPyroIj2GWMnH5Xdofv0p/AeFwBBYh7n1LAAAA AElFTkSuQmCC In-Reply-To: (Stefan Monnier's message of "Sun, 09 Jun 2019 14:33:13 -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:237362 Archived-At: Stefan Monnier writes: > Sounds verbose. Furthermore, the `declare` we have in Elisp is > a declaration that relates to the function/macro being defined rather > than to some chunk of code (it has to come together with the docstring > and the interactive spec). It's related to yet different from that of > Common Lisp. Well, the "unused" bit is something that comes up when defining functions, so these things seem tied together... >> We've embraced `declare' for other things, so I think it makes sense >> to do that for `ignore', too. (And perhaps then later mark simple >> `ignore' as obsolete.) > > `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. :-) Somewhere. I looked for the code and couldn't find it... > grep "#'ignore" **/*.el | wc > > gives me more than a hundred reasons not to mark it obsolete ;-) I meant the special construct; not the function... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no