sly icon indicating copy to clipboard operation
sly copied to clipboard

(file-position *standard-input*) signals N-A-M

Open phoe opened this issue 4 years ago • 3 comments

Forwarded from https://github.com/slime/slime/issues/620:

According to CLHS, cl:file-position is supposed to return a meaningful value when called on any stream, but (file-position *standard-input*) on slime on SBCL signals no-applicable-method.

Sly is also affected by it (and actually, this issue was originally found on Sly!).

SBCL (@csrhodes) mentioned in the slime issue that SBCL removed the default nil-returning method and why it won't re-add it, so it will be up to Slime and Sly to fix this issue.

phoe avatar May 12 '21 11:05 phoe

Hi @phoe , yes, I'm following this over at the slime bug tracker. Thanks for making the issue here to track it though. Likely I will cherry-pick SLIME's commit as I usually do. Swank stuff generally applies flawlessly (which shows how the platform-specific shims of Swank/Slynk should actually be separate projects, and maybe even merged, not so with SLIME/Sly).

BTW, again failed miserably to get into the IRC #lisp again. Too much happening and can't get a decent IRC setup. Sometimes I creep over to the logs and notice there's been a bit more some SLY related talk lately. Some innacuracies and also what seem like some actual unreported bugs. Since you hang around there, I ask you to encourage people, if you agree, to come and open issues here or start conversations in https://github.com/joaotavora/sly/discussions.

joaotavora avatar May 12 '21 12:05 joaotavora

OK, will try to do that when I notice people talking about Sly.

My personal IRC setup is irssi inside tmux running on a VPS, and it works pretty flawlessly for my use cases - it remains connected and gathers logs and mentions from all channels, I can connect to/disconnect from the same irssi from different computers at the same time and it keeps on running, and such goodies. If you want some help with setting such a thing up, give me a poke.

phoe avatar May 12 '21 13:05 phoe

Thanks! will do, will give IRC yet another try!

joaotavora avatar May 12 '21 13:05 joaotavora