From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#20640: 24.5; lexical-binding should work like a normal file-local variable Date: Tue, 26 May 2015 16:53:08 -0400 Message-ID: References: <55638701.9010400@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1432673669 4609 80.91.229.3 (26 May 2015 20:54:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 May 2015 20:54:29 +0000 (UTC) Cc: Philipp Stephani , 20640@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 26 22:54:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1YxLrV-0004Ua-S7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 May 2015 22:54:10 +0200 Original-Received: from localhost ([::1]:50205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxLrV-0003F7-DB for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 May 2015 16:54:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxLrP-0003C7-Tc for bug-gnu-emacs@gnu.org; Tue, 26 May 2015 16:54:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxLrO-000061-Uq for bug-gnu-emacs@gnu.org; Tue, 26 May 2015 16:54:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxLrO-00005u-RS for bug-gnu-emacs@gnu.org; Tue, 26 May 2015 16:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YxLrO-0002xx-Jr for bug-gnu-emacs@gnu.org; Tue, 26 May 2015 16:54:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 May 2015 20:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20640 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20640-submit@debbugs.gnu.org id=B20640.143267359411330 (code B ref 20640); Tue, 26 May 2015 20:54:02 +0000 Original-Received: (at 20640) by debbugs.gnu.org; 26 May 2015 20:53:14 +0000 Original-Received: from localhost ([127.0.0.1]:57451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YxLqb-0002wa-Bv for submit@debbugs.gnu.org; Tue, 26 May 2015 16:53:14 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:49988 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YxLqY-0002wR-V2 for 20640@debbugs.gnu.org; Tue, 26 May 2015 16:53:11 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YxLqX-0007Ym-0m; Tue, 26 May 2015 16:53:09 -0400 X-Spook: csim Honduras Capricorn lynch Dateline Rand Corporation X-Ran: J%4_DjO`7;}Y7::;yxN0ZL*|RNLQ'1R%k[V.e).ENv.$M0o}9AR|]ziPsMZv X-Hue: yellow X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103196 Archived-At: Stefan Monnier wrote: >> A few years ago, we said (IIUC) it was desirable: >> http://debbugs.gnu.org/10605 > > Well, *you* said, but *we* didn't, IIUC. Hah, true enough, although IMO you were a least a little more ambiguous in >> http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00543.html Anyway: > For me, as long as we intend to allow running .el files without > byte-compiling them, I think allowing lexical-binding to be specified at > the end of the file would be a design mistake. Even if the code were to check for "coding:" (which we already have to scan the end of the file for) and "lexical-binding:" in the same pass?