GNU bug report logs - #15070
24.3.50.1; eval-buffer ignores the buffer local value of 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: E Sabof <esabof@HIDDEN>; merged with #20139; dated Sun, 11 Aug 2013 13:17:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 15070 20139. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 11 Aug 2013 13:16:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 11 09:16:31 2013
Received: from localhost ([127.0.0.1]:52902 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1V8VVV-0005bl-BZ
	for submit <at> debbugs.gnu.org; Sun, 11 Aug 2013 09:16:30 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60327)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <esabof@HIDDEN>) id 1V8VVS-0005bY-C0
 for submit <at> debbugs.gnu.org; Sun, 11 Aug 2013 09:16:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <esabof@HIDDEN>) id 1V8VVK-0003dX-EP
 for submit <at> debbugs.gnu.org; Sun, 11 Aug 2013 09:16:21 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51376)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <esabof@HIDDEN>) id 1V8VVK-0003dT-BB
 for submit <at> debbugs.gnu.org; Sun, 11 Aug 2013 09:16:18 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33806)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <esabof@HIDDEN>) id 1V8VVG-0004is-JZ
 for bug-gnu-emacs@HIDDEN; Sun, 11 Aug 2013 09:16:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <esabof@HIDDEN>) id 1V8VVD-0003ca-VT
 for bug-gnu-emacs@HIDDEN; Sun, 11 Aug 2013 09:16:14 -0400
Received: from mail-qc0-x241.google.com ([2607:f8b0:400d:c01::241]:60005)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <esabof@HIDDEN>) id 1V8VVD-0003cV-Qm
 for bug-gnu-emacs@HIDDEN; Sun, 11 Aug 2013 09:16:11 -0400
Received: by mail-qc0-f193.google.com with SMTP id s1so1536538qcw.8
 for <bug-gnu-emacs@HIDDEN>; Sun, 11 Aug 2013 06:16:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=qFB46Q5F+2mFK343uv4xTHJ1He7aNtrisdghjdgl7Lw=;
 b=FKANLkV7Lku0akcdjiO+fFVLdl6NMNFN2B8/J8DZ4d4i6TeXPt7hZneDDVjw6qsec3
 7KeT5rV/MTO9dhzdC7F8BPueYm4qHo3J6TskXFrVxXpt6xSLOPY8HDDEop/ipeadvvJQ
 7qLTjHHhml99RJelhTQwJ1d4eIig2wzVSCS/sZouRD7nD17O+V+6LUZ7ZonzuPRf07Hh
 Xl+3XmuuGaFIUie0ftCnk9tL38jCb4qmVY161XOKp2pNBnnFHm7QfxG+grWoiPAo2H2X
 sQqwMM//d2gr5OB6GYsLdPCbdyjgKpo0FlEFKDyEHmgqlYgzq17W5VBIqKME5SxCM8WT
 SMxQ==
MIME-Version: 1.0
X-Received: by 10.49.116.70 with SMTP id ju6mr9380205qeb.40.1376226971473;
 Sun, 11 Aug 2013 06:16:11 -0700 (PDT)
Received: by 10.49.48.232 with HTTP; Sun, 11 Aug 2013 06:16:11 -0700 (PDT)
Date: Sun, 11 Aug 2013 14:16:11 +0100
Message-ID: <CAEp6DyawAKA_6-HVkv7gpa7ck5uqub5Pfgimdcy2tHo_eqD5+w@HIDDEN>
Subject: 24.3.50.1;
 eval-buffer ignores the buffer local value of lexical-binding.
From: E Sabof <esabof@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary=047d7b621fb6c3dd5004e3abcf07
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -2.7 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: -2.7 (--)

--047d7b621fb6c3dd5004e3abcf07
Content-Type: text/plain; charset=ISO-8859-1

In emacs -Q:

    M-: (setq lexical-binding t)

paste the following:

    (funcall
     (let ((a 5))
       (lambda ()
         a)))

M-x eval-buffer
The error (void-variable a) will be thrown.

The snippet will be evaluated correctly, only if one inserts

    ;; -*- lexical-binding:t -*-

on the first line

--047d7b621fb6c3dd5004e3abcf07
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>In emacs -Q:</div><div><br></div><div>=A0 =A0 M-: (se=
tq lexical-binding t)</div><div><br></div><div>paste the following:</div><d=
iv><br></div><div><div>=A0 =A0 (funcall</div><div>=A0 =A0 =A0(let ((a 5))</=
div><div>=A0 =A0 =A0 =A0(lambda ()</div>
<div>=A0 =A0 =A0 =A0 =A0a)))</div></div><div><br></div><div>M-x eval-buffer=
</div><div>The error (void-variable a) will be thrown.</div><div><br></div>=
<div>The snippet will be evaluated correctly, only if one inserts=A0</div><=
div><br>
</div><div>=A0 =A0 ;; -*- lexical-binding:t -*-</div><div><br></div><div>on=
 the first line</div><div><br></div><div><br></div></div>

--047d7b621fb6c3dd5004e3abcf07--




Acknowledgement sent to E Sabof <esabof@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#15070; 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: Thu, 19 Mar 2015 16:00:04 UTC

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