GithubHelp home page GithubHelp logo

Comments (4)

manateelazycat avatar manateelazycat commented on June 15, 2024

我估计是doom-modeline的锅,awesome-tab不会刷新modeline

from awesome-tab.

loyalpartner avatar loyalpartner commented on June 15, 2024

移除了 doom-modeline , modeline 也会闪
(setq flycheck-check-syntax-automatically '(save mode-enabled idle-buffer-switch))
这个设置让flycheck 在切换buffer的时候之后执行检查,似乎flycheck 又会生成一个 flycheck_xxx.el 的文件并被emacs打开了

from awesome-tab.

manateelazycat avatar manateelazycat commented on June 15, 2024

测试 emacs -Q 并只用awesome-tab,对比测试下,如果emacs -Q没问题就不是awesome-tab的锅

from awesome-tab.

loyalpartner avatar loyalpartner commented on June 15, 2024

flycheck 里面如果设置了
(setq flycheck-check-syntax-automatically '(save mode-enabled idle-buffer-switch)),
会添加 buffer-list-update-hook,
https://www.gnu.org/software/emacs/manual/html_node/elisp/Buffer-List.html#Buffer-List
里面提到
Functions run by this hook should avoid calling select-window with a nil norecord argument or with-temp-buffer since either may lead to infinite recursion.

解决办法就是:
在 (with-temp-buffer ...) 外面套上
(let (buffer-list-update-hook)
(with-temp-buffer ...) )

from awesome-tab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.