From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?Johan_Bockg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master c75eb10: Don't change byte-compile-delete-errors at runtime (Bug#27340) Date: Thu, 29 Jun 2017 21:25:17 +0200 Message-ID: <87r2y28ule.fsf@gnu.org> References: <20170624141528.514.4459@vcs0.savannah.gnu.org> <20170624141530.443C5210EB@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1498764343 26328 195.159.176.226 (29 Jun 2017 19:25:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 29 Jun 2017 19:25:43 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cc: Noam Postavsky , Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 29 21:25:36 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQf4J-0006Uj-Kc for ged-emacs-devel@m.gmane.org; Thu, 29 Jun 2017 21:25:35 +0200 Original-Received: from localhost ([::1]:40927 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQf4O-0003jx-Ta for ged-emacs-devel@m.gmane.org; Thu, 29 Jun 2017 15:25:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQf4H-0003jf-P5 for emacs-devel@gnu.org; Thu, 29 Jun 2017 15:25:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQf4C-0006nH-PC for emacs-devel@gnu.org; Thu, 29 Jun 2017 15:25:33 -0400 Original-Received: from manu26.manufrog.com ([98.142.98.2]:56268) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dQf4C-0006ik-Kx for emacs-devel@gnu.org; Thu, 29 Jun 2017 15:25:28 -0400 Original-Received: from c-5306e555.04-211-6c6b701.cust.bredbandsbolaget.se ([85.229.6.83]:53696 helo=muon.localdomain) by manu26.manufrog.com with esmtpa (Exim 4.89) (envelope-from ) id 1dQf44-003Yss-0e; Thu, 29 Jun 2017 21:25:20 +0200 Original-Received: by muon.localdomain (Postfix, from userid 1000) id 9370448420E; Thu, 29 Jun 2017 21:25:17 +0200 (CEST) In-Reply-To: (Stefan Monnier's message of "Sun, 25 Jun 2017 15:34:56 -0400") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - manu26.manufrog.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gnu.org X-Get-Message-Sender-Via: manu26.manufrog.com: authenticated_id: noreply@tryserumgardar.se X-Authenticated-Sender: manu26.manufrog.com: noreply@tryserumgardar.se X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 98.142.98.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:216048 Archived-At: Stefan Monnier writes: >> Which suggests that declaim's effects are a superset of proclaim's >> effects. But then it also says > [...] >> So I guess we could drop the effects at runtime? > > I agree that it's not really clear, but when you look at the doc of > proclaim and compare it to that of declaim it seems clear what is the > intention: one is meant to be "runtime only" (which is why it evaluates > its argument and is just a normal function) while the other is designed > such that it can be used at compile-time and only affects the > compilation of the current file (although the doc allows the > implementation to be less careful and let the effect "leak"). This is wrong. declaim has run-time effects, just like defvar etc. The compile-time side effect is that it ALSO affects the compilation of the remainder of the current file. http://www.lispworks.com/documentation/HyperSpec/Body/03_bcaa.htm