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 22:09:19 +0200 Message-ID: <871sq28sk0.fsf@gnu.org> References: <20170624141528.514.4459@vcs0.savannah.gnu.org> <20170624141530.443C5210EB@vcs0.savannah.gnu.org> <87r2y28ule.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1498766982 26358 195.159.176.226 (29 Jun 2017 20:09:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 29 Jun 2017 20:09:42 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cc: Stefan Monnier , Emacs developers To: Noam Postavsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 29 22:09:35 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 1dQfkn-0006JQ-Vk for ged-emacs-devel@m.gmane.org; Thu, 29 Jun 2017 22:09:30 +0200 Original-Received: from localhost ([::1]:41085 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQfkt-0007hw-Aa for ged-emacs-devel@m.gmane.org; Thu, 29 Jun 2017 16:09:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQfkn-0007hf-8Q for emacs-devel@gnu.org; Thu, 29 Jun 2017 16:09:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQfkk-0000tX-Io for emacs-devel@gnu.org; Thu, 29 Jun 2017 16:09:29 -0400 Original-Received: from manu26.manufrog.com ([98.142.98.2]:60910) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dQfkk-0000tF-D4 for emacs-devel@gnu.org; Thu, 29 Jun 2017 16:09:26 -0400 Original-Received: from c-5306e555.04-211-6c6b701.cust.bredbandsbolaget.se ([85.229.6.83]:53846 helo=muon.localdomain) by manu26.manufrog.com with esmtpa (Exim 4.89) (envelope-from ) id 1dQfkf-003hqK-C6; Thu, 29 Jun 2017 22:09:21 +0200 Original-Received: by muon.localdomain (Postfix, from userid 1000) id 8A93548420E; Thu, 29 Jun 2017 22:09:19 +0200 (CEST) In-Reply-To: (Noam Postavsky's message of "Thu, 29 Jun 2017 15:46:46 -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:216050 Archived-At: Noam Postavsky writes: > On Thu, Jun 29, 2017 at 3:25 PM, Johan Bockg=C3=A5rd wr= ote: > >> 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 > > So you don't think this statement allows to omit run-time effects? > > It is not specified whether definitions made available in the > compilation environment are available in the evaluation > environment, nor is it specified whether they are available in > subsequent compilation units or subsequent invocations of the > compiler. No, evaluation environment !=3D run-time environment.(*) The Hyperspec says that: 1. [declaim should] make definitions available both in the compilation and run-time environments. 2. It is not specified whether definitions [...] a) are available in the evaluation environment, b) in subsequent compilation units or subsequent invocations of the compiler. 3. compile-time side effects happen only [..] at top level. (*) evaluation environment n. a [kind of] run-time environment in which macro expanders and code specified by eval-when to be evaluated are evaluated. All evaluations initiated by the compiler take place in the evaluation environment.