This is the code:
(defpackage :morse
(:use :common-lisp))
(in-package :morse)
...
When I use C-c C-k (Compile/Load file):
CL-USER> *package*
#<PACKAGE "COMMON-LISP-USER">
; compiling file "/home/frederik/Lisp/Code/mycode/marco_baringer.lisp" (written 16 JUN 2014 11:30:15 AM):
; /home/frederik/Lisp/Code/mycode/marco_baringer.fasl written
; compilation finished in 0:00:00.025
CL-USER> *package*
#<PACKAGE "COMMON-LISP-USER">
CL-USER>
I am still in package "COMMON-LISP-USER" when the command "(in-package :morse)" is given in the source code. I should be in "MORSE" I think because when I give the command in the REPL:
...
CL-USER> (in-package :morse)
#<PACKAGE "MORSE">
MORSE> *package*
#<PACKAGE "MORSE">
MORSE>
...
Any idea? Am I wrong?