From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Brian Leung via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#44188: [PATCH] Use lexical binding for several Elisp files Date: Sat, 24 Oct 2020 01:23:36 +0200 (CEST) Message-ID: <930162507.128721.1603495416517@ichabod.co-bxl> References: <649664717.128563.1603494942107@ichabod.co-bxl> Reply-To: Brian Leung , Brian Leung Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_128707_1402095513.1603495372197" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34366"; mail-complaints-to="usenet@ciao.gmane.io" To: 44188@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 24 01:24:21 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kW6Q1-0008ll-HE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Oct 2020 01:24:21 +0200 Original-Received: from localhost ([::1]:55956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kW6Q0-0008NL-8C for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Oct 2020 19:24:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kW6Pj-0008N4-5j for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2020 19:24:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kW6Ph-0001hC-PD for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2020 19:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kW6Ph-000336-Ky for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2020 19:24:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <649664717.128563.1603494942107@ichabod.co-bxl> Resent-From: Brian Leung Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Oct 2020 23:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44188 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 44188-submit@debbugs.gnu.org id=B44188.160349542611697 (code B ref 44188); Fri, 23 Oct 2020 23:24:01 +0000 Original-Received: (at 44188) by debbugs.gnu.org; 23 Oct 2020 23:23:46 +0000 Original-Received: from localhost ([127.0.0.1]:58694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW6PR-00032b-KL for submit@debbugs.gnu.org; Fri, 23 Oct 2020 19:23:45 -0400 Original-Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:55938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW6PQ-00032N-Gk for 44188@debbugs.gnu.org; Fri, 23 Oct 2020 19:23:45 -0400 Original-Received: from ichabod.co-bxl (ichabod.co-bxl [10.2.0.36]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id E1F6A1022 for <44188@debbugs.gnu.org>; Sat, 24 Oct 2020 01:23:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailfence.com; s=20160819-nLV10XS2; t=1603495418; bh=1l2VYni3YsunTjwJrdZ1qD40Va5LzSa9kvTtZCflwps=; h=Date:Subject:Reply-To:From:To:From; b=Xd+BOhDKMG3EveHk1d8vzaqtrk6T2urDxTV6gaO2Zrz9Zyf0kGgju+KmzTUe8JL/e 7Hi6nyO14tJxJNZPp5dCGG+fR72ohhvPjg2Ax3Pgl6OCjwQiK6GeUIkOeKKPNorRpG nbV17aalWPRlAk9ADw4nrOOllJTiZzN20v22Ko5f40UdA2tT5cI8X+YA4TlRou8ew0 uuqAZFnvKAyrkBivmpLiQGkrfm5HvGei/X21ZCEpGBze06VaVwCIBPCdz9AEkewyvy HyM7P1UID2Ssw+ycIXQbmhjt0/aI3HyCHSlGYwu1Zcahgm8WAxYmfIcV0VKeqOQe6C O94rfNQRp+mFw== X-Priority: 3 X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:225491745 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191403 Archived-At: ------=_Part_128707_1402095513.1603495372197 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I enforced lexical binding in a few other files. --=C2=A0 Sent with https://mailfence.com Secure and private email ------=_Part_128707_1402095513.1603495372197 Content-Type: text/x-diff; charset=us-ascii; name=0001-Use-lexical-binding-in-wdired.el.patch Content-Transfer-Encoding: 7bit Content-Description: File Attachment: 0001-Use-lexical-binding-in-wdired.el.patch Content-Disposition: attachment; filename=0001-Use-lexical-binding-in-wdired.el.patch >From 908a188298035e45d1c35f95d550312bfb146b46 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Fri, 23 Oct 2020 16:11:29 -0700 Subject: [PATCH 1/4] Use lexical binding in wdired.el --- lisp/wdired.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/wdired.el b/lisp/wdired.el index da162b7bb2..b675ec8bfb 100644 --- a/lisp/wdired.el +++ b/lisp/wdired.el @@ -1,4 +1,4 @@ -;;; wdired.el --- Rename files editing their names in dired buffers -*- coding: utf-8; -*- +;;; wdired.el --- Rename files editing their names in dired buffers -*- lexical-binding: t; coding: utf-8 -*- ;; Copyright (C) 2004-2020 Free Software Foundation, Inc. -- 2.28.0 ------=_Part_128707_1402095513.1603495372197 Content-Type: text/x-diff; charset=us-ascii; name=0002-Use-lexical-binding-in-wid-browse.el.patch Content-Transfer-Encoding: 7bit Content-Description: File Attachment: 0002-Use-lexical-binding-in-wid-browse.el.patch Content-Disposition: attachment; filename=0002-Use-lexical-binding-in-wid-browse.el.patch >From ae7d3352f9ca4d919fab3917cef84734178a9a66 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Fri, 23 Oct 2020 16:17:46 -0700 Subject: [PATCH 2/4] Use lexical binding in wid-browse.el --- lisp/wid-browse.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/wid-browse.el b/lisp/wid-browse.el index 53f918cff9..b7171dcb45 100644 --- a/lisp/wid-browse.el +++ b/lisp/wid-browse.el @@ -1,4 +1,4 @@ -;;; wid-browse.el --- functions for browsing widgets +;;; wid-browse.el --- functions for browsing widgets -*- lexical-binding: t -*- ;; ;; Copyright (C) 1997, 2001-2020 Free Software Foundation, Inc. ;; -- 2.28.0 ------=_Part_128707_1402095513.1603495372197 Content-Type: text/x-diff; charset=us-ascii; name=0003-Use-lexical-binding-in-widget.el.patch Content-Transfer-Encoding: 7bit Content-Description: File Attachment: 0003-Use-lexical-binding-in-widget.el.patch Content-Disposition: attachment; filename=0003-Use-lexical-binding-in-widget.el.patch >From 2814d5d6841e4c1545d983513c9978a1b4bd9a22 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Fri, 23 Oct 2020 16:20:01 -0700 Subject: [PATCH 3/4] Use lexical binding in widget.el --- lisp/widget.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/widget.el b/lisp/widget.el index 8f1e090161..dcf770ea30 100644 --- a/lisp/widget.el +++ b/lisp/widget.el @@ -1,4 +1,4 @@ -;;; widget.el --- a library of user interface components +;;; widget.el --- a library of user interface components -*- lexical-binding: t -*- ;; ;; Copyright (C) 1996-1997, 2001-2020 Free Software Foundation, Inc. ;; -- 2.28.0 ------=_Part_128707_1402095513.1603495372197 Content-Type: text/x-diff; charset=us-ascii; name=0004-Use-lexical-binding-in-winner.el.patch Content-Transfer-Encoding: 7bit Content-Description: File Attachment: 0004-Use-lexical-binding-in-winner.el.patch Content-Disposition: attachment; filename=0004-Use-lexical-binding-in-winner.el.patch >From b5806eab32c71bb1c16b312c5431fe88d77d862e Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Fri, 23 Oct 2020 16:20:07 -0700 Subject: [PATCH 4/4] Use lexical binding in winner.el --- lisp/winner.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/winner.el b/lisp/winner.el index 4313e76719..e55ab710c4 100644 --- a/lisp/winner.el +++ b/lisp/winner.el @@ -1,4 +1,4 @@ -;;; winner.el --- Restore old window configurations +;;; winner.el --- Restore old window configurations -*- lexical-binding: t -*- ;; Copyright (C) 1997-1998, 2001-2020 Free Software Foundation, Inc. -- 2.28.0 ------=_Part_128707_1402095513.1603495372197--