Skip to content

Unicode symbols inside ghci prompt hang inferior-haskell-mode #176

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
adinapoli opened this issue Jul 4, 2013 · 6 comments
Closed

Unicode symbols inside ghci prompt hang inferior-haskell-mode #176

adinapoli opened this issue Jul 4, 2013 · 6 comments

Comments

@adinapoli
Copy link

I've discovered this by chance, because my office's laptop has a .ghci file which sets the prompt to "ghci", but my home laptop set it to "λ> ".

With my surprise, this hang Emacs completely.

Any clue? Maybe it could be worthwhile to add a note in the README to avoid too much headaches :)

@hvr
Copy link
Member

hvr commented Jul 4, 2013

The problem with "λ> " is that the current comint-prompt-regexp (i.e. "^\\*?[[:upper:]][\\._[:alnum:]]*\\(?: \\*?[[:upper:]][\\._[:alnum:]]*\\)*> \\|^> $") doesn't match anymore, so inf-haskell hangs waiting for a prompt to appear which never will...

hvr added a commit that referenced this issue Jul 4, 2013
@adinapoli
Copy link
Author

Thanks for the prompt reply :)
A.

@fosskers
Copy link

fosskers commented Dec 9, 2013

Please merge that commit. The problem still exists.

@chrisdone
Copy link
Member

@fosskers Merge into what?

@fosskers
Copy link

Oh, I suppose it hasn't been made into a pull request. @hvr Do your changes actually fix it?

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)
@gracjan gracjan closed this as completed Mar 27, 2015
@unhammer
Copy link
Contributor

Why the final $? I had to remove it to use the λ in ob-haskell.el, since org-babel expects to be able to split-string on comint-prompt-regexp.

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

6 participants