Questions tagged [flymake]
28 questions
8
votes
1 answer
flymake : How can I modify/ignore syntax and styling rules?
I'm using elpy to code in Python, along with flymake to help with style/syntax checking.
The problem being that I have my habit, and I like to sometimes put 2 blank lines between methods of the same class, which inevitably triggers the following…

m.raynal
- 257
- 3
- 9
3
votes
0 answers
"error in process sentinel" whenever using %>% in an ESS R buffer
Whenever I include a pipe (%>%) in a ESS R buffer, I start getting the following error repeatedly, with lags that make editing almost impossible:
error in process sentinel: Not enough arguments for format string
Here is a simple example. If I create…

jerome
- 183
- 6
2
votes
0 answers
Why does (setopt ...) not give "assignment to free variable" warning, unlike setq and customize-set-variable?
I'm using Emacs 29.0.60
If I open emacs -q, open a Emacs Lisp buffer with FlyMake enabled and type this:
;;; init.el --- summary
;;; Commentary:
;;; Code:
(setq var1 2)
(customize-set-variable var2 2)
(setopt var3 2)
(provide 'init)
;;; init.el…

cidra
- 135
- 5
2
votes
1 answer
How do I find out what package is adding red boxes to my source code?
I have this piece of ruby code:
def open(...)
local_path.open(...)
end
and the first two lines have red boxes around them and when I hover over either one it says "syntax error, unexpected ..., expecting ')'"
I have lsp-mode, projectile,…

pedz
- 365
- 1
- 12
2
votes
1 answer
How do I disable a flymake backend?
I'm looking to follow this other answer regarding linting inside org-mode source code block but I'm not able to figure out how to tell flymake to disable certain backends.
I'm using Emacs 27.x

shackra
- 2,702
- 18
- 47
2
votes
1 answer
Can flymake or flycheck mark in dired (or in buffer lists) files with errors?
It would be nice if, in addition to flymake/flycheck marking errors in particular files, they could somehow mark files with errors in dired (or maybe just in the open-buffers list).
The goal would be to look at a whole list of files/buffers and be…

billc
- 173
- 6
2
votes
2 answers
how do I get Flymake to recognize files in my load-path?
when running Flymake against ~/.emacs, I see errors complaining about missing files like "powerline" and "company" - i.e. stuff contained in load-path. How can I configure Flymake's elisp backend to be aware of load-path? Nothing in the Flymake…

Dan O
- 151
- 7
2
votes
1 answer
What options are out there for quick-fix type functionality in emacs?
When using flycheck or flymake, it would be nice to have quick fix functionality which gives suggested fixes and automatically applies them when selected like most IDE's provide.
So far the only thing i've found that seems to do this…

leeor
- 141
- 4
1
vote
1 answer
Make the linter aware of autoloads for init files using package-quickstart
If I try to call an autoloaded function inside my init.el file, it will get executed normally.
However, the byte compiler will give me warnings about undeclared functions. This applies for all user-defined functions or functions from installed…

cidra
- 135
- 5
1
vote
0 answers
Wrong type argument: proper-list-p in Flymake example
I'm implementing my own Flymake backend while following the annotated example from the Emacs manual: GNU Flymake 1.2.2. What I've implemented works perfectly within Emacs, however, when I try to batch-byte-compile it, I run into the following…

treeblah
- 123
- 6
1
vote
1 answer
How do you get flymake to use a temporary directory for its temp files?
Flymake makes a bunch of Foo_125113359859632_flymake.hs files in my src dirs, messing up grep, tab-completion, LSP etc. Is there some setting or feature to get it to put temporary files in /tmp or ~/.emacs.d/tmp?

unhammer
- 1,127
- 8
- 22
1
vote
0 answers
Flymake: how can I modify/ignore syntax and styling rules?
This question was asked before here, but the solution doesn't work. It could be because I am not restarting flymake correctly.
The question is: how to have flymake ignore certain errors and warnings? The answer there was to have a file…

Schach21
- 33
- 8
1
vote
2 answers
How can I catch `unexpected $ after open inline math \(` in auctex?
Overleaf generates following warning message for tex files: unexpected $ after open inline math \(.
Is it possible to catch this warning message in AUCTex as well?
Example would be: \( ... $ ... \)
\(a_{s}$ and $h_{d}\)
^
|___…

alper
- 1,238
- 11
- 30
1
vote
1 answer
Flymake colouring?
I've recently updated my Emacs from 26 to 27, and now the Flymake error indicators are very hard to see - they're now in a very pale rose instead of crimson red. How can I change the colour back? I've searched the documentation and also looked at…

user29402
- 11
- 2
1
vote
1 answer
Configure Flymake for proselint
proselint is a prose linter which returns error/warning messages like this:
2020-09-09-still-processing.md:18:14: typography.symbols.curly_quotes Use curly quotes “”, not straight quotes "".
I know there is a proselint checker in Flycheck, but I am…

Manuel Uberti
- 3,150
- 18
- 36