[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dynamic scopes? fluids?
From: |
Marius Vollmer |
Subject: |
Re: dynamic scopes? fluids? |
Date: |
22 Jul 2001 21:44:04 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102 |
address@hidden (Robert Brown) writes:
> I would like to ensure that my variable is accessible within the
> current scope/environment as well as any scopes or within any
> invokations of functions under this scope, but without making it
> "global" (current top-level environment).
Why do you want that? To avoid name clashes, I'd say that modules are
sufficient. For simulating dynamic scoping, use global variables that
hold a fluid, and maintain the value of the fluid with `with-fluids'.