libera/#slime - IRC Chatlog
Search
0:02:25
luis
dieggsy: all those streams that pjb mentions point to SWANK streams when you launch Lisp with M-x slime. Are you perhaps connecting SLIME to an already running process?
0:04:33
dieggsy
luis: i think i just mixed up slime and slynk as i had both open, i'll take another look
0:08:37
dieggsy
like, to the point where i feel like a lot of it is "changed the name and went with it'
0:08:59
pjb
Perhaps there's a ~/.slynk.lisp file and some (slynk:*default-worker-thread-bindings* SLYNK:*MACROEXPAND-PRINTER-BINDINGS* SLYNK::*INSPECTOR-VERBOSE-PRINTER-BINDINGS* SLYNK::*INSPECTOR-PRINTER-BINDINGS* slynk::*backtrace-printer-bindings* #+#.(cl:if (cl:find-symbol "*SLDB-PRINTER-BINDINGS*" "SLYNK") '(:and) '(:or)) slynk:*sldb-printer-bindings*) ?
0:18:28
luis
So, I expect (values swank-repl::*globally-redirect-io* swank-loader::*started-from-emacs*) to yield :STARTED-FROM-EMACS and T
0:20:39
dieggsy
luis: M-x slime, that original list shows me a swank/gray stream for the first stream, the rest are sysnonym-stream ?
0:22:08
luis
my *debug-io* evaluates to #<SYNONYM-STREAM :SYMBOL SWANK::*CURRENT-DEBUG-IO* {1004349253}>
0:22:15
dieggsy
still, something like (excl:run-shell-command "echo hey") in allegro shows output in *inferior-lisp-buffer*
0:24:59
dieggsy
i'm not sure i understand the distinction between "directly to stdout" vs ..... i sort of assumed slime was handling STDOUT in a special way? but
0:25:26
dieggsy
....end of the day, i'd just like all output to be on the repl buffer. it's a bit weird to have a separate buffer that gets some output
0:30:36
luis
dieggsy: does (excl:run-shell-command "echo hey" :output *standard-output*) work for you? It doesn't for me on Windows.
0:40:57
dieggsy
luis: ah. my brain is now connecting the dots. "how did you know about that?" now i know heh. thanks for slime then :)
0:44:14
dieggsy
this function does not in fact exist in sly... i'd say this tips the scales in slime's favor heh
0:45:38
luis
dieggsy: João may have overlooked that when he reworked the mrepl contrib. There's some good ideas in there, it'd be nice to merge them back.