From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Most of Elisp lacks lexical-binding: t Date: Sun, 03 Feb 2019 20:36:52 -0500 Message-ID: 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="79651"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 04 02:37:56 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 1gqTCr-000KQE-PI for ged-emacs-devel@m.gmane.org; Mon, 04 Feb 2019 02:37:53 +0100 Original-Received: from localhost ([127.0.0.1]:34466 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqTCk-0000E4-5V for ged-emacs-devel@m.gmane.org; Sun, 03 Feb 2019 20:37:46 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqTC0-0000Dw-O2 for emacs-devel@gnu.org; Sun, 03 Feb 2019 20:37:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqTC0-0007Hm-2Z for emacs-devel@gnu.org; Sun, 03 Feb 2019 20:37:00 -0500 Original-Received: from [195.159.176.226] (port=60786 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gqTBz-0007Gx-R7 for emacs-devel@gnu.org; Sun, 03 Feb 2019 20:37:00 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1gqTBy-000JeU-1P for emacs-devel@gnu.org; Mon, 04 Feb 2019 02:36:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:3BO1T0OVEZLnldIlA7RbzOgYh1U= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 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:232948 Archived-At: > 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. Stefan