This might be a lot of work, but it would be cool. Not completely though
out yet. I'll volunteer to help out, on the R side at least. The codetools
package should help a lot.

Via font-locking or similar, indicate the scope of every symbol in the
buffer. This would distinguish symbols found in the:
* Current scope (e.g., function)
* Package imports (in developer mode) -- and which package by tooltip?
* Base namespace (in developer mode)
* Search path (when buffer has a session) -- and which element?

The goal here would be to make it more obvious when the wrong symbol is in
scope, or if a symbol is unbound. Would be cool if this updated
continuously, in a separate thread or something, but for now cold updating
by key-press would work.

A simpler first shot might be to implement this for the session buffer:
does what I'm typing exist? Is it in my workspace, or a package?

Michael

	[[alternative HTML version deleted]]

