Code Monkey home page Code Monkey logo

Comments (5)

kovisoft avatar kovisoft commented on August 22, 2024

Thank you for your detailed bug report. I narrowed down the issue to this change in slime: slime/slime@78ad57b
It seems that they modified the :write-string logic in slime so that it now requires a :write-done message after each (?) :write-string.
I'll check how can I update slimv accordingly.

from slimv.

kovisoft avatar kovisoft commented on August 22, 2024

I made a fix in commit 55d1355
Please check it.

Later on I'm going to refresh the swank embedded in slimv to version 2.28.

from slimv.

Jach avatar Jach commented on August 22, 2024

Thanks for such a fast resolution, I can confirm that it no longer hangs. There are now noticeable delays in output (presumably from having to do the message sends?) so that I'll keep my older slime loaded first for now, but that's better than breaking. (In particular there's a delay before the final NIL in a format, but also before the package return from quickload. There's also a significant delay if quicklisp has to download something first, as there's quite a bit of output and its "progress bar" of equal signs becomes choppy.)

from slimv.

kovisoft avatar kovisoft commented on August 22, 2024

Yeah, I have also noticed this delay. And there seems to be another issue, at least on my system. If I evaluate this s-expression, then it prints much more numbers than expected:

(dotimes (g 10)
  (print g)
  (sleep 1.0))

I'm a little bit clueless, because in emacs it works as intended: sending a :write-string for each number after getting the :write-done (0 1 2 3 4 ...). However in vim it keeps sending the partial list of numbers from 0 to N upon getting the :write-done (0 0 1 0 1 2 0 1 2 3 0 1 2 3 4 ...).

Could you please check it on your system with the newest swank version (if you still have it)?

from slimv.

Jach avatar Jach commented on August 22, 2024

Here's what I'm seeing (changing the print to prin1): 000101012012012301230123401234012345012345012345601234560123456701234567012345678012345678012345678901234567890123456789
Additionally I'm able to trigger different output if I go back to insert mode before it's done printing and do something like pressing space to show the arguments for a function or tab-completing a symbol.

from slimv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.