From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: frame-local variables weirdness Date: Sun, 21 Oct 2007 23:56:40 +0900 Message-ID: <87fy04sehj.fsf@catnip.gol.com> References: <858x65lh4m.fsf@lola.goethe.zz> <2bfd4e060710171029g30a62313naf31c5363d85d6ca@mail.gmail.com> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1192980349 31365 80.91.229.12 (21 Oct 2007 15:25:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Oct 2007 15:25:49 +0000 (UTC) Cc: lekktu@gmail.com, stephen@xemacs.org, rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 21 17:25:48 2007 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.50) id 1Ijcg3-0002yU-WD for ged-emacs-devel@m.gmane.org; Sun, 21 Oct 2007 17:25:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ijcfw-0006N8-As for ged-emacs-devel@m.gmane.org; Sun, 21 Oct 2007 11:25:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ijcf5-0005Ds-AO for emacs-devel@gnu.org; Sun, 21 Oct 2007 11:24:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ijcf3-0005BT-LE for emacs-devel@gnu.org; Sun, 21 Oct 2007 11:24:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ijcf3-0005B9-EH for emacs-devel@gnu.org; Sun, 21 Oct 2007 11:24:17 -0400 Original-Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IjcEW-0001BT-Kk; Sun, 21 Oct 2007 10:56:53 -0400 Original-Received: from 203-216-97-240.dsl.gol.ne.jp ([203.216.97.240] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1IjcEL-0005C3-Pi; Sun, 21 Oct 2007 23:56:41 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 82EA22F4B; Sun, 21 Oct 2007 23:56:40 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: (Stefan Monnier's message of "Sun\, 21 Oct 2007 10\:24\:37 -0400") Original-Lines: 24 X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:81371 Archived-At: Stefan Monnier writes: >> It also has the big limitation that all references to the value must be >> specially written to access a specifier. > > Right, just like right now they're specifically written to access a variable. Er, well, isn't the point that that code is in general written to use variables, so that's _not_ a burden? The nice thing about these magic variables is that you can make something frame specific even though the designer of the code didn't think of that (he just used an ordinary global variable). If frame(etc)-specific values needed special syntax, either this would cease to be possible, or else a lot of code would needed to be changed, a lot of code authors would need to have their habits changed, and a lot of code would be come a fair bit uglier... -Miles -- "Don't just question authority, Don't forget to question me." -- Jello Biafra