From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!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, 11 Sep 2016 18:04:13 +0000 Message-ID: References: <55638701.9010400@dancol.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7ba97a10ad8129053c3f354b X-Trace: blaine.gmane.org 1473617122 12715 195.159.176.226 (11 Sep 2016 18:05:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Sep 2016 18:05:22 +0000 (UTC) Cc: 20640@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 11 20:05:19 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bj97y-0002Lc-DB for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Sep 2016 20:05:14 +0200 Original-Received: from localhost ([::1]:38601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bj97w-0003UO-9K for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Sep 2016 14:05:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bj97q-0003Sw-CI for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2016 14:05:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bj97m-0004nI-W6 for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2016 14:05:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bj97m-0004nE-S9 for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2016 14:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bj97m-0006bn-KG for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2016 14:05: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, 11 Sep 2016 18:05: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: wontfix Original-Received: via spool by 20640-submit@debbugs.gnu.org id=B20640.147361707225360 (code B ref 20640); Sun, 11 Sep 2016 18:05:02 +0000 Original-Received: (at 20640) by debbugs.gnu.org; 11 Sep 2016 18:04:32 +0000 Original-Received: from localhost ([127.0.0.1]:56711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bj97I-0006ax-Kk for submit@debbugs.gnu.org; Sun, 11 Sep 2016 14:04:32 -0400 Original-Received: from mail-wm0-f44.google.com ([74.125.82.44]:35810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bj97G-0006ak-AB for 20640@debbugs.gnu.org; Sun, 11 Sep 2016 14:04:30 -0400 Original-Received: by mail-wm0-f44.google.com with SMTP id a6so22047456wmc.0 for <20640@debbugs.gnu.org>; Sun, 11 Sep 2016 11:04:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Qbz4S948yGq4H0lSFZXV8O2g1qzy5/livhswssB0LEM=; b=lpAzOotBZQJ0nQ6KCNz8/i4pmXkap3wuozeqRetRYZK89yEzRLhpgi+rTA6cGQZfSR kl27U59/t4vQ6vkWRdAN4gxUdoPfYTku21kdZPjL7FNqaOqzuy/OOhgDL3gTV2ROUMW6 kNbveu7wkkHZYxBQEtsIDARXi2ryfNP+5aHOwXmFOP1sDt44F4IJGQYiyaM9srNmNEDR nd7bbcq8uHikXZiA7enyTM+GphvAeAajW4FBO5cTuKN5oaU9eESWoyCTT07cBfH646Ml 0BXEkbxdCnht3cDGYFE128NxrFyUPR7j1lctYSWiyzcAP0lppDZBh+bznWxLwlbu/f5o OAHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Qbz4S948yGq4H0lSFZXV8O2g1qzy5/livhswssB0LEM=; b=lDpBWG67IEROt5t+eVFh4aW3LF4nnEiWQwSzNqJZ2/kGFAH8Cj8K50MdbdOyBNNc8H vvBSg6OSsGJGkl7UR09YQD83tuO6v3PFhuwL8DEqfych2PW9zhbXTL6po5V3xHWEK+cY A9Rn8K7WqZkWXsJ+Eth+a3XfSxSYmsabP75mHOHv4Uk4W/gq+mkN4N2aQEEEelL69626 YmUXipqIV+9MO5vrgqBcnk3lnsxTKjp17D4PhZbZE3xDXYDbo6MfrdCQrq5euchos1T2 DNAOBsB6QejqpP7RlrS7EB7hTEtMZMBkUWuONwRx08nyN5e/z1nwgCH4RrYDntHvcV3W sH2g== X-Gm-Message-State: AE9vXwMwNt6CxYmYPQuhqEdRmcQtiGi13z4Kq7zAfk/bU7o/J67bw3+uKB+oNCDEYXjSWDjRYCgZZVRGGRnrRA== X-Received: by 10.194.184.39 with SMTP id er7mr11726968wjc.159.1473617064721; Sun, 11 Sep 2016 11:04:24 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:123188 Archived-At: --047d7ba97a10ad8129053c3f354b Content-Type: text/plain; charset=UTF-8 Stefan Monnier schrieb am Mo., 22. Juni 2015 um 17:57 Uhr: > > I don't think this is a misdesign. In most cases files are either > seekable > > or small enough so that reading the variables from the end is tolerable. > I > > prefer the end of files for local variables because they tend to be less > > important than the actual content. > > I'm not talking about file-local variables in general. I'm talking > about the "coding:" pseudo-variable. > > > No matter how we choose to call it: My argument stands, reading such pseudo-variables from the end of the file is desirable, useful, and has negligible disadvantages. Or do we have evidence that users routinely read very large (gigabyte-sized) Elisp files from non-seekable sources? --047d7ba97a10ad8129053c3f354b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Stefan= Monnier <monnier@iro.umontr= eal.ca> schrieb am Mo., 22. Juni 2015 um 17:57=C2=A0Uhr:
> I don't think this is a misdesign. In= most cases files are either seekable
> or small enough so that reading the variables from the end is tolerabl= e. I
> prefer the end of files for local variables because they tend to be le= ss
> important than the actual content.

I'm not talking about file-local variables in general.=C2=A0 I'm ta= lking
about the "coding:" pseudo-variable.



No matter how we c= hoose to call it: My argument stands, reading such pseudo-variables from th= e end of the file is desirable, useful, and has negligible disadvantages. O= r do we have evidence that users routinely read very large (gigabyte-sized)= Elisp files from non-seekable sources?=C2=A0
--047d7ba97a10ad8129053c3f354b--