Luke Gorrie wrote:
Sundar Narasimhan sundar@itasoftware.com writes:
Hi, Luke -- I wonder if there should be a "set-frame-in-repl" command..
This sounds like something that other people have wanted too, more or less. We can look at it in the future, but it's a bit big to slip into slime 1.0, which should go out in a week or two warts and all :-)
Cool!
Ok.. We have code that essentially does a (in-package :xyz) at the top of the file.
The modeline shows what SLIME thinks is the current package. You should see "Slime:xyz", do you?
It does say that and yet c-c c-m puts the cl-user package in front of symbols.. weird.
This is based on a text search for an in-package form, first backwards then forwards. The modeline is updated on an idle timer just for display purposes. Any evaluation/macroexpansion/etc will lookup the package by search afresh each time.
I suppose I should look up the code that does this.. to see if the package is being handled correctly. I'll look into this more.