According to this question in order for Flymake to work you must add a special target to the makefile. I don’t want to do this. Is there an alternative to Flymake that doesn’r require you to mess around with the makefiles?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not true.
You need not change the makefile in order to run flymake. As jtahlborn’s comment said, flymake is a framework to run something when your buffer changes. It could be anything. You just need to tell flymake what to run.
For example, there’s a program called csslint. It checks a CSS file and flags any warnings or non-standard usages. Lint for CSS. When I edit a css file (in css-mode) I want flymake to run CSSlint and show me the problems. This is how I do it.
This runs a fn when flymake is loaded. The fn installs an entry in flymake’s associative list for CSS files. The entry in that list tells flymake what command to run.
There’s a little bit more to tell flymake how to parse the CSS lint error messages. But that’s the general idea.