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
2 answers

ELISP Macro passing by symbol instead of list

(defmacro flycheck-define-clike-checker (name command modes) `(flycheck-declare-checker ,(intern (format "flycheck-checker-%s" name)) ,(format "A %s checker using %s" name (car command)) :command '(,@command source-inplace) …
RamneekHanda
  • 171
  • 5
1
vote
1 answer

How to enable `flymake-display-err-menu-for-current-line` in terminal for emacs?

I'm using flymake-python. When I execute flymake-display-err-menu-for-current-line, emacs always complains that Can not put GUI menu on this terminal. Does anyone have ideas about how to show flymake's message in a terminal?
Hanfei Sun
  • 45,281
  • 39
  • 129
  • 237
0
votes
3 answers

Emacs - Can't get Flymake to work with JSHint

I'm trying to get JSHint to work with Flymake. jshint is indeed installed in /opt/bin and works. /opt/bin is in Emacs' exec-path. I've followed the directions on the EmacsWiki and have this in my init.el: (defun flymake-jshint-init () (let*…
a paid nerd
  • 30,702
  • 30
  • 134
  • 179
0
votes
1 answer

Yellow Flymake Tooltip / error box disappearing too early

Are you using Flymake + Emacs + GHC Inferior Mode? When I have an Flymake Error raised with red background color in the editor - I can move the mouse over and get an yellow tooltip explaining the error. Unfortunatelly the tooltip disapperas…
Hartmut Pfarr
  • 5,534
  • 5
  • 36
  • 42
0
votes
1 answer

Aquamacs Erlang flymake configuration error

OSX 10.10.5 Aquamacs 3.3 GNU Emacs 25.1.1 (x86_64-apple-darwin14.1.0, NS appkit-1344.72 Version 10.10.2 (Build 14C109))of 2016-09-19 on 24a02db I'm trying to get flymake to work with Erlang files. I followed the directions…
7stud
  • 46,922
  • 14
  • 101
  • 127
0
votes
1 answer

How do I disable flymake error for one line?

I am using python flymake with emacs, and want to turn off warnings per line. I am hoping for something like apa(**kwdargs) # ignore=W0142 Does it exist?
Mary Bergman
  • 98
  • 1
  • 5
0
votes
1 answer

Should I switch from flymake to flycheck? How much will it hurt?

I've been using emacs for quite a while. Flymake is one of the features I really appreciate about emacs, and yet I wish it worked better. It's hard to configure and it can be a resource hog without fixups. I had to hack around with it - to get…
Cheeso
  • 189,189
  • 101
  • 473
  • 713
0
votes
0 answers

Flymake cleanun on killing

Whenever I exit emacs flymake leaves all these temp files lying around. Is there a way to delete those even when I kill flymake and exit. I dont want to use the hack to save files in temp folder [Edit] I am working in Haskell and it leaves temp…
Satvik
  • 11,238
  • 1
  • 38
  • 46
0
votes
1 answer

Setup makefile to check both c and c++ source files with emacs flymake

I am trying to set up syntax checking with flymake and I've got the basic setup working. My makefile for flymake is simply like follows: INCLUDES = -I ./inc ## list of more includes omitted for brevity .PHONY: check-syntax check-syntax: gcc…
teroi
  • 1,087
  • 10
  • 19
0
votes
1 answer

What is the easiest way to get flymake to work with an autoconf project with a separate build directory?

I sometimes want to keep my build directory separate from my source directory (eg I'm using the same source NFS mounted to multiple different build environments). In this configuration I can't use flymake because it can't find the Makefiles. Can…
brendan
  • 2,643
  • 1
  • 20
  • 13
0
votes
1 answer

Why is a relative file name used in Flymake recipes?

EmacsWiki, among other sources, gives this sort of recipe to add Python checking to Flymake: (defun flymake-pylint-init () (let* ((temp-file (flymake-init-create-temp-buffer-copy 'flymake-create-temp-inplace)) …
Michael Hoffman
  • 32,526
  • 7
  • 64
  • 86
0
votes
1 answer

Flymake CFGERR using custom g++ command

I am trying to get syntax highlighting for C++ code working in Emacs using flymake. I know that with the standard flymake configuration for C++ it will try and run make syntax-check, however, my build system does not use a Makefile (or at least not…
rhololkeolke
  • 746
  • 2
  • 7
  • 25
0
votes
1 answer

JSHint + Flymake - infinite loop error checking

I've tried to figure the problem myself, and will probably continue, but due to poor error reporting it's just too time consuming. So, perhaps, if anyone had encountered this problem before, please share. What happens: after flymake-jshint…
user797257
0
votes
1 answer

emacs flymake error on ubuntu (virtualbox)

I'm using emacs 23 on ubuntu 12.04(virtualbox) on windows 7. And i am getting an error like this: Flymake:Failed to launch syntax check process 'pyflakes' with args (views_flymake.py): Searching for program: no such file or directory,pyflakes.…
Eren Süleymanoğlu
  • 1,204
  • 3
  • 18
  • 26
1 2 3 4
5