Thicket thicket
cambridge
REPOS 4

Projects covers Forester, Merry, xdge and ocaml-crockford.

W45.2026 · 2–8 Nov / Issue

Language server edits cause many refreshes in a row

tangled · jonmsterling.com/ocaml-forester · did:plc:jjiv56ot7d6sgethto3jr3r5

I think this was fixed a while ago, but the issue is back. If I am typing in an erroneous state, the live preview will then enqueue a refresh for every keystroke. It can take several seconds to get out of this state.

Comments

did:plc:jjiv56ot7d6sgethto3jr3r5

Regrettably, this regression seems to have happened in the past 24 hours or so. I didn't notice it prior to sending the release in, but if we can fix it quickly, we could get it in for 6.0.


did:plc:jjiv56ot7d6sgethto3jr3r5

I'm investigating this and it is not as simple as I described. A way to reproduce it is to edit a macro that is used in a zillion places. But the bug doesn't trigger on ordinary edits.


did:plc:jjiv56ot7d6sgethto3jr3r5

I think since this is not as easy to trigger as I thought, it shouldn't hold up 6.0.


did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

fixed.


did:plc:jjiv56ot7d6sgethto3jr3r5

very nice :)