Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7693895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:11:40+00:00 2026-05-31T21:11:40+00:00

According to this question in order for Flymake to work you must add a

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T21:11:41+00:00Added an answer on May 31, 2026 at 9:11 pm

    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.

    (defun cheeso-flymake-css-init ()
      "the initialization fn for flymake for CSS"
      (let* ((temp-file (flymake-init-create-temp-buffer-copy
                           'cheeso-flymake-create-temp-intemp))
             (local-file (file-relative-name
                          temp-file
                          (file-name-directory buffer-file-name))))
        (list (concat (getenv "windir") "\\system32\\cscript.exe")
              (list "c:\\users\\cheeso\\bin\\csslint-wsh.js" "--format=compiler" local-file))))
    
    (defun cheeso-css-flymake-install ()
      "install flymake stuff for CSS files."
      (add-to-list
       'flymake-err-line-patterns
       (list css-csslint-error-pattern 1 2 3 4))
    
      (let* ((key "\\.css\\'")
             (cssentry (assoc key flymake-allowed-file-name-masks)))
        (if cssentry
            (setcdr cssentry '(cheeso-flymake-css-init))
          (add-to-list
           'flymake-allowed-file-name-masks
           (list key 'cheeso-flymake-css-init)))))
    
    
    (eval-after-load "flymake"
      '(progn
         (cheeso-css-flymake-install)))
    

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

According to this question it seems like you can do this for Methods. What
According to this question I succeeded to create upload image, but now I need
According to this , Dispose() on a SqlConnection calls Close() , so you don't
Another way to ask this question is: what is Inversion of Control according to
according to this article: http://net.tutsplus.com/tutorials/other/top-20-mysql-best-practices/ using ORDER BY RAND() is a bad idea because:
after this question , I don't know what to think. In OCaml, if you
I read this question's answers that explain the order of the LINQ to objects
According to this question ( How should I handle product upgrades in a WiX
this is a question how to override themable items in Drupal 6. According to
I didnt find anything according this issue. Can jaas be used to secure my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.