I am using portacle as my Common Lisp environment. When I save my file it saves the entire REPL including the CL-USER>
. This results in compilation error when I try to load the file.
I want to save the code and resume from where I left off. I have been writing code at REPL, saving the work in file from the buffer by using key-chords C-x C-s. But this is breaking the continuity of the project. Please suggest a way to do this.
If you are using REPL in a terminal, you might find
dribble
useful.
However, if you are running in Emacs, you should almost never type anything at the prompt yourself. You edit a Lisp file in Lisp mode and send your code to the Lisp REPL using C-x C-e or C-M-x &c.
You should also consider using SLIME which also comes with your Portacle.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With