luis changed the topic of #slime to: SLIME, the Superior Lisp Interaction Mode for Emacs | https://common-lisp.net/project/slime | https://irclog.tymoon.eu/freenode/%23slime | https://irclog.whitequark.org/slime
kiroul has quit [Ping timeout: 246 seconds]
pankajsg has joined #slime
pankajsg has quit [Ping timeout: 240 seconds]
pankajsg has joined #slime
_whitelogger has joined #slime
kir0ul_ has quit [Ping timeout: 272 seconds]
_whitelogger has joined #slime
_whitelogger has joined #slime
pankajsg has quit [Ping timeout: 264 seconds]
frgo has quit []
frgo has joined #slime
frgo has quit [Remote host closed the connection]
frgo has joined #slime
pankajsg has joined #slime
edgar-rft has joined #slime
svernacul has joined #slime
kir0ul_ has joined #slime
svernacul has quit [Remote host closed the connection]
flip214 has joined #slime
<flip214> Hi. I'm adding JSON encoding to swank. The remaining issue is that a simple command to switch encoding over doesn't work, as the multithreaded swank
<flip214> has no synchronization between running an EMACS-REX form and reading the next.
<flip214> So READ-MESSAGE would have to auto-detect the encoding (based on #\( vs. #\{).
<flip214> I could also offer slots in *EMACS-CONNECTION*, but as this should be read in DECODE-MESSAGE passing a simple value to READ-MESSAGE is too soon;
<flip214> the loop will already have started READ-MESSAGE before the command to switch was processed.
<flip214> So the slot would need to contain something mutable (eg. a list)
<flip214> whose identity can be kept (by appending a new en- and decoder)
<flip214> Or JSON decoding with auto-detection could be hardcoded in with some stub function that returns an error, and needs to be redefined to switch over; that wouldn't work per-connection, though.
etimmons has joined #slime
frgo has quit [Remote host closed the connection]
frgo has joined #slime