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#20641: 24.5; add-file-local-variable should special-case lexical-binding Date: Sun, 24 May 2015 12:21:46 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1432462998 13028 80.91.229.3 (24 May 2015 10:23:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 May 2015 10:23:18 +0000 (UTC) To: 20641@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 24 12:23:10 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 1YwT3l-0004f1-Tm for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 May 2015 12:23:10 +0200 Original-Received: from localhost ([::1]:39602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwT3k-0002b8-Ti for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 May 2015 06:23:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwT3f-0002an-TI for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 06:23:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwT3e-00081D-NF for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 06:23:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwT3e-000817-JK for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 06:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YwT3e-00008u-B2 for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 06:23:02 -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:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20641 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.1432462929479 (code B ref -1); Sun, 24 May 2015 10:23:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 May 2015 10:22:09 +0000 Original-Received: from localhost ([127.0.0.1]:54260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YwT2i-00007a-3G for submit@debbugs.gnu.org; Sun, 24 May 2015 06:22:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39266) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YwT2b-000071-BF for submit@debbugs.gnu.org; Sun, 24 May 2015 06:22:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwT2V-0007Uf-BY for submit@debbugs.gnu.org; Sun, 24 May 2015 06:21:52 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:51170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwT2V-0007Ub-94 for submit@debbugs.gnu.org; Sun, 24 May 2015 06:21:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwT2U-0002Uq-2K for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 06:21:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwT2T-0007UL-0y for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 06:21:50 -0400 Original-Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:36283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwT2S-0007UD-PZ for bug-gnu-emacs@gnu.org; Sun, 24 May 2015 06:21:48 -0400 Original-Received: by wizk4 with SMTP id k4so24584550wiz.1 for ; Sun, 24 May 2015 03:21:48 -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=/HqXVGvFjkYe6qqJu9503ctp98yd2iZy81WaFJA88FA=; b=H/wUunafKmRzsAO63MC2PtVhuTo+dBnryGvs2W/X7UH39aSj4fk3oJCIJIR0lkeq3o A3tN2mJNHyC90KinFSuy49IlWKV+2bbX6A7bwepLj7wyOrI9G0kyGY2FSkpOfeUt3Dh3 xmjebaR0KQkRDRlKHGHGLDVGmJ3MGPUQzXPkVRXPAfgdaJjiqAba/1DldYxjW526zpYy fLY9c9j1X+1xuDPJhMouE9W49+VMxO4fp+DV2H6uWxGai1oB0wRbxOzyyP56fhmZ1iav btCvAzuOuJ1QF6Ll5dteay1iLPiIIHx3eiWmdJec5DbeSBrW8b2bKJfMxIeygSOvUi3I 4C1A== X-Received: by 10.194.22.40 with SMTP id a8mr31037614wjf.134.1432462908217; Sun, 24 May 2015 03:21:48 -0700 (PDT) Original-Received: from p ([2001:4c50:32e:4e00:40e4:3b61:5b96:f7b4]) by mx.google.com with ESMTPSA id g11sm11497059wjr.25.2015.05.24.03.21.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 May 2015 03:21:47 -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:103133 Archived-At: Given that `lexical-binding' only works when set in the first line of the file, `add-file-local-variable' should defer to 'add-file-local-variable-prop-line' for this variable only. 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: Mark set Setting `send-mail-function' temporarily since "emacs -q" would overwrite customizations Sending... Mark set [2 times] Sending via mail... Setting `smtpmail-smtp-server' temporarily since "emacs -q" would overwrite customizations Setting `smtpmail-smtp-service' temporarily since "emacs -q" would overwrite customizations Sending email Sending email done Sending...done Load-path shadows: None found. Features: (gnutls network-stream starttls tls mailalias smtpmail auth-source eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core password-cache cus-edit cus-start cus-load wid-edit cl-loaddefs cl-lib help-mode pp 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 111890 8826) (symbols 48 20879 0) (miscs 40 51 185) (strings 32 18684 5217) (string-bytes 1 517213) (vectors 16 10719) (vector-slots 8 371236 4716) (floats 8 77 318) (intervals 56 423 24) (buffers 960 18))