[slime-devel] slime equivalent of ilisp-defpackage-command-string ?

What is the slime equivalent of ilisp-defpackage-command-string? That is, a regexp that allow the user to indicate slime what sexp sets the current package (in-package)? I've got a custom macro that invokes IN-PACKAGE, and obviously, it is not recognized, so my slime-eval-last-expression are always executed in the wrong package... ilisp did the right thing )-; -- __Pascal Bourguignon__ http://www.informatimago.com/ Voting Democrat or Republican is like choosing a cabin in the Titanic.

"Pascal J.Bourguignon" <pjb@informatimago.com> writes:
What is the slime equivalent of ilisp-defpackage-command-string?
I added a new variable slime-find-buffer-package-function. You can set it to some functions which understands your syntax. Look at slime-find-buffer-package for an example.
I've got a custom macro that invokes IN-PACKAGE, and obviously, it is not recognized, so my slime-eval-last-expression are always executed in the wrong package... ilisp did the right thing )-;
Sounds like you are trying hard to shoot yourself in the foot :-). Helmut.
participants (2)
-
Helmut Eller
-
Pascal J.Bourguignon