-
Notifications
You must be signed in to change notification settings - Fork 347
Use haskell-check-command for flymake-init #385
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
Conversation
Instead of the default nil of haskell-saved-check-command, uses haskell-check-command to ensure we have something reasonable to run.
Great, but this isn't just the default: I think we'd want something like P.S. Also look into Flycheck if you haven't already. It renders flymake obsolete. :-) |
I experimented with your proposed change and it doesn't necessarily work the way one would expect.
In the end, either there has to be a lot more machinery in place to make fuzzy attempts at removing the target filename from And yes, I'll investigate flycheck at some point. If flymake is obsolete, maybe it should be removed from haskell-mode? |
the semantics of haskell-check-command and haskell-saved-check-command aren't really correct for this usage
updated with my suggestion. |
Yes, possibly, though |
If it's of interest I'm going to add flycheck support to haskell-interactive-mode this weekend, after merging in #381. |
How will that work? You mean the interactive expressions will get flychecked as they are typed? |
I mean checking files using the haskell-process module. |
Aha, so that will be a custom Presumably this would then live in a separate repo and be a package which would depend on both |
Yeah, probably. |
@chrisdone ? @purcell ? Can/should this pull by @andrewsw be merged? |
Not in its current form, I'd say. This change removes I'd suggest that when running the check manually, the default command should be taken from this new |
@gracjan , yes probably. Sorry, I've been heavily distracted at work and hadn't gotten back to it. I'll try this weekend, but won't object if someone beats me to it. |
It seems that this one is stalled. If anybody finds time to push this forward do no hesitate to reopen or create a new pull request. |
Instead of the default nil of haskell-saved-check-command, uses
haskell-check-command to ensure we have something reasonable to run.
Fixes #384