<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Sean,<div class=""><br class=""></div><div class="">Did you try another mode which was called «deprecated» once?</div><div class=""><br class=""></div><div class=""><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>(require 'haskell-process)</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>(add-hook 'haskell-mode-hook 'inf-haskell-mode)</div></div><div class=""><br class=""></div><div class="">I personally use only this mode as I very appreciate a Lisp-like bottom-up development.</div><div class=""><br class=""></div><div class="">Best regards,</div><div class="">David Sorokin</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">24 нояб. 2017 г., в 1:11, Sean Matthews <<a href="mailto:seanmatthews1@gmail.com" class="">seanmatthews1@gmail.com</a>> написал(а):</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Alas I spoke too soon, and my problem is still there. So it is back to the cafe, looking for suggestions. Here is my problem in more detail:<div class=""><br class=""></div><div class=""> - I am running a windows system. (note Windows, not Unix, Linux, OS X, or any other Unix-a-like).</div><div class=""><br class=""></div><div class=""> - I have a clean emacs installation - only thing I have done is to install haskell-mode using the install-package function.</div><div class=""><br class=""></div><div class=""> - I start-up interactive haskell mode (C-c interactive-haskell-mode, C-c C-l (and I get a parsing complaint, but we ignore that)).</div><div class=""><br class=""></div><div class="">[at this point I have a live haskell process that I can interact with]</div><div class=""><br class=""></div><div class=""> - I load my file (not large) into haskell.</div><div class=""><br class=""></div><div class=""> - Emacs starts persisting in telling me in the Echo region the type of the term under the cursor - all the time - and locks down to do this.</div><div class=""><br class=""></div><div class=""> - The type report uses unicode text to do this (note that if I ask for the type with C-c C-t or C-c C-i, I also get the type, but using ascii characters, so it does not appear to be the same functionality that is being triggered - if I turn off haskell-doc then the problem continues).</div><div class=""><br class=""></div><div class="">Anybody any suggestions, recognise this problem, or even just an address where I can submit a bug report?</div><div class="">I cannot be the only person trying to work with haskell mode on windows.</div><div class=""><br class=""></div><div class="">Thanks</div><div class=""><br class=""></div><div class="">Sean Matthews</div></div><div class="gmail_extra" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""><div class="gmail_quote">On Sun, Nov 5, 2017 at 8:24 PM, Sean Matthews<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:seanmatthews1@gmail.com" target="_blank" class="">seanmatthews1@gmail.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr" class="">Problem fixed. Not an interesting problem, either. Turns out that I had not quite completely cleaned out my emacs before reinstallation.<div class=""><br class=""></div><div class="">Many thanks,</div><div class=""><br class=""></div><div class="">Sean</div></div><div class="gmail_extra"><div class=""><div class="h5"><br class=""><div class="gmail_quote">On Sun, Nov 5, 2017 at 10:46 AM, Saurabh Nanda<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:saurabhnanda@gmail.com" target="_blank" class="">saurabhnanda@gmail.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr" class=""><div class=""><br class=""></div><div class="">1. Exact behavior is that Emacs freezes for about a minute and displays (in bold) in the type of the word I'm over.</div><div class=""> <span class="Apple-converted-space"> </span>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</div><div class=""> <span class="Apple-converted-space"> </span>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)</div><div class=""> <span class="Apple-converted-space"> </span>to get control back.</div></div></blockquote><div class=""><br class=""></div><div class=""><br class=""></div></span><div class="">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?</div><div class=""><br class=""></div><div class="">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.</div><span class="m_3055799512688125263HOEnZb"><font color="#888888" class=""><div class=""><br class=""></div><div class="">-- Saurabh.</div></font></span></div></div></div></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div></div></div><span class="">--<span class="Apple-converted-space"> </span><br class=""><div class="m_3055799512688125263gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Sean Matthews<br class=""><a href="mailto:seanmatthews1@gmail.com" target="_blank" class="">seanmatthews1@gmail.com</a><span class="Apple-converted-space"> </span>/<span class="Apple-converted-space"> </span><a href="tel:+49%201515%208001901" value="+4915158001901" target="_blank" class="">+49 1515 800 1901</a></div></div></div></div></div></div></span></div></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Sean Matthews<br class=""><a href="mailto:seanmatthews1@gmail.com" target="_blank" class="">seanmatthews1@gmail.com</a><span class="Apple-converted-space"> </span>/ +49 1515 800 1901</div></div></div></div></div></div></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Haskell-Cafe mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">To (un)subscribe, modify options or view archives go to:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Only members subscribed via the mailman list are allowed to post.</span></div></blockquote></div><br class=""></div></body></html>