Skip to content

ghc-mod: unknown command: `legacy-interactive' #697

Closed
@pmiddend

Description

@pmiddend

I'm using the latest ghc-mod version from hackage (5.2.1.2) and the latest versions of "ghc" and "haskell-mode" from melpa. ghc-mod doesn't work because:

ghc-mod: unknown command: `legacy-interactive'

Apparently it needs either an older or newer version of ghc-mod. So I went and used the elisp sources from my ghc-mod version, not the ones from melpa. With those, ghc-mod works, but pressing M-? to display an error in the source files gives:

function definition is void: turn-off-haskell-font-lock

I suspect that the haskell-mode package from melpa depends on the ghc package from melpa. So what do I do here? Install some older version of the haskell-mode package? If so, which one? How do I know which version of haskell-mode plays along with the ghc emacs package and ghc-mod?

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