spacemacs找不到自定义的layer

重装系统后,不知道为什么我的spacemancs打开后提示Warnning: - Layer directory “/home/lujun9972/.spacemacs.d/layers/” not found. Ignoring it.
- Unknown layer my-display declared in dotfile.
- Unknown layer my-misc declared in dotfile.
- Unknown layer my-GTD declared in dotfile.
- Unknown layer my-eshell declared in dotfile.
- Unknown layer my-program declared in dotfile.
- Unknown layer my-life declared in dotfile.
- Cannot find any of the specified fonts (Source Code Pro)! Font settings may not be correct.
不知道从什么时候开始要这个layers目录的?

MS Windows? 你的 $HOME 环境变量可能被重置了。

Archlinux

而且我在Emacs里取了下HOME的值,是没问题的 ELISP> (getenv “HOME”) “/home/lujun9972”

我的配置放在这里:GitHub - lujun9972/.spacemacs.d: private layers for spacemacs

用的是最新的spacemacs master版本

1 个赞

develop 在这个 issue 之后就需要这个目录了。

估计最近被合并到 master 分支了。

你需要把所有自己的层放到 .spacemacs.d/layers/ 里面。