GNU bug report logs - #30301
26.0.91; setting lexical-binding with C-M-x vs M-x eval-buffer

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: charles@HIDDEN (Charles A. Roelli); Keywords: confirmed; dated Wed, 31 Jan 2018 10:35:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) confirmed. Request was from Noam Postavsky <npostavs@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; 31 Jan 2018 10:34:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 31 05:34:39 2018
Received: from localhost ([127.0.0.1]:50312 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1egpix-000781-DL
	for submit <at> debbugs.gnu.org; Wed, 31 Jan 2018 05:34:39 -0500
Received: from eggs.gnu.org ([208.118.235.92]:52128)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <charles@HIDDEN>) id 1egpiv-00077p-La
 for submit <at> debbugs.gnu.org; Wed, 31 Jan 2018 05:34:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <charles@HIDDEN>) id 1egpih-0004cE-1X
 for submit <at> debbugs.gnu.org; Wed, 31 Jan 2018 05:34:32 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:50724)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <charles@HIDDEN>) id 1egpig-0004c8-Uy
 for submit <at> debbugs.gnu.org; Wed, 31 Jan 2018 05:34:22 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43073)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <charles@HIDDEN>) id 1egpia-0000fO-T9
 for bug-gnu-emacs@HIDDEN; Wed, 31 Jan 2018 05:34:22 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <charles@HIDDEN>) id 1egpiV-0004XD-48
 for bug-gnu-emacs@HIDDEN; Wed, 31 Jan 2018 05:34:16 -0500
Received: from [2a03:2040:2:1b::1] (port=53530 helo=sinyavsky.aurox.ch)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <charles@HIDDEN>) id 1egpiU-0004Pf-RY
 for bug-gnu-emacs@HIDDEN; Wed, 31 Jan 2018 05:34:11 -0500
Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1])
 by sinyavsky.aurox.ch (Postfix) with ESMTP id D77752266E
 for <bug-gnu-emacs@HIDDEN>; Wed, 31 Jan 2018 10:34:02 +0000 (UTC)
Authentication-Results: sinyavsky.aurox.ch (amavisd-new);
 dkim=pass (1024-bit key) reason="pass (just generated, assumed good)"
 header.d=aurox.ch
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h=
 subject:subject:to:from:from:message-id:date:date; s=dkim; t=
 1517394842; x=1518258843; bh=Xi/Ao/+h4ZTvXimNnTy9ZYyUmbmB7qKFo7s
 LIu2vNcc=; b=QlEsp01qQ2PDUhql/k2tkdjQAFxFITKJbdo3bUTu5+iM0IdZP3Y
 dbvqu3wZdR98y6efpQClXpGZKH5fva/LPX6eSywBtgNaHtA7nIbduV/bRB0YQUQX
 gBDP7q/GTDB2ETEOXM2wOrrZGz8gWON+XJkgSdewmQ36bY80B00PsKoQ=
X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com
Received: from sinyavsky.aurox.ch ([127.0.0.1])
 by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new,
 port 10026) with ESMTP id U-Jbt9B7nkPQ for <bug-gnu-emacs@HIDDEN>;
 Wed, 31 Jan 2018 10:34:02 +0000 (UTC)
Received: from gray (125.85.192.178.dynamic.wline.res.cust.swisscom.ch
 [178.192.85.125])
 by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 25B702266C
 for <bug-gnu-emacs@HIDDEN>; Wed, 31 Jan 2018 10:34:02 +0000 (UTC)
Date: Wed, 31 Jan 2018 11:41:45 +0100
Message-Id: <m2tvv2b992.fsf@HIDDEN>
From: charles@HIDDEN (Charles A. Roelli)
To: bug-gnu-emacs@HIDDEN
Subject: 26.0.91; setting lexical-binding with C-M-x vs M-x eval-buffer
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
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: -4.1 (----)

From the *scratch* buffer in emacs -q, type:

(setq-local lexical-binding t) M-x eval-buffer RET

Afterwards, M-: lexical-binding RET shows "nil", but I expect to see
"t".

If you instead type C-M-x in *scratch*, then M-: lexical-binding RET
does show "t".

For recent discussion also see Bug#30078, which is about turning on
lexical-binding in M-: (eval-expression) -- a different but related
issue.




Acknowledgement sent to charles@HIDDEN (Charles A. Roelli):
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#30301; 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: Wed, 31 Jan 2018 11:30:02 UTC

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