unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Magnar Sveen <magnars@gmail.com>
Cc: 12938@debbugs.gnu.org
Subject: bug#12938: 24.2; Lexical binding leaks into package-install somehow
Date: Tue, 20 Nov 2012 13:53:29 -0500	[thread overview]
Message-ID: <27ehjop0ly.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CALVcYyBYair3hGQn-svPe4yk5od+G==41fqWfr4tPg-8XHdGTg@mail.gmail.com> (Magnar Sveen's message of "Mon, 19 Nov 2012 22:07:59 +0100")


I guess this could be summarized as:

mkdir foo
echo '(eval-when-compile (message "lex = %s" lexical-binding))' > foo/bar.el

Create test.el with contents

  ;; -*- lexical-binding: t -*-
  (byte-recompile-directory "foo/" 0)

emacs -Q --batch -l ./test.el
  -> lex = t





  reply	other threads:[~2012-11-20 18:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-19 21:07 bug#12938: 24.2; Lexical binding leaks into package-install somehow Magnar Sveen
2012-11-20 18:53 ` Glenn Morris [this message]
2012-11-21  4:56   ` Glenn Morris
2012-11-23 21:31 ` Stefan Monnier
2012-11-23 21:50   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=27ehjop0ly.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=12938@debbugs.gnu.org \
    --cc=magnars@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).