Skip to content

haskell-doc messages obscured by "async" messages #1327

Closed
@swilde

Description

@swilde

With current haskell-mode the output of haskell-doc minor mode (as well as other output in the emacs echo area) is obscured by useless (at least to me) "async" messages when interactive-haskell-mode is started. That is: the string "async" is printed to the echo area, thereby overwriting the actualy useful information ie. the output from doc mode...

To reproduce:

1. enable haskell-doc-mode
2. in any haskell file (with active haskell-mode) move the cursor on a known funtion (e.g. tail)
   → you should see the type of the function in the echo area (e.g. tail :: [a] -> [a])
3. now start interactive-haskell by C-c C-z
4. repeat step from 2.
   → this time the echo area shows "async" instead of the functions type

By bisecting I was able to track down the problem to commit 31426d7
reverting the changes made to haskell-doc.el there (that is: re-inserting the lexical-let) in the current master fixes the problem. I currently don't see why, but maybe someone who understands the special magic taking place there can fix it without reintroducing the use of cl...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions