Skip to content

C-c C-l gives uneasy suggestion #522

Closed
@gracjan

Description

@gracjan

C-c C-l says:

You tried to do an interaction command, but an interaction mode has not been enabled yet.
Run M-x describe-variable haskell-mode-hook for a list of such modes.

(this does not fit in minibuffer because it is two lines long, but disregarding that)

M-x describe-variable haskell-mode-hook tell the usual Emacs blurb and this:

Documentation:
Hook run after entering Haskell mode.

M-x customize-option RET haskell-mode-hook suggests a lot but neither interactive-haskell-mode nor inf-haskell-mode is in the list.

Then there is a link to "See also haskell-mode and (haskell-mode)haskell-mode-hook." and that leads to:

@vindex haskell-mode-hook
One of the important setting you should customize is the @code{haskell-mode-hook} variable  
(@pxref{Hooks,,,emacs}) which gets run right after the @code{haskell-mode} major mode is
initialized for a buffer. You can customize @code{haskell-mode-hook} by 
@kbd{M-x customize-variable @key{RET} haskell-mode-hook}. It's highly recommended you
set up indentation to match your preferences; @xref{Indentation}, for more details about
the indentation modes included with Haskell Mode.

So still nothing about interactive-haskell-mode.

There is wiki: https://github.com/haskell/haskell-mode/wiki/Haskell-Interactive-Mode-Setup , where we read:

Run C-` to make a REPL open, this will create a session, start GHCi, and open the REPL.

Meanwhile C-backtick (haskell-interactive-bring) is not bound at all.

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