Emacs hangs when typing in haskell-mode

816 views Asked by At

I have been using haskell-mode for some time now with no problems.

Recently emacs has started to hang for quite a while whenever I type in something in haskell-mode, say 10-15 seconds, and then returns to "normal". I can navigate around and switch buffers normally, but typing (in the haskell buffer) somehow halts emacs completely.

I don't recall changing anything, haskell- or emacs-wise, before this started occuring.

Moreover, it seems very difficult to track down. I have the following error message, but I'm not even sure that it related to this issue:

Error during redisplay: (jit-lock-function 1285) signaled (error "Error in syntax_table logic for to-the-end intervals")

The freezes/hangs only occur in haskell-mode, everything else seems to act normally.

Is there a way I can find out what is blocking, and from there probably get closer to figuring it out?

1

There are 1 answers

0
aws On

I think it could be the same as this bug. It has been fixed (in this commit) but I don't think any released versions have the fix, so you'll have to either download the latest source from git or apply the patch manually.