From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.devel Subject: Re: Most of Elisp lacks lexical-binding: t Date: Tue, 05 Feb 2019 18:37:55 +1300 Message-ID: References: <15a15e1c-c44b-b978-82f0-7bbb6b1b8ff1@googlemail.com> <20190202145423.GB1067@ACM> <87y36vzrhl.fsf@russet.org.uk> <83zhraud00.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="175287"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Orcon Webmail Cc: phillip.lord@russet.org.uk, Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 05 06:38:40 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 1gqtRQ-000jOG-N5 for ged-emacs-devel@m.gmane.org; Tue, 05 Feb 2019 06:38:40 +0100 Original-Received: from localhost ([127.0.0.1]:54649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqtRP-0004cV-Nk for ged-emacs-devel@m.gmane.org; Tue, 05 Feb 2019 00:38:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqtQq-0004cJ-Kv for emacs-devel@gnu.org; Tue, 05 Feb 2019 00:38:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqtQp-0007KG-RE for emacs-devel@gnu.org; Tue, 05 Feb 2019 00:38:04 -0500 Original-Received: from smtp-4.orcon.net.nz ([60.234.4.59]:40605) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqtQo-0007Gy-Im; Tue, 05 Feb 2019 00:38:02 -0500 Original-Received: from [10.253.37.70] (port=44083 helo=webmail.orcon.net.nz) by smtp-4.orcon.net.nz with esmtpa (Exim 4.86_2) (envelope-from ) id 1gqtQh-0002hW-I2; Tue, 05 Feb 2019 18:37:55 +1300 Original-Received: from wlgwil-nat-office.catalyst.net.nz ([202.78.240.7]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Tue, 05 Feb 2019 18:37:55 +1300 In-Reply-To: <83zhraud00.fsf@gnu.org> X-Sender: psainty@orcon.net.nz X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 60.234.4.59 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:232981 Archived-At: On 2019-02-05 16:31, Eli Zaretskii wrote: > I don't see how we could make this the default before we complete > converting all the Lisp files to lexical binding (or, unlikely, decide > that some of them need to use dynamic binding). It would mean risking > a lot of breakage. And that's not just for Emacs core -- there is a massive quantity of elisp in the ecosystem at large which was not written for lexical binding, and still works absolutely fine in current versions of Emacs. Such libraries might well no longer have a maintainer (but at present not be in any need of one). Releasing a "lexical-binding by default" version of Emacs would surely create a substantial risk of many user's configs failing on them in a variety of ways when they upgrade, and suddenly needing a lot of effort to get working (which for some users will be outside of their skill set). The risk seems rather high to me. I'm not sure the reward would be worth it? (When the reward would seem to be nothing more than library authors being able to omit -*- lexical-binding: t; -*- which, even if it looks untidy, isn't exactly an onerous requirement). -Phil