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 debbugs-submit-bounces@debbugs.gnu.org Thu Jun 24 14:23:37 2010 Received: (at control) by debbugs.gnu.org; 24 Jun 2010 18:23:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORr5N-00051L-8v for submit@debbugs.gnu.org; Thu, 24 Jun 2010 14:23:37 -0400 Received: from pantheon-po41.its.yale.edu ([130.132.50.98]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORr5K-00051G-K0 for control@debbugs.gnu.org; Thu, 24 Jun 2010 14:23:35 -0400 Received: from furry (dhcp128036014221.central.yale.edu [128.36.14.221]) (authenticated bits=0) by pantheon-po41.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o5OINUI2013527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 24 Jun 2010 14:23:30 -0400 Received: by furry (Postfix, from userid 1000) id 5BF4B16D416; Thu, 24 Jun 2010 20:23:29 +0200 (CEST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 1382 Date: Thu, 24 Jun 2010 14:23:29 -0400 Message-ID: <87r5jw5ly6.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.7 (--) severity 135 minor tags 710 + moreinfo unreproducible close 756 tags 844 + moreinfo unreproducible close 917 close 1000 tags 1125 + moreinfo unreproducible close 1159 severity 1238 wishlist close 1247 close 1381 close 1382 tags 1708 + moreinfo unreproducible close 1993 severity 2024 wishlist close 2236 severity 2299 wishlist tags 2394 + moreinfo unreproducible severity 2507 minor close 2583 tags 2690 + moreinfo unreproducible tags 2812 + moreinfo unreproducible tags 2843 + moreinfo unreproducible tags 2870 + moreinfo unreproducible tags 2877 + moreinfo unreproducible close 3032 close 3273 close 3349 close 4046 close 4358 close 4591 close 4656 thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 24 15:13:05 2010 Received: (at 1159) by debbugs.gnu.org; 24 Jun 2010 19:13:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORrrF-0006kV-HY for submit@debbugs.gnu.org; Thu, 24 Jun 2010 15:13:05 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORrrD-0006k9-Ji for 1159@debbugs.gnu.org; Thu, 24 Jun 2010 15:13:04 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1ORrr8-0005lO-OL; Thu, 24 Jun 2010 15:12:58 -0400 To: Chong Yidong Subject: Re: bug#1159: frame-local-variable problem From: Glenn Morris X-Spook: sniper Downing Street arrangements nuclear asset COSCO X-Ran: ACcs;u\,8^-Ly7m}|!a:@mzoTov$R0TOP4E0\bwj#/wjLj+Rkl3vyH/?m*_1o-8UF5@Ig- X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 24 Jun 2010 15:12:58 -0400 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 X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: 1159 Cc: 1159@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -5.1 (-----) Sorry, but I don't understand why you closed this. I still see the problem I described (in case there is any confusion, I cloned 1159 from 812. 812 is a doc bug that is indeed fixed). Problem: 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]). From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 24 15:30:56 2010 Received: (at 1159) by debbugs.gnu.org; 24 Jun 2010 19:30:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORs8W-0006sK-Nd for submit@debbugs.gnu.org; Thu, 24 Jun 2010 15:30:56 -0400 Received: from pantheon-po14.its.yale.edu ([130.132.50.23]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORs8V-0006sF-II for 1159@debbugs.gnu.org; Thu, 24 Jun 2010 15:30:56 -0400 Received: from furry (dhcp128036014221.central.yale.edu [128.36.14.221]) (authenticated bits=0) by pantheon-po14.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o5OJUp9r024335 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 24 Jun 2010 15:30:51 -0400 Received: by furry (Postfix, from userid 1000) id 3F76516D416; Thu, 24 Jun 2010 21:30:51 +0200 (CEST) From: Chong Yidong To: Glenn Morris Subject: Re: bug#1159: frame-local-variable problem References: Date: Thu, 24 Jun 2010 15:30:51 -0400 In-Reply-To: (Glenn Morris's message of "Thu, 24 Jun 2010 15:12:58 -0400") Message-ID: <87hbksgrdg.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: 1159 Cc: 1159@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -4.8 (----) Glenn Morris writes: > Sorry, but I don't understand why you closed this. I still see the > problem I described (in case there is any confusion, I cloned 1159 > from 812. 812 is a doc bug that is indeed fixed). Maybe "closed" is not the appropriate word. The point is that people should work on something else, not this problem, since frame-local variables are obsolete. If you prefer to mark this as "wontfix" instead, I won't object. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 24 16:00:55 2010 Received: (at 1159) by debbugs.gnu.org; 24 Jun 2010 20:00:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORsbV-00074V-V2 for submit@debbugs.gnu.org; Thu, 24 Jun 2010 16:00:54 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORsbT-00074Q-PP for 1159@debbugs.gnu.org; Thu, 24 Jun 2010 16:00:52 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1ORsbP-0007wa-3x; Thu, 24 Jun 2010 16:00:47 -0400 To: Chong Yidong Subject: Re: bug#1159: frame-local-variable problem References: <87hbksgrdg.fsf@stupidchicken.com> From: Glenn Morris X-Spook: Security Council credit card Blowpipe security Forte X-Ran: =2>U.ma.--GjY{vo'>aj\NAIs.bd4!b@r.RDRNOBM_HL&f=QedXH{}npoKusDccqsb`W#+ X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 24 Jun 2010 16:00:47 -0400 In-Reply-To: <87hbksgrdg.fsf@stupidchicken.com> (Chong Yidong's message of "Thu\, 24 Jun 2010 15\:30\:51 -0400") 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 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: 1159 Cc: 1159@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.1 (------) Chong Yidong wrote: > Maybe "closed" is not the appropriate word. The point is that people > should work on something else, not this problem, since frame-local > variables are obsolete. Since Emacs 22.2, no less. Fair enough. From unknown Fri Sep 19 14:23:41 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, 23 Jul 2010 11:24:04 +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