<vms14>
isn't able to give me the slime repl, only the inferior one
<vms14>
why is happening?
luis has joined #slime
<luis>
vms14: did you (setq slime-contribs '(slime-fancy))?
<vms14>
luis yes
<vms14>
I have running it sometimes
<vms14>
sometimes I just type M-x slime and works
<vms14>
but others fail so I need to start sbcl and load swank, then type slime-connect
<vms14>
I'm curious about why it happens, and it seems to be an unknown bug for users, so idk if it's related with NetBSD, a bug that only happens here for some reason, or other users had this problem
<vms14>
note in netbsd sbcl has no thread support
<vms14>
so could be the reason it fails
<vms14>
but sometimes work, so idk
<luis>
vms14: at the beginning of the *inferior-lisp* buffer, you can see the commands that should have triggered the connection to Emacs/SLIME
<luis>
vms14: perhaps if you sprinkle some print debugging it'll yield some sort of clue
<vms14>
I'll try to invest
<vms14>
it fails at random, now I try to reproduce the bug by typing M-x slime and worked
<luis>
vms14: the non-sb-threads paths are most likely poorly tested :(
<vms14>
I'd like to have thread support in sbcl with netbsd
<luis>
vms14: out of curiosity, you could try to add (setq swank:*communication-style* nil) to your ~/.swank.lisp
<vms14>
luis what will do?
<vms14>
I've put it in the .emacs.el, I see no difference, slime started normally
<luis>
vms14: it doesn't do anything in .emacs.el since it's common lisp code.
<vms14>
oh lo
<vms14>
lol
<vms14>
xD
<vms14>
it compiled something
<luis>
vms14: it enables a simpler communication style which won't let you evaluate SLIME requests while another event is being processed and things like that, but if it launches reliably it might be an indication that SLIME's fd-handler code is at fault or your SBCL's fd-handler support is at fault.
<luis>
After you add that to ~/.swank.lisp, you need to start SLIME again.
<vms14>
luis I did
<vms14>
I added that in the emacs.d/elpa/slime-2.24/swank.lisp
<vms14>
started emacs and slime and saw some compilation stuff I've never seen before, so it did something
<luis>
~/.swank.lisp would have been better.
<vms14>
/home/vms/.slime/fasl/2.24/sbcl-1.4.3-no-threads-unix-x86-64/contrib/swank-hyperdoc.fasl written
<vms14>
and so on
<vms14>
so this will prevent the bug?
<luis>
No, it just might give us a clue whether the bug is specific to the :fd-handler communication-style
<luis>
Well, it might prevent the bug, I don't know. :-)
<luis>
I'm off to bed. Long day. 👋
<vms14>
slime works with this, since it's a bug that happens at random I'll let this on the swank.lisp file
<vms14>
thanks luis gn
<luis>
vms14: like I said, it's best to add that bit to ~/.swank.lisp (/home/vms/.swank.lisp). Next time you update SLIME, that local change you made to slime-2.24/swank.lisp will go away.
<vms14>
thanks for the hint
makomo has quit [Ping timeout: 265 seconds]
vms14 has quit [Remote host closed the connection]