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
indent bug in haskell-indent.el #142
Comments
Why would you want to indent the writeFile line? I'm assuming your issue is when using haskell-indent? (And what cool thing are you using to complete the function name?) |
Sorry for giving you bad code fragment. I mean if writeFile line is not on the right place, I cannot indent the writeFile line to the right place look like the above fragment. The cool thing is:
when I press [TAB] on the line blow the declaration, emacs will fill the function name for me automatically. I think indent.el provide that cool thing, because I can use this cool thing until indent.el is used instead of indentation.el. I'm new to emacs, and my emacs configuration comes from https://github.com/redguardtoo/emacs.d. Those two things might be producted by other things. |
I have that problem too. It seems `haskell-indent-empty' return a non-string value caused it. |
@kosl90, @ivan-m, @deftsp: Itried to reproduce your problem with current github version of haskell-mode and could not trigger described behavior. I'vre tried the code:
I've used both Can you check out if the problem described still exists? |
@chrisdone, @purcell, this seems to be fixed. |
This bug annoyed me so much, if there is such a code fragment:
I cannot indent the writeFile line, emacs told me "Wrong type argument: arryp, nil". haskell-indentation.el works right, but I cannot use the cool thing that completes my function name when I press [TAB] below my function declaration.
I will appreciate that if you guys fix it.
The text was updated successfully, but these errors were encountered: