Questions tagged [flymake]

Flymake is a minor editing mode for Emacs that performs on-the-fly syntax checks on the contents of your current buffer as you edit it, highlighting errors and warnings against the lines they occur on.

Flymake currently has in-built support for C/C++, Java, XML, Perl, PHP and Tex, there are also plugins available for Python and Ruby.

Some useful places to get started:

Flymake mode has been bundled with Emacs since v23, prior to that you needed to manually install it.

74 questions
1
vote
0 answers

disable or suspend flymake when visiting file with merge conflicts

When opening a file with unresolved merge conflicts in it, Emacs enable smerge-mode by default along with other modes (in this case Python mode + EGlot and friends). This triggers Flymake to run as well which complains about the merge conflict…
mkjmkjmkj
  • 21
  • 4
1
vote
1 answer

Emacs 26 flymake: customizing the mode line format

I'm considering switching back from flycheck to flymake after the Emacs 26 rewrite. One thing that bothers me about flymake is how much room on the mode line it takes up. It has a string Flymake plus the results. It seems like a silly thing but…
MadScientist
  • 92,819
  • 9
  • 109
  • 136
1
vote
2 answers

flymake CFGERR problem

I'm trying to use flymake on emacs 22.3.1 on openSuse 11 but I got this error: Making completion list... file /home/ruggero/makefily/prova.cpp, init=flymake-simple-make-init flymake is running: nil file /home/ruggero/makefily/prova.cpp,…
Ruggero Turra
  • 16,929
  • 16
  • 85
  • 141
1
vote
0 answers

How to resolve the error “Spawning child procees: invalid argument …” in flymake for erlang?

I'm trying to enable flymake for erlang on emacs for windows, and I'm encountering a problem. when i type M-x flymake-mode RET while in a buffer of a file named e.erl I get an error mesesage saying: Flymake: Failed to launch syntax check process …
user2466186
  • 11
  • 1
  • 2
1
vote
1 answer

Emacs flymake-jslint show all errors

I want to use jslint in emacs, so I installed package flymake-jslint and flymake-cursor. I have really simple javascript file: /*global desc, task, jake, fail, complete */ "use strict"; task("example", function() { var x = 5 …
tkowal
  • 9,129
  • 1
  • 27
  • 51
1
vote
1 answer

Emacs flymake on Mac Yosemite

Flymake in emacs was properly working until update to Yosemite. But now it's complaining: Flymake: Failed to launch syntax check process 'pychecker' with args (_flymake.py): Searching for program: no such file or directory, pychecker.…
se7entyse7en
  • 4,310
  • 7
  • 33
  • 50
1
vote
2 answers

flymake-google-cpplint-filter or linelength does not seem to take hold on my emacs file

I have the following packages installed in emacs 24 flymake-google-cpplint is an installed package. Status: Installed in `/home/myname/.emacs.d/elpa/flymake-google-cpplint-20140205.525/'. Version: 20140205.525 and in my emacs I have the…
thassan
  • 391
  • 3
  • 15
1
vote
1 answer

Where and How to create a makefile for flymake

I'm sorta lost because I'm not sure where to place, or exactly how to create the flymake makefile. I saw the emacswiki article on it, but (and maybe I just overlooked it) I didn't find where to place the file, or how to specify where it is.
Matt
  • 3,508
  • 6
  • 38
  • 66
1
vote
1 answer

Scons: build header file with Object builder

Short Version of my Question I want to compile a .hpp file using Scons and for that I use the following target: env.Object('file.o', 'file.hpp') Running Scons with this target gives me the following error: Don't know how to build from a source file…
Thomas
  • 1,060
  • 8
  • 10
1
vote
1 answer

Flymake with xmlstarlet and tramp hangs emacs

I have flymake enabled in my Emacs configuration. Locally it works fine, but when I try to open a remote html file with tramp, Emacs hangs and I have to kill it. I tried to check with gdb, and the top of the stack is as follows: #0 …
Marco Righele
  • 2,702
  • 3
  • 23
  • 23
1
vote
1 answer

How to find out the reason a line is highlighted when using elpy?

When a line of mine is unacceptable to the default syntax/quality checker used with elpy, it underlines the line in red. How do I find out why the lne is underlined?
Terrence Brannon
  • 4,760
  • 7
  • 42
  • 61
1
vote
0 answers

Flymake for scala?

I have successfully installed ensime, but I do not see any error highlighting in my code. I was sure there would be a Flymake for scala, but I can't seem to find it anywhere. When I try to M-x flymake-mode in a scala buffer (with ensime connected,)…
DJG
  • 6,413
  • 4
  • 30
  • 51
1
vote
2 answers

Opening HTML file with nXhtml produces error with flymake

When I open an HTML file with emacs (and nXhtml,) I get the following error from flymake: Error (flymake): Flymake: Failed to launch syntax check process 'xml' with args (val /home/ABC/Downloads/capitals_flymake.html): Searching for program:…
DJG
  • 6,413
  • 4
  • 30
  • 51
1
vote
2 answers

Flymake pdflatex ubuntu 12.04 emacs 23.3.1 Configuration Error

i tried to get flymake for pdflatex running on my system. The following code is included in my .emacs file: (require 'flymake) (defun flymake-get-tex-args (file-name) (list "pdflatex" (list "-file-line-error" "-draftmode" "-interaction=nonstopmode"…
rantanplan
  • 11
  • 2
1
vote
1 answer

Pyflakes with Emacs

I'm trying to install pyflakes with emacs. So far, i've got the flymake.el file from here. I put it inside my .emacs.d folder. Inside my .emacs file, I have this: (when (load "flymake" t) (defun flymake-pyflakes-init () (let* ((temp-file…