Skip to content
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

flymake-allowed-file-name-masks is void #1825

Closed
magthe opened this issue Sep 30, 2023 · 3 comments
Closed

flymake-allowed-file-name-masks is void #1825

magthe opened this issue Sep 30, 2023 · 3 comments

Comments

@magthe
Copy link
Contributor

magthe commented Sep 30, 2023

I had to add this

(setq flymake-allowed-file-name-masks nil)

to make haskell-mode load on my latest build of 30.0.50.

I'm guessing it's this line that's failing when flymake-allowed-file-name-masks is void

(add-to-list 'flymake-allowed-file-name-masks '("\\.l?hs\\'" haskell-flymake-init))
@terlar
Copy link

terlar commented Oct 6, 2023

Investigating a bit and the cause of this is the following commit:
emacs-mirror/emacs@81c6569

This variable is defined by flymake-proc which is not always required within flymake anymore. One solution is to require flymake-proc inside haskell-mode.el. However, given that proc is a legacy API, perhaps we should get of it anyways.

@Eason0210
Copy link

Eason0210 commented Oct 9, 2023

Have the same issue with Emacs 30.0.50, got this message when enable haskell-mode:

File mode specification error: (void-variable flymake-allowed-file-name-masks)

Please fix it.

@arjunkathuria
Copy link

ran into the same issue, seems @purcell fixed it. Thanks Steve!

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

5 participants