From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Static Scoping versus Dynamic Scoping Date: Sun, 13 May 2007 10:31:09 +0200 Organization: Organization?!? Message-ID: <85bqgpqg4y.fsf@lola.goethe.zz> References: <1179043947.214708.291260@e51g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1179045307 25363 80.91.229.12 (13 May 2007 08:35:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 May 2007 08:35:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 13 10:35:06 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hn9Xk-0007od-P3 for geh-help-gnu-emacs@m.gmane.org; Sun, 13 May 2007 10:35:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hn9fM-0002P3-EX for geh-help-gnu-emacs@m.gmane.org; Sun, 13 May 2007 04:42:56 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!feeder.news-service.com!216.196.110.148.MISMATCH!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed01.chello.at!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:7Z9uBcR1nLB5VNWnxU1e/6DeFVU= Original-Lines: 25 Original-NNTP-Posting-Date: 13 May 2007 10:31:04 CEST Original-NNTP-Posting-Host: e8b5b494.newsspool4.arcor-online.net Original-X-Trace: DXC==Vn64c; ; 2Y5LNKYb?b>0764IUK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:43937 Archived-At: Davin Pearson writes: > I read somewhere that in the future dynamic scoping of variables in > Emacs Lisp will be replaced with static scoping. > > I don't want this to happen because I often need to make use of the > following idiom: > > (let ((case-fold-search > t)) > > (foo)) > > Inside the foo function case-fold-search's value is set to t, > whatever the global value for case-fold- search. > > Could someone please reassure me that this precious feature will not > be removed? Variables defined with defvar will not be affected by the change. There is no work in progress that would make this change likely in the next 7 years, anyway. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum