As of May 31, 2023, we have updated our Code of Conduct.

Hot answers tagged

9 votes
Accepted

flymake : How can I modify/ignore syntax and styling rules?

flymake uses flake8 to check the errors, so you have to tell flake8 which errors you don't want to see. You can do that globally by creating the file ~/.config/flake8, with the following content: [...
Jesse's user avatar
  • 1,974
4 votes

How do I find out what package is adding red boxes to my source code?

What I did is put the point on top of the error line and then did M-: (face-at-point) which gave erm-syn-errline. I then went greping through the source and found that it was coming from enhanced ...
pedz's user avatar
  • 365
3 votes
Accepted

How do I disable a flymake backend?

See flymake-diagnostic-functions: The functions in this hook diagnose problems in a buffer’s contents and provide information to the Flymake user interface about where and how to annotate problems ...
muffinmad's user avatar
  • 2,230
2 votes
Accepted

ESS installation does not initialize flymake

R executable I confirm that flymake can now find the R executable. The line (setq inferior-ess-r-program "/usr/local/bin/R") was the problem: without the line, I (executable-find "R") returns nil and ...
miguelmorin's user avatar
  • 1,731
2 votes
Accepted

Configure Flymake for proselint

I took another approach, using flymake-quickdef, so as to leverage flymake-diagnostic-functions: (require 'flymake-quickdef) (flymake-quickdef-backend flymake-proselint-backend :pre-let ((...
Manuel Uberti's user avatar
2 votes
Accepted

Why does gnu.org flymake documentation is for version 0.3, but elpa.gnu.org has version 1.0.8 available?

Packages on ELPA are supported by GNU, and that version of flymake is clearly marked as an official part of Emacs (check the header of flymake.el). Flymake 0.3 is the version that ships as part of ...
Tyler's user avatar
  • 21.5k
1 vote

How to prevent flymake from littering temporary files

Flymake currently has no way to prevent the creation of temporary files, but I figured out a way to at least get flymake to clean up after itself so that csharp builds do not fail. (use-package ...
firstname gklsodascb's user avatar
1 vote

How do you get flymake to use a temporary directory for its temp files?

Set flymake-run-in-place to nil and flymake will create temporary files in temporary-file-directory. See C-h v flymake-run-in-place and https://github.com/flymake/emacs-flymake/issues/32.
nega's user avatar
  • 2,916
1 vote

How can I catch `unexpected $ after open inline math \(` in auctex?

AUCTeX doesn't have a code parser which checks your code all the time. The case where you get the warning message Math mode started with ‘\(’ cannot be closed with dollar is due to the function TeX-...
Arash Esbati's user avatar
  • 1,785
1 vote

How can I enable flymake to collect information about problems in an Elisp buffer?

All you need to do is run M-x flymake-mode in the buffer you want it enabled in. If you want to enable it for all elisp buffers, add this to your init file: (add-hook 'emacs-lisp-mode-hook 'flymake-...
Jeremy's user avatar
  • 136
1 vote

Can flymake or flycheck mark in dired (or in buffer lists) files with errors?

diff-hl-dired-mode in the diff-hl package certainly has the desired fringe display. Indicating errors on only opened files may be straight forward. Running flycheck on unopened files would probably ...
Bob Nadler's user avatar
1 vote

How do I get Flymake to work for SCSS mode?

The answer seems to be to use flycheck which supports SCSS out of the box.
Mike Dotterer's user avatar
1 vote

flymake python pep8 error messages disappeared

At last I found that missing line. (add-hook 'post-command-hook 'my-flymake-show-help)
Daniil Iaitskov's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible