Skip to content

Having a problem with haskell load file C-c C-l. #257

Closed
@mijoharas

Description

@mijoharas

So I have the same bug that is described here with a slightly different implementation. I have a prompt that is set by:

:set prompt "%s λ> "

which gives a prompt that looks like:

GHCi, version 7.6.3: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude λ> 

I fixed it by modifying your regexp from here
to this (adding an optional λ at the end of the first part before the >:

"^\\*?[[:upper:]][\\._[:alnum:]]*\\(?: \\*?[[:upper:]][\\._[:alnum:]]*\\)*\\( λ\\)?> \\|^λ?> $"

I'll send the pull request in a second.

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