haskell-doc-mode we have a timer that shows useful tips in minibuffer when cursor is idle for a moment. In other part of Haskell Mode there is code asking questions using
read-event. The problem is
haskell-doc-mode does not know about this and overwrites echo area. Users are confused and think Emacs is hanging.
Is there a general mechanism to detect if
y-or-n-p is running?
Link to the reported issue: