[Haskell-cafe] emacs problem : haskell mode keeps hanging to report types, renders emacs useless
Sean Matthews
seanmatthews1 at gmail.com
Sun Nov 5 19:24:03 UTC 2017
Problem fixed. Not an interesting problem, either. Turns out that I had not
quite completely cleaned out my emacs before reinstallation.
Many thanks,
Sean
On Sun, Nov 5, 2017 at 10:46 AM, Saurabh Nanda <saurabhnanda at gmail.com>
wrote:
>
>> 1. Exact behavior is that Emacs freezes for about a minute and displays
>> (in bold) in the type of the word I'm over.
>> Thus, I was trying to edit a small a-list with dummy 0.000s in the
>> range. Every third keystroke, emacs stopped to tell me that
>> my cursor was over 0.000::Double and I have to wait an indeterminate
>> time (at least tens of seconds, sometimes a minute or more)
>> to get control back.
>>
>
>
> So, the underlying mechanism to determine type at current cursor position
> isn't very fast. In spacemacs+intero C-c C-t (or C-c C-i) takes anywhere
> between 1 to 10 sec for me. Something in your setup has made this lookup
> automatic. It's trying to determine the type as your browse around your
> source code. Do you have any idea what could have caused that?
>
> You could try one more thing. Try delivering a SIGUSR2 to the Emacs
> process when it's stuck. It will stop doing whatever is holding it up and
> drop you into some sort of a debugger. That can give you some clues about
> what is causing this behaviour in your setup.
>
> -- Saurabh.
>
--
Sean Matthews
seanmatthews1 at gmail.com / +49 1515 800 1901
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20171105/5ff7a952/attachment.html>
More information about the Haskell-Cafe
mailing list