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
prite has joined #slime
<fiddlerwoaroof> luis: that PR looks good to me
<fiddlerwoaroof> the only slight issue I have is that it's theoretically possible for a rogue inferior lisp to intern a bunch of symbols in emacs and crash the editor
prite has quit [Ping timeout: 268 seconds]
prite has joined #slime
<luis> fiddlerwoaroof: that's already possible since any swank message can intern symbols.
scymtym has quit [Ping timeout: 240 seconds]
<fiddlerwoaroof> luis: cool, I suspected it wouldn't be an issue
<luis> ed-rpc, epc, ec, ecall, efuncall? 🤔
<fiddlerwoaroof> ed-rpc works for me
<luis> You know the joke about the two hardest problems in Computer Science right?
<fiddlerwoaroof> :)
<fiddlerwoaroof> cache invalidation and cache invalidation?
<luis> Cache invalidation is definitely in the top 3. :)
<luis> Anyway, if you could use ed-rpc in the new contrib that'd be great. I'd merge the PR once you confirm it works for you
<fiddlerwoaroof> ok
<prite> The two hardest problems in CS: naming things, cache invalidation, and off-by-one errors. Right?
<fiddlerwoaroof> luis: is it possible to reload slime without restarting emacs?
<fiddlerwoaroof> I guess I could load-file slime.el, but is there a better way?
<fiddlerwoaroof> luis: one issue that occurs to me is that emacs puts everything into a global namespace
<fiddlerwoaroof> So, naming defslimefuns is a bit annoying
<fiddlerwoaroof> we could have swank automatically transform the symbol to package-name:symbol-name before sending it across to emacs
<luis> prite: exactly!
<fiddlerwoaroof> My cache didn't invalidate properly
<luis> fiddlerwoaroof: I see your point. It's not too different in the opposite direction, though. See slime-eval calls.
<fiddlerwoaroof> yeah, calling from slime to swank is easy because elisp symbols can contain :
<fiddlerwoaroof> Hmm, there's a slight issue with my buffer streams
<fiddlerwoaroof> (close stream) doesn't really do anything
<luis> What should it do? Close the buffer?
<fiddlerwoaroof> I'm not really sure
<fiddlerwoaroof> At least delete the marker, I'd think
<fiddlerwoaroof> On the other hand, it's not a huge deal, and it's probably UB to attempt to write to a closed stream anyways
<luis> fiddlerwoaroof: https://github.com/emacscollective/auto-compile is close to what you want, I think a little tweak to its require advice would do what you want
<fiddlerwoaroof> thanks
<fiddlerwoaroof> Anyways, your rpc stuff works nicely for my use-cases
<luis> fiddlerwoaroof: cool, I'll merge it soon then
<fiddlerwoaroof> I've updated my PR to depend on yours.
<luis> Re your PR, do you want to commit a minimal version first or add more features before a first merge?
<fiddlerwoaroof> I think getting the minimal version out would be best, unless there are other features you think the initial release should have
scymtym has joined #slime
<fiddlerwoaroof> I think a lot of the stuff I want to do may require changes to the swank gray streams, which might be more disruptive
<luis> I suspect so, too.
<luis> I look forward to the buffer position marker(s) being visible/settable, BTW.
<luis> OK, so today I'll merge both PRs if all goes well then.
<fiddlerwoaroof> Cool
<luis> Got to go to work now. 👋
<fiddlerwoaroof> have fun :)
cage_ has joined #slime
prite has quit [Ping timeout: 245 seconds]
prite has joined #slime
prite has quit [Client Quit]
prite has joined #slime
scymtym has quit [Ping timeout: 268 seconds]
scymtym has joined #slime
cage_ has quit [Remote host closed the connection]
prite has quit [Ping timeout: 245 seconds]