From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: scratch/accurate-warning-pos: Solid progress: the branch now bootstraps. Date: Wed, 28 Nov 2018 08:28:31 +0200 Message-ID: <83r2f5g1gw.fsf@gnu.org> References: <20181125193050.GH27152@ACM> <2c2ae483-3309-f79d-07a5-30af1f49058b@cs.ucla.edu> <20181125212920.GK27152@ACM> <60ac9dfc-b540-89f9-68ea-ec7cceaa8511@cs.ucla.edu> <83in0kijz0.fsf@gnu.org> <9e216e61-7d95-94f0-cbee-593b4f32ced2@cs.ucla.edu> <20181126184359.GG4030@ACM> <55044caa-18fb-9e9a-81b4-3912f64d0aa4@cs.ucla.edu> <20181127074336.GA4705@ACM> <0ec5806a-0cc6-8b9f-6bc2-97875e36a511@cs.ucla.edu> <20181127211539.GB4705@ACM> <8c38f335-b25d-9ef6-110c-6efc4fda9d67@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1543386420 15848 195.159.176.226 (28 Nov 2018 06:27:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 28 Nov 2018 06:27:00 +0000 (UTC) Cc: michael_heerdegen@web.de, acm@muc.de, cpitclaudel@gmail.com, monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 28 07:26:55 2018 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 1gRtJH-00041O-8Y for ged-emacs-devel@m.gmane.org; Wed, 28 Nov 2018 07:26:55 +0100 Original-Received: from localhost ([::1]:46218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRtLN-00069U-OA for ged-emacs-devel@m.gmane.org; Wed, 28 Nov 2018 01:29:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRtKi-00064V-PQ for emacs-devel@gnu.org; Wed, 28 Nov 2018 01:28:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRtKf-0006Of-KQ for emacs-devel@gnu.org; Wed, 28 Nov 2018 01:28:24 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRtKf-0006Ob-Hi; Wed, 28 Nov 2018 01:28:21 -0500 Original-Received: from [176.228.60.248] (port=4856 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gRtKf-0000p6-5d; Wed, 28 Nov 2018 01:28:21 -0500 In-reply-to: <8c38f335-b25d-9ef6-110c-6efc4fda9d67@cs.ucla.edu> (message from Paul Eggert on Tue, 27 Nov 2018 13:37:29 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:231474 Archived-At: > Cc: Eli Zaretskii , michael_heerdegen@web.de, > cpitclaudel@gmail.com, monnier@IRO.UMontreal.CA, emacs-devel@gnu.org > From: Paul Eggert > Date: Tue, 27 Nov 2018 13:37:29 -0800 > > There's a simpler way to do a double interpreter. Use a compile-time > test to decide whether eq operates slowly. Build two copies of Emacs, > the slow one and the fast one, by compiling the slow one with -DSLOW_EQ > (or whatever). Use the slow Emacs to byte-compile Emacs (and any other > program that wants to be byte-compiled); this will output nicer > diagnostics. Use the fast Emacs for everything else. So end-users will also build 2 binaries, and use the other one to byte-compile their Lisp programs and Emacs Lisp code they've changed?