From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#20640: 24.5; lexical-binding should work like a normal file-local variable Date: Sun, 24 May 2015 12:19:34 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1432462881 11237 80.91.229.3 (24 May 2015 10:21:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 May 2015 10:21:21 +0000 (UTC) To: 20640@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 24 12:21:13 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 1YwT1q-0003fn-Ve for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 May 2015 12:21:11 +0200 Original-Received: from localhost ([::1]:39592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwT1q-0002JA-E7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 May 2015 06:21:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwT1l-0002Im-TE for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 06:21:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwT1k-0007Ix-A7 for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 06:21:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwT1k-0007In-5o for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 06:21:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YwT1j-00005i-NH for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 06:21:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 May 2015 10:21:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20640 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.143246280332726 (code B ref -1); Sun, 24 May 2015 10:21:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 May 2015 10:20:03 +0000 Original-Received: from localhost ([127.0.0.1]:54255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YwT0f-0008VX-Vm for submit@debbugs.gnu.org; Sun, 24 May 2015 06:20:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38299) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YwT0a-0008VF-HS for submit@debbugs.gnu.org; Sun, 24 May 2015 06:19:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwT0U-0006Wf-Bs for submit@debbugs.gnu.org; Sun, 24 May 2015 06:19:47 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:57748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwT0U-0006WX-8i for submit@debbugs.gnu.org; Sun, 24 May 2015 06:19:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwT0T-0001pf-5K for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 06:19:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwT0S-0006Vq-35 for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 06:19:45 -0400 Original-Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:38067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwT0R-0006Vi-SM for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 06:19:44 -0400 Original-Received: by wichy4 with SMTP id hy4so25135938wic.1 for ; Sun, 24 May 2015 03:19:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=2ahYAHkqtLLu1mfhusesHLzgYSAwPJsSiI/QrRGWAV8=; b=mJrmrJmdI01h/Eaa8qSeVooz0agU0gUC3CL2/4FEQ1Nxp8ZVKBoobJNCT0cdB13N1P pL7XXPAtdFZ/hB0EzfpBdZb2K/KrIt0tEW1zkjZjZmzA6wE5QiTgQ5G03diCUOVTSX1j mlzY98YahzipMNGUbwSDc5f/CR5Wab8V+qgl2Au28OWAFJ/tgdqK6Z8QpD0ikQGfjON4 fHFajM5pkfrcSBDj793l3nfu/mIT6eaMYdZQu+YdgtuoBVZ9Ddg+2PE7KnGvjosCqdc9 dmrpllhQTWqIa5yNP0YTcYYlGPFUCmAb7BLPW6lFH1CASX3usob5PmYthXeKDwGFiASe UgYQ== X-Received: by 10.194.63.80 with SMTP id e16mr30918070wjs.56.1432462782996; Sun, 24 May 2015 03:19:42 -0700 (PDT) Original-Received: from p ([2001:4c50:32e:4e00:40e4:3b61:5b96:f7b4]) by mx.google.com with ESMTPSA id ex5sm6643088wib.2.2015.05.24.03.19.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 May 2015 03:19:42 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:103132 Archived-At: The manual (https://www.gnu.org/software/emacs/manual/html_node/elisp/Using-Lexical-Binding.html) says about `lexical-binding': Note that unlike other such variables, this one must be set in the first line of a file. I think the only reason for this is an implementation detail (lexical-binding is parsed by other code than the other file-local variables). It would be great to make it consistent with other variables so that the user doesn't need to care about the difference. In GNU Emacs 24.5.1 (x86_64-apple-darwin14.1.0, NS apple-appkit-1344.72) of 2015-04-12 on p Configured using: `configure --prefix=/usr/local/Cellar/emacs/24.5 --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/24.5/share/info/emacs --with-file-notification=gfile --with-dbus --with-gnutls --with-rsvg --with-imagemagick --without-popmail --with-ns --disable-ns-self-contained' Important settings: value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. (New file) For this change to take effect revisit file using s-u Saving file /tmp/foo.el... Wrote /tmp/foo.el C-x C-g is undefined You can run the command `revert-buffer' with s-u Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils warnings help-fns files-x xterm time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify cocoa ns multi-tty emacs) Memory information: ((conses 16 79278 6322) (symbols 48 17661 0) (miscs 40 38 142) (strings 32 10374 4568) (string-bytes 1 270725) (vectors 16 7214) (vector-slots 8 341033 28254) (floats 8 62 328) (intervals 56 188 27) (buffers 960 14))