[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: void variable
From: |
Davis Herring |
Subject: |
Re: void variable |
Date: |
Thu, 19 Aug 2004 14:45:12 -0600 (MDT) |
> The patch below seems to work well. Any objection (or suggestion of
> a better message)?
> Stefan
It seems to me that it would make even more sense to actually bind the
variable's global value despite any dynamic bindings; this certainly would
be unusual, but even warning about it violates the the usual `let' binding
semantics.
(If this were judged to be a good idea, one could even have
`set[q]-global' that would provide the capacity in general. Of course, on
that note one could have `makunbound-global' and even `makunbound-default'
to complete the possibilities...)
Of course, there would then be no way to fool a `defvar' if you wanted
the global variable left unbound, but that seems like an unlikely desire
(and there's always `makunbound' if you're desperate).
This is all admittedly somewhat insane, so if it's rubbish, here's a
message idea:
"Can't bind `foo-bar' globally: `let' around `defvar'"
Davis Herring
--
This product is sold by volume, not by mass. If it seems too dense or too
sparse, it means mass-energy conversion has occurred during shipping.