-
Notifications
You must be signed in to change notification settings - Fork 347
Turn-on-haskell-indentation hook won't enable haskell-indentation #654
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
Comments
I've faced same issue, but I thought it was my fault. |
I'm not sure is this related to issue subject, but in past interactive-mode always asked me to start a new session or select existing one when I open haskell source file from new location (i.e. project). And now if I open |
@gracjan thanks for clarification on the matter. It should be enabled as Docs are not up to date with this and i was thinking of fixing it and opening a PR quickly, but it seems that it is a bigger issue. Isn't |
You are right on both points:
I'm not sure why they stopped working. |
In my case |
@dredozubov is it still relevant (sorry I've missid Gitter notifications)? |
Just a small remark because I struggled with this for a couple of minutes. Order matters.
Not the other way around. |
Nice catch. Minor modes should not interfere.
Can you debug this so that we know why does it need the order as you
described?
|
Thx. I will investigate this with my colleague who is a more advanced emacs user than me. I will post findings here /cc @gbalats. |
After recent updates(at least i think it's related to them) i experience following error when emacs tries to indent a haskell source:
Inspecting
haskell-mode-hook
shows:I have a
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
line in my~/.emacs
and it worked until recently. RunningM-x haskell-indentation-mode
manually helps with this issue(and then it repeats with other buffers).The text was updated successfully, but these errors were encountered: