haskell / haskell/haskell-mode

Emacs pauses for several seconds when showing type signature at point on Windows

Open
#1,575 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Emacs Lisp
Stars
1.4k
Forks
354
Avg merge
5d 10h
Merged PRs (30d)
2

Description

When on Windows, emacs pauses for several seconds every time I move the point to the end of an identifier while it tries to show me the type signature in the minibuffer. It seems to me that it must be something to do with automatically running `haskell-doc-show-type` (in `haskell-doc-mode-print-current-symbol-info` [here](https://github.com/haskell/haskell-mode/blob/03ced314205d2441f21c18464ad1e6a775c675b2/haskell-doc.el#L1386)).

I regularly use emacs and Haskell on both Linux and Windows. On Linux I've never noticed anything in this regard, but on Windows it makes haskell-mode almost unusable. I have to avoid leaving the point at the end of an identifier for more than half a second.

Although I use it all the time, I'm not very experienced in debugging emacs. I don't know how to figure out what's causing the problem.

In a somewhat related note, I can't get it to *stop* automatically showing me the type signatures of the identifier at the point in the minibuffer. I turned off `haskell-doc-mode`, but it didn't seem to do anything.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.