From unknown Wed Jun 18 00:10:18 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#812 <812@debbugs.gnu.org> To: bug#812 <812@debbugs.gnu.org> Subject: Status: frame-local-variable documentation Reply-To: bug#812 <812@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:10:18 +0000 retitle 812 frame-local-variable documentation reassign 812 emacs submitter 812 Nikolaj Schumacher severity 812 normal thanks From me@nschum.de Thu Aug 28 14:23:31 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 28 Aug 2008 21:23:31 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7SLNQPK022618 for ; Thu, 28 Aug 2008 14:23:28 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYoxh-0008Lh-IX for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 17:23:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYoxg-0008LI-Mv for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 17:23:24 -0400 Received: from [199.232.76.173] (port=41332 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYoxg-0008L7-9J for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 17:23:24 -0400 Received: from dd18200.kasserver.com ([85.13.138.168]:44026) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KYoxf-0006O2-JQ for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2008 17:23:23 -0400 Received: from arwen.uni-trier.de (BAHb9d4.bah.pppool.de [77.135.185.212]) by dd18200.kasserver.com (Postfix) with ESMTP id 28E991807316A for ; Thu, 28 Aug 2008 23:23:28 +0200 (CEST) To: bug-gnu-emacs@gnu.org Subject: frame-local-variable documentation From: Nikolaj Schumacher User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin) Date: Thu, 28 Aug 2008 23:23:21 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) As far as I can tell frame-local variables have been (or are about to be) removed and currently don't work. Given that, I find the documentation slightly misleading. `modify-frame-parameters' still contains this paragraph: > The value of frame parameter FOO can also be accessed > as a frame-local binding for the variable FOO, if you have > enabled such bindings for that variable with > `make-variable-frame-local'. That should be removed, I think. `make-variable-frame-local' has this note: > This function is obsolete since 22.2; > use a frame-parameter instead. I think those two carry the notion that it's still possible to access a frame-parameter as a variable, just by using modify-frame-parameters. The explanation in the NEWS file is more clear in this regard: > They can easily be emulated. Rather than calling > `make-variable-frame-local' and accessing the variable value directly, > explicitly check for a frame-parameter But I think removing the first one should avoid any confusion. regards, Nikolaj Schumacher From rgm@gnu.org Sat Aug 30 15:58:33 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.0 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 812) by emacsbugs.donarmstrong.com; 30 Aug 2008 22:58:33 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7UMwUvK014975 for <812@emacsbugs.donarmstrong.com>; Sat, 30 Aug 2008 15:58:31 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KZZNI-0000sA-0R; Sat, 30 Aug 2008 18:56:56 -0400 From: Glenn Morris To: Nikolaj Schumacher Cc: 812@debbugs.gnu.org Subject: Re: bug#812: frame-local-variable documentation References: X-Spook: global Kh-11 Bush Wired class struggle IDEA UFO Craig X-Ran: }b'OgjGQ(I@qBUgg|x<.M#-5UIyvuRMDeNf%T)Zuz&Z3H0!@qfIlq^2[s%]!|zcb*/5QoS X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 30 Aug 2008 18:56:55 -0400 In-Reply-To: (Nikolaj Schumacher's message of "Thu, 28 Aug 2008 23:23:21 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Nikolaj Schumacher wrote: > As far as I can tell frame-local variables have been (or are about to > be) removed and currently don't work. They haven't been removed and will still be in 23.1, except: "Variables cannot be both buffer-local and frame-local any more." However, something seems broken. This works as it should: emacs -Q (setq foo 'bar) (make-variable-frame-local 'foo) ; [1] (set-frame-parameter nil 'foo t) foo ; -> t [2] (make-frame) foo ; -> bar in new frame, still t in old frame [3] If you add an extra evaluation of `foo' at point [1] (after making it frame local, but before adding a frame parameter), then at point [2] you get 'bar rather than t. After you make a new frame, it starts working (at [3]). > `modify-frame-parameters' still contains this paragraph: > >> The value of frame parameter FOO can also be accessed >> as a frame-local binding for the variable FOO, if you have >> enabled such bindings for that variable with >> `make-variable-frame-local'. > > That should be removed, I think. I mentioned it's obsolete. > `make-variable-frame-local' has this note: > >> This function is obsolete since 22.2; >> use a frame-parameter instead. I tweaked it. From rgm@gnu.org Mon Oct 13 20:01:19 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-9.6 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, NOSUBJECT,RCVD_IN_DNSWL_MED,VALID_BTS_CONTROL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 14 Oct 2008 03:01:19 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9E31Gd1005983 for ; Mon, 13 Oct 2008 20:01:17 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Kpa7R-0001Zg-GU; Mon, 13 Oct 2008 22:58:45 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18676.2789.465996.79477@fencepost.gnu.org> Date: Mon, 13 Oct 2008 22:58:45 -0400 From: Glenn Morris To: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: yellow X-Ran: 5(z]VAYIx5eYy'D`gU1IXx/?np>H#Kz!sFglYT*pGM,}ETV#*P93&[[)/hKH10Q3\M"gI8 X-Debbugs-No-Ack: yes severity 1083 normal tags 1083 moreinfo clone 812 -1 retitle -1 frame-local-variable problem submitter -1 Glenn Morris close 812 tags 1156 unreproducible From unknown Wed Jun 18 00:10:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Tue, 11 Nov 2008 15:24:04 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator