Skip to content

haskell-mode doesn't work when which-function-mode enabled #584

Closed
@mrkkrp

Description

@mrkkrp

After a recent update haskell-mode has lost its ability to function. When I open any Haskell file, I see message "scanning declarations in filename.hs (27%)" or something like this in the minibuffer. Emacs hangs, it's clear that gets in some kind of infinite loop (according to processor usage statistic).

My investigation has shown that it happens only when which-function-mode is enabled. To reproduce: emacs -Q, then (package-initialize) to initialize haskell-mode, then (which-function-mode 1) to enable which-function, then open any *.hs file.

Note that I'm using Emacs 25.0.50.1. As far as I know which-function is built-in functionality that should work OK. So, I guess the problem is in haskell-mode.

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