【问题标题】:Can't enable spacemacs' shell layer无法启用 spacemacs 的外壳层
【发布时间】:2017-01-17 11:14:36
【问题描述】:

我正在尝试启用 spacemacs 的外壳层。我这样做是通过取消注释:

  (shell :variables
        shell-default-height 30
        shell-default-position 'bottom)

加入~/.spacemacs 文件。

但是,打开 Emacs 时,我收到以下错误:

Warning (initialization): An error occurred while loading `/home/amir/.emacs.d/init.el':
error: Required feature `xterm-color' was not provided

知道如何解决这个问题吗?无法在网上提交答案。

【问题讨论】:

  • 加载 (require) 预期库:提供功能 xterm-color 的库。库名也可能是xterm-color.el

标签: shell emacs spacemacs


【解决方案1】:

我遇到了同样的问题。由于某种原因,xterm-color 包文件是空白的。删除目录~/.emacs.d/elpa/xterm-color-INSERT-VERSION 并重启spacemacs。

编辑:您可能还需要删除 ~/.emacs.d/elpa/shell-pop。

【讨论】:

  • 感谢您的回答。我不记得我在做什么,但它终于成功了。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-01-05
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-04-27
  • 2016-10-14
相关资源
最近更新 更多