I'm trying to create just a basic package called "a" (to learn) with asdf which I've already defined in package.lisp, and my main file a.lisp starts with:
(in-package :a)
...
If I'm developing my module I'd just like to run eval the whole buffer into the SLIME REPL by doing M-x slime-eval-buffer or something, but that does not happen, after running that command I'm still at the cl-user package:
;;; from a.lisp
A> (in-package :a)
#<PACKAGE "A">
CL-USER> <--- should have stayed in A>
If however I paste the whole code in the SLIME REPL myself it already works. Pasting lots of code over and over is not nice at all though for interactive development.
Can you help? Do you have suggestions for what I'm getting wrong, or how you usually cope with this instead?
Thank you.