From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Bug with lexical-binding and package-install? Date: Mon, 19 Nov 2012 15:31:47 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1353357133 12673 80.91.229.3 (19 Nov 2012 20:32:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 20:32:13 +0000 (UTC) Cc: emacs-devel@gnu.org To: Magnar Sveen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 19 21:32:23 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 1TaY0x-0005ha-22 for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 21:32:19 +0100 Original-Received: from localhost ([::1]:50188 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaY0m-0002Bm-Qx for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 15:32:08 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaY0k-0002BR-0U for emacs-devel@gnu.org; Mon, 19 Nov 2012 15:32:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaY0j-0006wE-1p for emacs-devel@gnu.org; Mon, 19 Nov 2012 15:32:05 -0500 Original-Received: from relais.videotron.ca ([24.201.245.36]:58893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaY0i-0006wA-U6 for emacs-devel@gnu.org; Mon, 19 Nov 2012 15:32:04 -0500 Original-Received: from ceviche.home ([24.201.208.110]) by VL-VM-MR002.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0MDR009HP51BCN90@VL-VM-MR002.ip.videotron.ca> for emacs-devel@gnu.org; Mon, 19 Nov 2012 15:32:04 -0500 (EST) Original-Received: by ceviche.home (Postfix, from userid 20848) id A8BAC660FF; Mon, 19 Nov 2012 15:31:47 -0500 (EST) In-reply-to: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 24.201.245.36 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:154965 Archived-At: > 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