From unknown Mon Jun 23 04:11:40 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#12049 <12049@debbugs.gnu.org> To: bug#12049 <12049@debbugs.gnu.org> Subject: Status: 24.1.50.1; lisp_file_lexically_bound_p does not handle local variables list Reply-To: bug#12049 <12049@debbugs.gnu.org> Date: Mon, 23 Jun 2025 11:11:40 +0000 retitle 12049 24.1.50.1; lisp_file_lexically_bound_p does not handle local = variables list reassign 12049 emacs submitter 12049 Christopher Schmidt severity 12049 wishlist tag 12049 wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 25 19:52:40 2012 Received: (at submit) by debbugs.gnu.org; 25 Jul 2012 23:52:40 +0000 Received: from localhost ([127.0.0.1]:39836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuBNf-0001SZ-D9 for submit@debbugs.gnu.org; Wed, 25 Jul 2012 19:52:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59658) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuBNe-0001ST-6u for submit@debbugs.gnu.org; Wed, 25 Jul 2012 19:52:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuBH3-0000EK-Rf for submit@debbugs.gnu.org; Wed, 25 Jul 2012 19:45:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:39136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuBH3-0000EC-My for submit@debbugs.gnu.org; Wed, 25 Jul 2012 19:45:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuBH2-0008Lp-Fz for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2012 19:45:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuBH1-0000Dg-EH for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2012 19:45:48 -0400 Received: from ristopher.com ([146.185.21.93]:45375 helo=saturn.ch.ristopher.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuBH1-0000Bs-5O for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2012 19:45:47 -0400 Received: by saturn.ch.ristopher.com (Postfix, from userid 0) id 3CDE720BC5; Thu, 26 Jul 2012 00:45:43 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ch.ristopher.com; s=mail; t=1343259944; bh=2pBTztrsPRSfajs56gggA6O5o9ruvBWWJl5VVkbxLeY=; h=From:To:Subject:Message-ID:MIME-Version:Content-Type:Date; b=hk70c1C+FVKv+UoAhJTtVD/JA4jmLrqp+AYdL5obUtEl37LPVE3M5nuJTK0Jky0tQ EyMDeZXt4C1WETU9aOYVANWSvRylsYW2vb1aX+db6MIaOESflf4wvwHJiP2gATsqBN B0PROpLq84Iz2qlsVwtbBbvC1KL+BrWVKw6PLmI4= From: Christopher Schmidt To: bug-gnu-emacs@gnu.org Subject: 24.1.50.1; lisp_file_lexically_bound_p does not handle local variables list Message-ID: <87vchbo15q@ch.ristopher.com> Mail-Followup-To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain Date: Thu, 26 Jul 2012 00:45:43 +0100 (BST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) lisp_file_lexically_bound_p does not handle local variables lists. This will make eval-buffer ignore the file-local value of lexical-binding if it is specified in such a list. Recipe: emacs -q, C-x b *scratch* RET, insert the following snippet, M-x eval-buffer RET, M-: (rms) RET. (defun rms () (let ((emacs 'vim-tiny)) (lambda ()))) ;; Local Variables: ;; lexical-binding: t ;; End: Christopher From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 25 21:47:09 2012 Received: (at submit) by debbugs.gnu.org; 26 Jul 2012 01:47:09 +0000 Received: from localhost ([127.0.0.1]:39959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuDAS-00044W-Qt for submit@debbugs.gnu.org; Wed, 25 Jul 2012 21:47:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48866) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuDAM-00044K-Sx for submit@debbugs.gnu.org; Wed, 25 Jul 2012 21:47:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuD3l-0005et-VB for submit@debbugs.gnu.org; Wed, 25 Jul 2012 21:40:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:54172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuD3l-0005ep-S0 for submit@debbugs.gnu.org; Wed, 25 Jul 2012 21:40:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuD3l-0006nA-3t for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2012 21:40:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuD3j-0005eY-NM for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2012 21:40:13 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:44512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuD3j-0005eU-J7 for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2012 21:40:11 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q6Q1e8jb004148; Wed, 25 Jul 2012 21:40:09 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 64573AECAF; Wed, 25 Jul 2012 21:40:08 -0400 (EDT) From: Stefan Monnier To: bug-gnu-emacs@gnu.org Subject: Re: bug#12049: 24.1.50.1; lisp_file_lexically_bound_p does not handle local variables list Message-ID: References: <87vchbo15q@ch.ristopher.com> Date: Wed, 25 Jul 2012 21:40:08 -0400 In-Reply-To: <87vchbo15q@ch.ristopher.com> (Christopher Schmidt's message of "Thu, 26 Jul 2012 00:45:43 +0100 (BST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV4290=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4290> : streams <790373> : uri <1175025> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) > lisp_file_lexically_bound_p does not handle local variables lists. That's a known limitation, which we decided to keep since supporting lexical-binding settings at the end of the file would force the interpreter to read the whole file before starting interpreting. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 25 21:57:55 2012 Received: (at submit) by debbugs.gnu.org; 26 Jul 2012 01:57:55 +0000 Received: from localhost ([127.0.0.1]:39983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuDKt-0004JE-01 for submit@debbugs.gnu.org; Wed, 25 Jul 2012 21:57:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36743) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuDKq-0004J7-QB for submit@debbugs.gnu.org; Wed, 25 Jul 2012 21:57:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuDEF-0008Eg-SY for submit@debbugs.gnu.org; Wed, 25 Jul 2012 21:51:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:54605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuDEF-0008Ec-Pt for submit@debbugs.gnu.org; Wed, 25 Jul 2012 21:51:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuDEE-0007dT-V0 for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2012 21:51:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuDED-0008E9-Rq for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2012 21:51:02 -0400 Received: from ristopher.com ([146.185.21.93]:45398 helo=saturn.ch.ristopher.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuDED-0008E5-Ip for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2012 21:51:01 -0400 Received: by saturn.ch.ristopher.com (Postfix, from userid 0) id AB74B20BC6; Thu, 26 Jul 2012 02:50:59 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ch.ristopher.com; s=mail; t=1343267459; bh=KemAVd0iGwolWxwD387FO796GfL9xkZRhybGnGqqTvA=; h=From:To:Subject:In-Reply-To:References:Message-ID:MIME-Version: Content-Type:Date; b=d3FERkIdaYnu4T8KdBdQ9Z+37eFZ9YqT5EqmpPPeEtACtjejLzDyttagjupzpIniN p+fccpOFPASRLiwt7jmRNyubSbnEgdHCOLSsg1PlI9eWo/uGqiDx2eznNRaEqpnGhW RamFru524Yk2qM1hfACOd2IcJ1rYrTrek1UJgv3E= From: Christopher Schmidt To: bug-gnu-emacs@gnu.org Subject: Re: bug#12049: 24.1.50.1; lisp_file_lexically_bound_p does not handle local variables list In-Reply-To: (Stefan Monnier's message of "Wed, 25 Jul 2012 21:40:08 -0400") References: <87vchbo15q@ch.ristopher.com> Message-ID: <87ipdbffy6@ch.ristopher.com> Mail-Followup-To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain Date: Thu, 26 Jul 2012 02:50:59 +0100 (BST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Stefan Monnier writes: >> lisp_file_lexically_bound_p does not handle local variables lists. > > That's a known limitation, which we decided to keep since supporting > lexical-binding settings at the end of the file would force the > interpreter to read the whole file before starting interpreting. Thanks for you answer. Is this limitation mentioned in the documentation? If so, in which node? Christopher From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 29 18:57:15 2012 Received: (at 12049) by debbugs.gnu.org; 29 Jul 2012 22:57:15 +0000 Received: from localhost ([127.0.0.1]:49436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvcQE-0007rR-9N for submit@debbugs.gnu.org; Sun, 29 Jul 2012 18:57:14 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:32994) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvcQB-0007rH-4p for 12049@debbugs.gnu.org; Sun, 29 Jul 2012 18:57:11 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SvcJD-0003UP-Dn; Sun, 29 Jul 2012 18:49:59 -0400 From: Glenn Morris To: 12049@debbugs.gnu.org Subject: Re: bug#12049: 24.1.50.1; lisp_file_lexically_bound_p does not handle local variables list References: <87vchbo15q@ch.ristopher.com> <87ipdbffy6@ch.ristopher.com> X-Spook: JPL Bin Laden codes gamma STARLAN Legion of Doom BCCI X-Ran: (pF+SenI9^_11W%P;hqfS?(/W=i#h@Nx2JVH_MO(H?r.zJ>3&Sngc7o;bLz2(@~t0bEN^= X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sun, 29 Jul 2012 18:49:59 -0400 In-Reply-To: <87ipdbffy6@ch.ristopher.com> (Christopher Schmidt's message of "Thu, 26 Jul 2012 02:50:59 +0100 (BST)") Message-ID: <2aa9yichd4.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 12049 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Christopher Schmidt wrote: >> That's a known limitation, which we decided to keep since supporting >> lexical-binding settings at the end of the file would force the >> interpreter to read the whole file before starting interpreting. > > Thanks for you answer. Is this limitation mentioned in the > documentation? If so, in which node? In the doc string of the variable lexical-binding, in the NEWS file, and in the "Using Lexical Binding" node of the elisp manual. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 29 18:57:26 2012 Received: (at control) by debbugs.gnu.org; 29 Jul 2012 22:57:26 +0000 Received: from localhost ([127.0.0.1]:49439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvcQQ-0007rn-3u for submit@debbugs.gnu.org; Sun, 29 Jul 2012 18:57:26 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:32998) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvcQO-0007rh-Sc for control@debbugs.gnu.org; Sun, 29 Jul 2012 18:57:25 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SvcJS-0003aY-Qm for control@debbugs.gnu.org; Sun, 29 Jul 2012 18:50:14 -0400 Date: Sun, 29 Jul 2012 18:50:14 -0400 Message-Id: Subject: control message for bug 12049 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) severity 12049 wishlist tag 12049 wontfix From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 27 17:15:56 2012 Received: (at control) by debbugs.gnu.org; 27 Sep 2012 21:15:56 +0000 Received: from localhost ([127.0.0.1]:59356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1THLR5-0006bV-QP for submit@debbugs.gnu.org; Thu, 27 Sep 2012 17:15:56 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:55986) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1THLR4-0006bP-Cg for control@debbugs.gnu.org; Thu, 27 Sep 2012 17:15:55 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1THLQx-0001uZ-Ve for control@debbugs.gnu.org; Thu, 27 Sep 2012 17:15:47 -0400 Date: Thu, 27 Sep 2012 17:15:47 -0400 Message-Id: Subject: control message for bug 12049 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -7.7 (-------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.7 (-------) close 12049 From unknown Mon Jun 23 04:11:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 26 Oct 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator