From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#8460: 24.0.50; Doc string of `lexical-binding' Date: Fri, 15 Jul 2011 14:59:01 +0200 Message-ID: References: <17D4B6B946FD4F9EB9FF1E76E746E68D@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310736282 19831 80.91.229.12 (15 Jul 2011 13:24:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2011 13:24:42 +0000 (UTC) Cc: 8460@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 15 15:24:37 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhiNg-0000I9-E1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2011 15:24:36 +0200 Original-Received: from localhost ([::1]:49960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhiNf-0002H3-AN for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2011 09:24:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhiIP-0001EO-Tf for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 09:19:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhiIJ-0001FY-Jl for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 09:19:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhiIJ-0001FM-8q for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 09:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhiII-0004wR-Dp; Fri, 15 Jul 2011 09:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jul 2011 13:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8460 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8460-submit@debbugs.gnu.org id=B8460.131073592618968 (code B ref 8460); Fri, 15 Jul 2011 13:19:02 +0000 Original-Received: (at 8460) by debbugs.gnu.org; 15 Jul 2011 13:18:46 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhiHx-0004vn-VO for submit@debbugs.gnu.org; Fri, 15 Jul 2011 09:18:46 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhiHq-0004vP-Am for 8460@debbugs.gnu.org; Fri, 15 Jul 2011 09:18:38 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QhiHc-0001V9-OR; Fri, 15 Jul 2011 15:18:20 +0200 In-Reply-To: <17D4B6B946FD4F9EB9FF1E76E746E68D@us.oracle.com> (Drew Adams's message of "Sat, 9 Apr 2011 11:06:28 -0700") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Joni Mitchell's _Joni Mitchell_: "Cactus Tree" X-Hashcash: 1:23:110715:drew.adams@oracle.com::qgyc3gxAKuu0FNjO:0000000000000000000000000000000000000001UflS X-Hashcash: 1:23:110715:8460@debbugs.gnu.org::PyFjqNtvg58BDCKY:00000000000000000000000000000000000000001lxGo X-MailScanner-ID: 1QhiHc-0001V9-OR MailScanner-NULL-Check: 1311340700.89938@ottbtZkEn49w6uWYqwS6yg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 15 Jul 2011 09:19:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:49127 Archived-At: "Drew Adams" writes: > It says that it "only applies to code evaluated by `eval-buffer' and > `eval-region'." That is at best misleading. `C-M-x' eventually calls > `eval-region', but a user would not guess that the doc string applies > also to `C-M-x'. It would perhaps be better to characterize the > situations where it does _not_ apply to code evaluation. True. But I've, at least, changed the doc text to clarify that it doesn't "only" apply to these functions. > It is also misleading in that it is sufficient to visit a file, such as > `minibuffer.el', that has "-*- lexical-binding: t -*-" in its first > line, for the value to be non-nil and thus affect pretty much anything > you do in that buffer. The doc string says: This variable is automatically set from the file variables of an interpreted Lisp file read using `load'. Do you have a suggestion as to how to clarify this? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/