Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mijoharas opened this issue Apr 3, 2014 · 1 comment
Closed

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

mijoharas opened this issue Apr 3, 2014 · 1 comment

Comments

@mijoharas
Copy link
Contributor

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.

mijoharas added a commit to mijoharas/haskell-mode that referenced this issue Apr 3, 2014
This is a fix for [this issue](haskell#257) which is conceptually the same as [this older issue](haskell#176)
chrisdone pushed a commit that referenced this issue May 10, 2014
This is a fix for [this issue](#257) which is conceptually the same as [this older issue](#176)
@chrisdone
Copy link
Member

Merged now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants