Spacemacs - More than one init function found

在 200.2 和 200.1 版本都是好的,同样的设置,更新到 200.3 后出现这个 warning

我的layer的设置:

 dotspacemacs-configuration-layers
  '(
ivy
html
helm
auto-completion
better-defaults
emacs-lisp
git
markdown
org
swift
deft
(spell-checking :variables =enable-flyspell-auto-completion= t)
syntax-checking
tshan
)

其中 tshan 是我自己 config 的 layer 但是没有涉及任何 ivy 和 helm 有关的 package。

请问下我配置是哪里有问题吗?还是这是 spacemacs 的 bug? 因为只是一个 warning 其实并不影响使用,而且我要是用 git revert 到 200.2 也没问题了,我只是怀疑自己是不是弄错了什么,所以发上来询问下大家,在配置方面我还是新手,没研究几天,很多东西还没弄明白。

惊呆了,这个 warning 并不是更新到 200.3 才出来的,是之前就有的,只是 200.3 把 warning 显示在主页了我才注意到 。。。。。

(Spacemacs) Warning: Auto-evilication could not remap these functions in map `org-agenda-mode-map':
   - `org-agenda-next-line' originally mapped on `C-n'
(Spacemacs) Warning: Auto-evilication could not remap these functions in map `org-agenda-mode-map':
   - `org-agenda-toggle-time-grid' originally mapped on `G'
(Spacemacs) Warning: Auto-evilication could not remap these functions in map `org-agenda-mode-map':
   - `org-agenda-filter-remove-all' originally mapped on `|'
(Spacemacs) Warning: Auto-evilication could not remap these functions in map `org-agenda-mode-map':
   - `org-agenda-filter-by-tag-refine' originally mapped on `\'

还有这些 warning

我看过这个 issue,在这之前我也在 spacemacs 的 faq 里看到了关于 org 有关的设置要 warp with-eval-after-load block。所以我 layer 里面的有关于 org 的配置全部都 wrap 了 (with-eval-after-load 'org … ) block 了,但是 warning 还是存在,不知道是不是自己哪里搞错了

这是 spacemacs 的锅,我这边也有,我在想办法解决之。

1 个赞

Oh nice. :joy: 知道是 spacemacs 的锅就放心了 哈哈 谢谢山人

大神,这个问题搞定了吗,求解

更新我的最新配置就好了,spacemacs 官方貌似不允许 ivy 和 helm layer 同时激活,我的最新配置目前只启用了 ivy layer 所以这个警告现在也不存在了。

好的,多谢解答