CLISP, EMACS & SLIME and the '(slime-repl)
Hello folks - good day
Try as I might, on Slackware 14.2 (32 or 64), I cannot get a working CLISP/EMACS/SLIME setup with the latest versions - well more specifically, it is when trying to use the contrib '(SLIME-REPL) ... which is the whole point of using EMACS/SLIME. I am always getting 'unexpected disconnections' when an error is encountered in a lisp form. I have raised this on the CLISP mailing list and some responses were given, though not to resolution. Indeed, one suggested that on their *Debian* setup of CLISP/EMACS/SLIME using the SLIME-REPL was fine and I am not sure what that suggests. It used to work I feel on earlier co-operating versions, but I am not any where near competent in lisp, clisp, emacs etc to debug it etc. ***** Any way all that said, what my enquiry here is about: if anyone is using CLISP, EMACS, SLIME with the SLIME-REPL on Slackware specifically, please can you post the .clisprc.lisp, the .emacs config files... please ? I can start from there and that seems better than any thing else at this stage. ***** I have tried all sorts of settings from simple to complex and nothing seems to stop the 'unexpected disconnection' when using the 'slime-repl'. Thank you if by [perhaps] rare chance, anyone out there is using without any errors and can post the configs. Habs |
Maybe you should raise an issue at https://github.com/slime/slime/issues
When you turn on "Enter debugger on error" in the options menu and then run your command, what does the traceback look like? |
Quote:
I dont get a traceback, because the 'unexpected disconnection' between CLISP and SLIME/SWANK just crashes out. Mind you, I am not aware of how or where (CLISP, or SLIME/SWANK) to debug it. CLISP is running as inferior-lisp in EMACS SLIME mode. That's why I wanted first to start with some know working configs on Slackware 14.2, 32 and 64 bit. Maybe someone will pop along with some in the meantime...probably not though :-) Regards. Habs |
So, I just used a special user that I have on my Slackware64 14.2 system that normally doesn't have anything special configured.
I used MELPA to install SLIME by creating the file ~/.emacs.d/init.el containing... Code:
(require 'package) Code:
M-x package-refresh-contents Code:
M-x package-install RET slime RET Code:
(require 'slime-autoloads) I then ran Code:
M-x slime Code:
(setq barf "bibble" The *sldb clisp/0* buffer gave me Code:
READ from #1=#<INPUT STRING-INPUT-STREAM>: an object cannot start with #\) |
@richard cranium - thankyou for that.
Since your previous to last post, I've been narrowing down the issue. This problem appears to be only when using a 32bit system...I've tried Debian 32bit (as a virtual machine) too and get the same 'unexpected disconnection...'. Your 64bit test does appear to work fine just as it did for me. I have consulted the Clisp mailing list with the 32bit observation to see if there is any comment/observation/verification on the problem. Thanks again for the interest. If you have available a 32bit setup to try as you did 64bit and a bit of time in and amongst...that would be helpful. Of course it may just be easier to migrate from 32bit machines, but finding out why this is happening when it shouldn't be might not then happen. |
So, I created a new VM for Slackware 14.2 and upgraded it to be up-to-date.
I then followed the same steps to install SLIME as I mentioned above. I then evaluated the form (setq barf "bibble")), which failed with a "Lisp connection closed unexpectedly: connection broken by remote peer" The buffer *inferior-lisp* contained a better error message... Code:
*** - handle_fault error 2 ! address = 0x408 not in [0x206ec004,0x20924874) ! I'm afraid that my interest in a 32-bit only problem is practically non-existent; none of my current machines run 32 bit slackware and I don't see doing so in the future. |
I dare say we have arrived at the same point. As I mentioned, it isn't just Slackware; this happens with Debian too. It seems to be just 32bit as we have observed.
Thank you for your testing @Richard Cranium. Perhaps your comments on 32bit machines reflect the natural progression, but in that, what used to work no longer does. My foray into this problem started with trying to do a remote connection (as in from one machine to slime/swank on a remote machine) and it failed to work, but if I recall, the remote slime/swank was on a 32bit machine. It would seem that the CLISP /SWANK comms. on 32bit is suspect. Cheers. I will report back to clisp-list |
All times are GMT -5. The time now is 02:48 PM. |