-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Common Lisp REPL state not entirely persistent #489
Comments
Also experiencing this issue, and it appears to be similar, if not identical to the issue mentioned in #310, which was resolved last year. Could this be a regression of sorts? |
@trev-dev Looking at the code for the Conjure Common Lisp client and evaluating some forms in two lisp buffers, I noticed:
Is this the desired or expected behavior?
Should this be per lisp buffer? |
See #557 |
@russtoku wrote:
I think that it should be the nearest preceeding in-package form from the form or item being evaluated. I've put a comment regarding this on the discussion #557. See also #561 |
I've added support for exactly what @russtoku describes, let me know what you think! |
I think this is fixed!? |
Hey, @Olical - apologies - and thanks! I appreciate the fix. I haven't had a chance to mess with CL but I will confirm later next week and let you know if there are any challenges. |
This may be a niche issue, but I have been unable to to call
(in-package)
and expect the REPL to stay latched onto the package/image I want to evaluate and change at runtime.In this case I'm speaking about swank running in a StumpWM instance. I can call
(in-package :stumpwm)
with conjure and I get a positive REPL response of#<PACKAGE "STUMPWM">
. Subsequent evaluations of variables an functions that should be defined in the stump image are not.However, buffer-local evaluations lead me to think that the CL-USER runtime is where the state ends up going, as re-defined variables and functions seem to persist.
I am able to get a working common lisp REPL running with Vlime, which works entirely. It may serve as a good point of reference.
Should I get better at this I will try to contribute. If anyone's able to reproduce this with other packages, I'd be curious to know
The text was updated successfully, but these errors were encountered: