doom 使用相关

> Checking for stale elc files...
! ~/.emacs.d/.local/straight/build-27.1/evil/evil-commands.elc is out-of-date
! ~/.emacs.d/.local/straight/build-27.1/evil/evil-maps.elc is out-of-date
! ~/.emacs.d/.local/straight/build-27.1/evil/evil-search.elc is out-of-date
! ~/.emacs.d/.local/straight/build-27.1/evil/evil-types.elc is out-of-date
! ~/.emacs.d/.local/straight/build-27.1/ivy/ivy.elc is out-of-date
! ~/.emacs.d/.local/straight/build-27.1/magit/magit-diff.elc is out-of-date
! ~/.emacs.d/.local/straight/build-27.1/magit/magit-extras.elc is out-of-date
! ~/.emacs.d/.local/straight/build-27.1/magit/magit-git.elc is out-of-date
! ~/.emacs.d/.local/straight/build-27.1/magit/magit-log.elc is out-of-date

还有doom doctor的时候 提示这个 要怎么修复呢

不用doom,不过看doom源码里面的例子

  (map! :map neotree-mode-map
        :n [tab] (neotree-make-executor
                  :dir-fn  #'neo-open-dir
                  :file-fn #'neotree-quick-look)
        :n "DEL" #'evil-window-prev
        :n "n"   #'neotree-next-line
        :n "p"   #'neotree-previous-line
        :m "h"   #'+neotree/collapse-or-up
        :m "l"   #'+neotree/expand-or-open
        :n "J"   #'neotree-select-next-sibling-node
        :n "K"   #'neotree-select-previous-sibling-node
        :n "H"   #'neotree-select-up-node
        :n "L"   #'neotree-select-down-node
        :n "G"   #'evil-goto-line
        :n "gg"  #'evil-goto-first-line
        :n "v"   (neotree-make-executor :file-fn 'neo-open-file-vertical-split)
        :n "s"   (neotree-make-executor :file-fn 'neo-open-file-horizontal-split)))

...

你的方案2里面应该用:n :v :m :i 之类的代替evil-normal-state-map evil-visual-state-map…etc

搞定了 刚才是抄的 发现他写错了 谢谢了

https://www.reddit.com/r/DoomEmacs/comments/ha3qph/elc_is_out_of_date/

找到一个办法但是感觉很傻 有没有高级的

去doom的issue搜了下,好像还真就只有这个方法2333 https://github.com/hlissner/doom-emacs/issues/4171

1 个赞

好的 收到 感谢