From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Magnar Sveen Newsgroups: gmane.emacs.devel Subject: Re: Bug with lexical-binding and package-install? Date: Mon, 19 Nov 2012 22:10:37 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d04071613be776b04cedf8d19 X-Trace: ger.gmane.org 1353359469 1274 80.91.229.3 (19 Nov 2012 21:11:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 21:11:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 19 22:11:19 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TaYcc-00085P-1s for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 22:11:14 +0100 Original-Received: from localhost ([::1]:60956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaYcR-0002k6-Ni for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 16:11:03 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaYcO-0002f3-5w for emacs-devel@gnu.org; Mon, 19 Nov 2012 16:11:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaYcN-0003Yf-4L for emacs-devel@gnu.org; Mon, 19 Nov 2012 16:11:00 -0500 Original-Received: from mail-lb0-f169.google.com ([209.85.217.169]:42169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaYcM-0003YV-T1 for emacs-devel@gnu.org; Mon, 19 Nov 2012 16:10:59 -0500 Original-Received: by mail-lb0-f169.google.com with SMTP id gk1so4554673lbb.0 for ; Mon, 19 Nov 2012 13:10:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=BFagqygqD7Px3sYM9ucuUoIsZ1g4aBTcLS2uREbMC9M=; b=QOlxgnMJSSG4+9PUTJ5jF6D41kdtwreJXk1DlPNI6iGWHDpRi691jwgJKqJZtYRH7g LSwqGqNpxllY1z5/be9AcnowG/Sx1sh6tX6jiMsPFgf8WNW6WCr170cGUHzDS2ryy0ae dk6njTGPkS3Ccfi9EzOrz/zY4cfDJziQe4j4n6fxyyfoxM+Eq9VsbU9I25JOtXjMhPoh j3BpPWuhE5zUfOqZPriVuREgekcyUu+zA9U6e2sjPYRSqJhLOUHYZoA9reTU7OwoUcbe HVC8lGQghz3/LCvvkcI0sCC3xdabf7ddae8iJo8SokZ1hfRMvtszz3bSnjbnjUeHN3/e /FyQ== Original-Received: by 10.152.106.237 with SMTP id gx13mr12510129lab.46.1353359457941; Mon, 19 Nov 2012 13:10:57 -0800 (PST) Original-Received: by 10.112.134.132 with HTTP; Mon, 19 Nov 2012 13:10:37 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: funbtLnfffbn2xp61UNqcTeeffM X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.217.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154966 Archived-At: --f46d04071613be776b04cedf8d19 Content-Type: text/plain; charset=ISO-8859-1 Sorry about that, I have sent a proper bug report with reproducible steps. On Mon, Nov 19, 2012 at 9:31 PM, Stefan Monnier wrote: > > It appears as though your first instinct about lexical-binding is > > correct. I had a ;;; -*- lexical-binding: t -*- directive in my > > init-packages.el file, which is responsible for downloading the > installing > > missing packages (of which multiple-cursors.el is one). > > What is "init-packages.el"? > "grep init-package **/*.el" doesn't find anything in Emacs's trunk. > > I'm trying to understand how this could happen, which I find difficult > to imagine: lexical-binding is made buffer-local in every file that is > byte-compiled, so for an external lexical-binding setting to affect > byte-compilation, you'd have to call `byte-compile' directly rather than > via byte-compile-file. > At least that's the way the code should behave. > > Oh, and please make it an actual bug-report rather than sending it here > on emacs-devel. > > > Stefan > --f46d04071613be776b04cedf8d19 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sorry about that, I have sent a proper bug report with reproducible steps.<= div>


On Mon, Nov 19, 2012 at 9:31 PM, Stefan Monnier <monnier@iro.umont= real.ca> wrote:
> It appears as though = your first instinct about lexical-binding is
> correct. I had a ;;; -*- lexical-binding: t -*- directive in my
> init-packages.el file, which is responsible for downloading the instal= ling
> missing packages (of which multiple-cursors.el is one).

What is "init-packages.el"?
"grep init-package **/*.el" doesn't find anything in Emacs= 9;s trunk.

I'm trying to understand how this could happen, which I find difficult<= br> to imagine: lexical-binding is made buffer-local in every file that is
byte-compiled, so for an external lexical-binding setting to affect
byte-compilation, you'd have to call `byte-compile' directly rather= than
via byte-compile-file.
At least that's the way the code should behave.

Oh, and please make it an actual bug-report rather than sending it here
on emacs-devel.


=A0 =A0 =A0 =A0 Stefan

--f46d04071613be776b04cedf8d19--