unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20139: 25.0.50; eval-buffer ignores lexical-binding
@ 2015-03-18 22:09 Jorgen Schaefer
  2015-03-19  3:10 ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: Jorgen Schaefer @ 2015-03-18 22:09 UTC (permalink / raw)
  To: 20139

Given a buffer with these contents:

(setq lexical-binding t)
(message "%s" (lambda () a))

Evaluating both lines with C-x C-e will message (closure (t) nil a), as
it should. But M-x eval-buffer will message (lambda nil a), i.e.
eval-buffer ignores the value of lexical-binding.

I do not think this is the intended behavior :-)

Regards,
Jorgen

In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu)
 of 2015-02-21 on loki.jorgenschaefer.de
Repository revision: 9074a684990600abd9dfad0477c7cd1d2f339ed3
System Description:	Debian GNU/Linux 7.8 (wheezy)

Configured using:
 `configure --without-x'






^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-10-07 15:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-18 22:09 bug#20139: 25.0.50; eval-buffer ignores lexical-binding Jorgen Schaefer
2015-03-19  3:10 ` Stefan Monnier
2015-03-19  7:33   ` Jorgen Schäfer
2015-03-19  9:56     ` Nicolas Richard
2015-03-19 14:15       ` Stefan Monnier
     [not found]         ` <CALqDrSccFR=TMo=r96v_ODCJbq=afrcaXCse77shekyRWwEyxA@mail.gmail.com>
     [not found]           ` <jwvmw3959zl.fsf-monnier+emacsbugs@gnu.org>
2015-03-19 14:52             ` Jorgen Schäfer
2015-03-19 16:28               ` Stefan Monnier
2019-10-07 15:25         ` Lars Ingebrigtsen
2015-03-19 15:49   ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).