From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: another minor lexbind patch Date: Tue, 27 Apr 2010 15:37:33 -0600 Message-ID: References: <60193.130.55.118.19.1272402263.squirrel@webmail.lanl.gov> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272404266 17467 80.91.229.12 (27 Apr 2010 21:37:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2010 21:37:46 +0000 (UTC) Cc: Emacs discussions To: herring@lanl.gov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 27 23:37:45 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O6sTQ-0006BO-CD for ged-emacs-devel@m.gmane.org; Tue, 27 Apr 2010 23:37:44 +0200 Original-Received: from localhost ([127.0.0.1]:33584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6sTP-0001Ko-Dr for ged-emacs-devel@m.gmane.org; Tue, 27 Apr 2010 17:37:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6sTM-0001Ke-4J for emacs-devel@gnu.org; Tue, 27 Apr 2010 17:37:40 -0400 Original-Received: from [140.186.70.92] (port=42740 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6sTK-0001KV-Q7 for emacs-devel@gnu.org; Tue, 27 Apr 2010 17:37:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6sTJ-0005N9-5Z for emacs-devel@gnu.org; Tue, 27 Apr 2010 17:37:38 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:2240) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6sTI-0005N0-Ub for emacs-devel@gnu.org; Tue, 27 Apr 2010 17:37:37 -0400 Original-Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3RLbZwt022933 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 27 Apr 2010 17:37:35 -0400 Original-Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3RLbYft017681; Tue, 27 Apr 2010 17:37:35 -0400 Original-Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o3RLbXKx006141; Tue, 27 Apr 2010 17:37:34 -0400 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id A48263786F9; Tue, 27 Apr 2010 15:37:33 -0600 (MDT) X-Attribution: Tom In-Reply-To: <60193.130.55.118.19.1272402263.squirrel@webmail.lanl.gov> (Davis Herring's message of "Tue, 27 Apr 2010 14:04:23 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:124266 Archived-At: >>>>> "Davis" == Davis Herring writes: >> Here's a trivial patch to the lexbind branch to make lexical-binding a >> safe local variable. Davis> If `lexical-binding' is taken into account other than at read or Davis> compilation time, it might not be wise to make it safe: someone Davis> could find (old, well-established, well-distributed, Davis> commonly-used) code that behaves in some undesirable way if it's Davis> non-nil. It is used for eval-region. That is why I sent this patch: it is very strange to set lexical-binding in a file, then be queried when trying to edit the file. I don't believe it has any effect in other situations. Tom