GNU bug report logs - #39373
27.0.50; [PATCH] mode-local-print-bindings broken with lexical-binding

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Mattias Engdegård <mattiase@HIDDEN>; Keywords: patch; dated Fri, 31 Jan 2020 17:41:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Jan 2020 17:40:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 31 12:40:21 2020
Received: from localhost ([127.0.0.1]:38027 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ixaHF-000748-KN
	for submit <at> debbugs.gnu.org; Fri, 31 Jan 2020 12:40:21 -0500
Received: from lists.gnu.org ([209.51.188.17]:55449)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mattiase@HIDDEN>) id 1ixaHD-000740-KD
 for submit <at> debbugs.gnu.org; Fri, 31 Jan 2020 12:40:19 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:39366)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <mattiase@HIDDEN>) id 1ixaHC-0001hU-9d
 for bug-gnu-emacs@HIDDEN; Fri, 31 Jan 2020 12:40:19 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,KHOP_HELO_FCRDNS,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mattiase@HIDDEN>) id 1ixaHB-0005PF-5N
 for bug-gnu-emacs@HIDDEN; Fri, 31 Jan 2020 12:40:18 -0500
Received: from mail1441c50.megamailservers.eu ([91.136.14.41]:44958
 helo=mail264c50.megamailservers.eu)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mattiase@HIDDEN>) id 1ixaHA-0005FH-MM
 for bug-gnu-emacs@HIDDEN; Fri, 31 Jan 2020 12:40:17 -0500
X-Authenticated-User: mattiase@HIDDEN
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu;
 s=maildub; t=1580490484;
 bh=j9dVjvq/qwFNchNmsHbiqfYRTS4Ygcr6rLO/yAN1VDE=;
 h=From:Subject:Date:To:From;
 b=q1mUVlYVI169KcHd/A/eoiXxyRswuEQ0qKJje7NlTAZmAvaCeO4kmW9QylLb41XcA
 bdN0I3T8TVxpA4hIv01Da6TXobKS9J5MPA3rQ8suGTcl9TBq5MhJ01f/D7eXoc6l6P
 JeJ05+/ealb7wsqKTWDkSBehncQa0maPmV96qgGk=
Feedback-ID: mattiase@HIDDEN
Received: from stanniol.lan (c-6f4fe655.032-75-73746f71.bbcust.telenor.se
 [85.230.79.111]) (authenticated bits=0)
 by mail264c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 00VH81El005851
 for <bug-gnu-emacs@HIDDEN>; Fri, 31 Jan 2020 17:08:03 +0000
From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= <mattiase@HIDDEN>
Content-Type: multipart/mixed;
 boundary="Apple-Mail=_C00920C9-4DFC-491E-ABCE-040BE57CED9C"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Subject: 27.0.50; [PATCH] mode-local-print-bindings broken with lexical-binding
Message-Id: <495920D0-A298-43BF-99E6-B5ADA06113CB@HIDDEN>
Date: Fri, 31 Jan 2020 18:08:01 +0100
To: bug-gnu-emacs@HIDDEN
X-Mailer: Apple Mail (2.3445.104.11)
X-CTCH-RefID: str=0001.0A0B020E.5E345EF4.000D, ss=1, re=0.000, recu=0.000,
 reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-CSC: 0
X-CHA: v=2.3 cv=ar3M9hRV c=1 sm=1 tr=0 a=fHaj9vQUQVKQ4sUldAaXuQ==:117
 a=fHaj9vQUQVKQ4sUldAaXuQ==:17 a=M51BFTxLslgA:10 a=_iGz7pHDUnD4zqnyQnUA:9
 a=CjuIK1q_8ugA:10 a=1z7mGcGWJNLIE_uD8nEA:9 a=B2y7HmGcmWMA:10
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no
 timestamps) [generic]
X-Received-From: 91.136.14.41
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)


--Apple-Mail=_C00920C9-4DFC-491E-ABCE-040BE57CED9C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

'mode-local-print-bindings' in mode-local.el seems to be broken since =
the file was converted to lexical binding.
Straightforward patch attached -- acceptable for emacs-27? (It's a =
regression from Emacs 26.)


--Apple-Mail=_C00920C9-4DFC-491E-ABCE-040BE57CED9C
Content-Disposition: attachment;
	filename=0001-Fix-describe-mode-local-bindings-lexical-binding-dam.patch
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="0001-Fix-describe-mode-local-bindings-lexical-binding-dam.patch"
Content-Transfer-Encoding: quoted-printable

=46rom=20ded807b01792e966a4ce4905cc3ed2483c52294a=20Mon=20Sep=2017=20=
00:00:00=202001=0AFrom:=20=3D?UTF-8?q?Mattias=3D20Engdeg=3DC3=3DA5rd?=3D=20=
<mattiase@HIDDEN>=0ADate:=20Fri,=2031=20Jan=202020=2017:37:17=20+0100=0A=
Subject:=20[PATCH]=20Fix=20describe-mode-local-bindings=20=
lexical-binding=20damage=0A=0A*=20lisp/cedet/mode-local.el=20=
(mode-local-print-bindings):=0ARepair=20code=20that=20relied=20on=20=
dynamic=20binding.=0A---=0A=20lisp/cedet/mode-local.el=20|=2013=20=
+++++--------=0A=201=20file=20changed,=205=20insertions(+),=208=20=
deletions(-)=0A=0Adiff=20--git=20a/lisp/cedet/mode-local.el=20=
b/lisp/cedet/mode-local.el=0Aindex=20a6e143cfcd..70ed62f4fb=20100644=0A=
---=20a/lisp/cedet/mode-local.el=0A+++=20b/lisp/cedet/mode-local.el=0A@@=20=
-819,14=20+819,11=20@@=20mode-local-print-bindings=0A=20=20=20=20=20=20=20=
=20=20)=0A=20=20=20=20=20;;=20Order=20symbols=20by=20type=0A=20=20=20=20=20=
(mapatoms=0A-=20=20=20=20=20#'(lambda=20(s)=0A-=20=20=20=20=20=20=20=20=20=
(add-to-list=20(cond=0A-=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20((get=20s=20'mode-variable-flag)=0A-=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(if=20(get=20s=20=
'constant-flag)=20'mc=20'mv))=0A-=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20((get=20s=20'override-flag)=0A-=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(if=20(get=20s=20=
'constant-flag)=20'fo=20'ov))=0A-=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20('us))=0A-=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20s))=0A+=20=20=20=20=20(lambda=20(s)=20=
(push=20s=20(cond=20((get=20s=20'mode-variable-flag)=0A+=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20(if=20(get=20s=20'constant-flag)=20mc=20mv))=0A+=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
((get=20s=20'override-flag)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(if=20(get=20s=20=
'constant-flag)=20fo=20ov))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(t=20us))))=0A=20=20=20=
=20=20=20table)=0A=20=20=20=20=20;;=20Print=20symbols=20by=20type=0A=20=20=
=20=20=20(when=20us=0A--=20=0A2.21.1=20(Apple=20Git-122.3)=0A=0A=

--Apple-Mail=_C00920C9-4DFC-491E-ABCE-040BE57CED9C--




Acknowledgement sent to Mattias Engdegård <mattiase@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#39373; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Jan 2020 17:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.