help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Static Scoping versus Dynamic Scoping


From: David Kastrup
Subject: Re: Static Scoping versus Dynamic Scoping
Date: Sun, 13 May 2007 10:31:09 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

Davin Pearson <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]