From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: Most of Elisp lacks lexical-binding: t Date: Mon, 04 Feb 2019 12:07:50 +0000 Message-ID: <87y36vzrhl.fsf@russet.org.uk> References: <15a15e1c-c44b-b978-82f0-7bbb6b1b8ff1@googlemail.com> <20190202145423.GB1067@ACM> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="57383"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 04 13:09:00 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gqd3b-000EoA-VK for ged-emacs-devel@m.gmane.org; Mon, 04 Feb 2019 13:09:00 +0100 Original-Received: from localhost ([127.0.0.1]:41546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqd3a-00071B-Vg for ged-emacs-devel@m.gmane.org; Mon, 04 Feb 2019 07:08:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqd2q-0006jY-Eh for emacs-devel@gnu.org; Mon, 04 Feb 2019 07:08:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqd2o-0005BC-Tc for emacs-devel@gnu.org; Mon, 04 Feb 2019 07:08:11 -0500 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:33906) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gqd2m-0004zG-OB for emacs-devel@gnu.org; Mon, 04 Feb 2019 07:08:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=amrjeLmCJZztuBGx+MYvonDz4T/x6JCrpnww2qRWCn8=; b=lDNz9Bk4h9jILlVtFBly1jpw/ nsJ6RKOujnXiTD/9QaBpRrWqZ6o++YZUTen+Ury62o5FY9kOSgi6Y0ncRRg9Ey013JkWiWiMKCMkQ XOwQQMu9X0YV2pRHGZ+2TAyv6I3g3yfNkrzpr378Xcm37gKlxgLCgOLvPmqP+RiPdu2hPjxR9DKMj rFxo1ER8zfFXXWFuWTo6rLzFN1r5GLnJQPLeRFJxlmVcR98YsRJSq/IgMPuwV1eeK8qd9ZC1wDeT0 Ez+JL+lkLUEKCjTsl+OYfW3TDBm4k6qflNHgSMUujFjb2MDdpvSdu+tQ/c/wtSrFoSs0qC3xZeBjP KrA2joknA==; Original-Received: from janus-nat-128-240-225-124.ncl.ac.uk ([128.240.225.124]:32721 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1gqd2V-0008W0-Da; Mon, 04 Feb 2019 12:07:51 +0000 In-Reply-To: (Stefan Monnier's message of "Sun, 03 Feb 2019 20:36:52 -0500") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 78.129.138.110 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:232958 Archived-At: Stefan Monnier writes: >> My feeling is that most files could just be changed without problems, >> but there will be enough exceptions that it needs to be done carefully. > > FWIW, my local Emacs build is hacked so that it always compiles with > lexical-binding enabled. In practice, it seems that most packages work > just fine with it, but there are indeed very definite exceptions, and > even for those packages that appear to work, the change may introduce > subtle regressions. > > So, yes, it has to be done "by hand" and takes time. Help is > most welcome. The best is to do it with the packages that you use, so > you can more easily test the result. The question is, though, at what point does it become the default? One answer would be, support a "dynamic-binding" cookie line for Emacs-27 (which does nothing by default), incorporate your lexical-binding hack as an option. Then, go to lexical by default for Emacs-28. Phil