redguardtoo / emacs.d

Fast and robust Emacs setup.
http://blog.binchen.org
GNU General Public License v3.0
2.39k stars 619 forks source link

flymake频繁报错 #1053

Closed heheda123123 closed 11 months ago

heheda123123 commented 1 year ago

用的大佬的默认配置,emacs是windows上最新git源码编译的版本 如图,编辑eslip文件就频繁报错,导致卡顿 image

redguardtoo commented 11 months ago

You can disable flymake in init-misc.el, or you can try set environment variable HOME in windows. image

heheda123123 commented 11 months ago

已经设置过HOME环境变量了,貌似是flymake的那个byte-compile的后端有问题,我用-Q的环境也会报这个错

redguardtoo commented 11 months ago

见我的配置里lazymake插件,elisp语法检查后端是我自己写的.没有这个问题. 这个后端和flymake的后端是通用的. lazyflymake 还有 lazyflymake-ignore-error-function,可以过滤一些噪音.

oxsard commented 9 months ago

my-disable-lazyflymake 应该设置为什么才能关闭报错?我设置为t或者nil都会还有报错。。。

redguardtoo commented 9 months ago

my-disable-lazyflymake关掉lazymake,启用系统默认的flymake-mode.见my-generic-prog-mode-hook-setup. 我建议还是研究一下flymake,很简单的.