This can be somewhat surprising I think. Instead of requiring everyone to make locals of all global things in their Spookfiles I believe it's better to just setfenv on the given functions so globals are available. They are already available in the function given to "watch" and the other handlers (timer, signal etc). Doesn't make sense that they're not also available in the actual change handlers.
This can be somewhat surprising I think. Instead of requiring everyone to make locals of all global things in their Spookfiles I believe it's better to just setfenv on the given functions so globals are available. They are already available in the function given to "watch" and the other handlers (timer, signal etc). Doesn't make sense that they're not also available in the actual change handlers.