Questions tagged [flymake]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

How can I continuously check semantic error with rust-analyser instead of upon saving only?

I'm using eglot with flymake and rust-analyzer. However, it seems to only check errors when I save the file: d() is a non-existing function. It doesn't show any error, until I save the file: Ideally ...
Lai Yu-Hsuan's user avatar
0 votes
0 answers
76 views

disable built-in flymake completely

I'm running emacs-29.1 on ubuntu-23.10 (installed from https://ppa.launchpadcontent.net/ubuntuhandbook1/emacs/ubuntu/), and it has flymake built-in and default to running. There are similar questions ...
r2evans's user avatar
  • 245
1 vote
1 answer
54 views

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-...
cidra's user avatar
  • 135
0 votes
0 answers
33 views

Using flymake with meson build system

Good morning, I have been using flymake for a long time with autoconf/automake adding this at the end of the Makefile.am: check-syntax: $(CXXCOMPILE) -Wall -fsyntax-only $(CHK_SOURCES) .PHONY: ...
Balaïtous's user avatar
1 vote
0 answers
63 views

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-...
treeblah's user avatar
  • 123
0 votes
1 answer
52 views

How to prevent flymake from littering temporary files

I want to stop Flymake from creating temporary files in the working directory. For example, here is the contents of a csharp source code directory that I am working on. total used in directory 96K ...
firstname gklsodascb's user avatar
2 votes
0 answers
133 views

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 ...
cidra's user avatar
  • 135
1 vote
1 answer
73 views

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 ~/....
unhammer's user avatar
  • 1,137
1 vote
0 answers
128 views

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? ...
Schach21's user avatar
2 votes
1 answer
37 views

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, ...
pedz's user avatar
  • 375
1 vote
2 answers
78 views

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: \( ... $ ... \) \(...
alper's user avatar
  • 1,300
-1 votes
2 answers
624 views

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

How can flymake be enabled on emacs-lisp code to collect information about problems in the buffer? Have done (flymake-mode) to enable it. But getting the error Warning (flymake): Disabling backend ...
Dilna's user avatar
  • 1
1 vote
1 answer
188 views

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 ...
user29402's user avatar
0 votes
1 answer
767 views

spacemacs: How can I disable flymake and flycheck completely, to speed up performance

I’m using spacemacs. I just installed syntax-highlighting layer and auto-completion layer, and now my emacs got really really slow. So slow that going back to PyCharm (IntelliJ) with R-plugin feels ...
puf's user avatar
  • 3
1 vote
1 answer
424 views

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 "". ...
Manuel Uberti's user avatar
1 vote
0 answers
577 views

Flymake stopped working with elpy...no idea what I did or didn't do [Windows]

I installed elpy, along with jedi, rope and got it to work briefly yesterday after uninstalling python and reinstalling it with anaconda and setting the environment variable to path. I tinkered around ...
katsoop's user avatar
  • 43
1 vote
1 answer
42 views

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

I have Emacs 26.1 installed. It has a built-in package flymake version 0.3. Also, googling flymake gives me https://www.gnu.org/software/emacs/manual/html_mono/flymake.html as the second link in the ...
CrabMan's user avatar
  • 275
0 votes
0 answers
73 views

error in process sentinel: Invalid file-name during replacing words

I am getting following error error in process sentinel: Invalid file-name due to generated _flymake.py files, when I am following approach for the recursively find and replace in text files not ...
alper's user avatar
  • 1,300
2 votes
1 answer
1k views

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's user avatar
  • 2,742
2 votes
1 answer
77 views

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 ...
billc's user avatar
  • 173
1 vote
1 answer
277 views

"error in process sentinel: not enough arguments for format string” with simple R code

Flymake started giving this warning today: Error in process sentinel not enough arguments for format string The mode line shows Flymake:Wait [0 0]. I narrowed down the code throwing the error to a ...
miguelmorin's user avatar
  • 1,803
2 votes
2 answers
324 views

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 ...
Dan O's user avatar
  • 161
0 votes
1 answer
2k views

ESS installation does not initialize flymake

I install ESS following these directions, adding these to ~/.emacs: (require 'package) (add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/")) (add-to-...
miguelmorin's user avatar
  • 1,803
3 votes
0 answers
726 views

"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 ...
jerome's user avatar
  • 183
8 votes
1 answer
2k views

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 ...
m.raynal's user avatar
  • 257
0 votes
1 answer
180 views

How do I get Flymake to work for SCSS mode?

I have flymake-sass working, but I can't get it to work for SCSS files. The source looks like it should work with SCSS, but when I try to enable it I get an error about scss-sass-options not being ...
Mike Dotterer's user avatar
1 vote
0 answers
31 views

Detect a region in markdown and run a compilation

It would be really useful if emacs could detect the cursor is currently inside a code-block in my markdown-file and compiles the fragment automatically. I am editing a large markdown file with a lot ...
towi's user avatar
  • 111
2 votes
1 answer
394 views

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 ...
leeor's user avatar
  • 141
1 vote
1 answer
322 views

flymake python pep8 error messages disappeared

I setup flymake with pep8 to validate style of python files with the following configuration: (when (load "flymake" t) (defun flymake-pylint-init () (let* ((temp-file (flymake-init-create-temp-...
Daniil Iaitskov's user avatar