Dynamic highlighting hangs VImClojure with Overtone

Create issue
Issue #96 new
sattvik created an issue

Dynamic highlighting usually works just fine for me. However, with Overtone [overtone "0.6.0"], if it's turned on, it causes the plugin to hang. I can usually <c-c> out of it.

Upon closer inspection, it seems like the ng client process for the dynamic highlighting runs at 100% CPU.

Comments (5)

  1. Former user Account Deleted

    I am still encountering this with VimClojure 2.3.3 (via vimclojure-easy) and Overtone 0.8. It doesn't matter if I'm issuing an Overtone-specific command or just evaluating (+ 1 2). I don't even have to have Overtone imported into the file I'm editing or have started SuperCollider.

    This does not occur when I run VimClojure with a fresh lein project without Overtone.

    I'm using lein-tarsier to start the ng server.

  2. Meikel Brandmeyer repo owner

    I cannot reproduce this neither with overtone 0.6.0, nor with 0.7.1. Initial start takes a while, but then everything works as expected.

  3. Chris Ford

    This issue is still occurring for me on:

    • Clojure 1.3.0
    • Ubuntu 12.04
    • VimClojure 2.3.5 via vimclojure-easy
    • lein tarsier 0.9.1
    • Overtone 0.7.1

    I have discovered something further about the bug that might give a clue as to what's happening.

    If there is no result window and I evaluate a command, it hangs until I kill it. this occurs with Overtone commands as well as ordinary commands e.g. (+ 1 2). If there is already a result window open, the command *does not* hang.

    I haven't been able to reproduce this on a trivial non-Overtone project. I realise it's a somewhat obscure condition, so I'm not really expecting a resolution unless I come up with more information, and it's easy enough to work around it by switching off dynamic highlighting.

  4. Log in to comment