只是git clone,然后cp init.example.el init.el,然后进行安装,然后出现错误消息
包刷新完成
安装黄牛
严重错误:(错误)需要软件包'org-20150330',但仅9.1.9可用
安装居中窗口模式
严重错误:(错误)软件包“ centered-window-mode-”不可用
安装ob-redis
严重错误:(错误)软件包“ ob-redis-”不可用
安装auth-password-store
严重错误:(错误)软件包“ auth-password-store-”不可用
安装help-fns +
严重错误:(错误)软件包“ help-fns +-”不可用
完蛋了!
Arch Linux x86_64
emacs 25.3.1
Replace this line with the output of *one* of these commands:
+ `M-x doom/info` (from inside Emacs)
+ `DEBUG=1 make doctor` (command line)
毁灭医生
运行Emacs v25.3.1,提交5dacbb7cb1c6ac246a9ccd15e6c4290def67757c
外壳:/ usr / bin / zsh
编译:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
通知ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11模块
匿名-a:
Linux SeAL80s 4.14.30-1-MANJARO#1 SMP PREEMPT周日3月25日19:47:20 UTC
2018 x86_64 GNU / Linux
尝试加载DOOM:成功! 已加载v2.0.9
修订5dacbb7cb1c6ac246a9ccd15e6c4290def67757c
测试市场
测试窗口
测试字体
警告:在/home/daniel/.local/share/fonts/中找不到material-design-icons.ttf字体
您可以通过在其中运行“ Mx all-the-icons-install-fonts”进行安装
Emacs。
这也可能意味着您已将它们安装在非标准位置,
在这种情况下,请忽略此警告。
警告:在/home/daniel/.local/share/fonts/中找不到weathericons.ttf字体
您可以通过在其中运行“ Mx all-the-icons-install-fonts”进行安装
Emacs。
这也可能意味着您已将它们安装在非标准位置,
在这种情况下,请忽略此警告。
警告:在/home/daniel/.local/share/fonts/中找不到octicons.ttf字体
您可以通过在其中运行“ Mx all-the-icons-install-fonts”进行安装
Emacs。
这也可能意味着您已将它们安装在非标准位置,
在这种情况下,请忽略此警告。
警告:在/home/daniel/.local/share/fonts/中找不到fontawesome.ttf字体
您可以通过在其中运行“ Mx all-the-icons-install-fonts”进行安装
Emacs。
这也可能意味着您已将它们安装在非标准位置,
在这种情况下,请忽略此警告。
警告:在/home/daniel/.local/share/fonts/中找不到file-icons.ttf字体
您可以通过在其中运行“ Mx all-the-icons-install-fonts”进行安装
Emacs。
这也可能意味着您已将它们安装在非标准位置,
在这种情况下,请忽略此警告。
警告:在/home/daniel/.local/share/fonts/中找不到all-the-icons.ttf字体
您可以通过在其中运行“ Mx all-the-icons-install-fonts”进行安装
Emacs。
这也可能意味着您已将它们安装在非标准位置,
在这种情况下,请忽略此警告。
测试螺母
测试tls
已验证https://elpa.gnu.org
已验证https://melpa.org
成功拒绝了https://self-signed.badssl.com
成功拒绝了https://wrong.host.badssl.com/
测试焦油
一切似乎都很好,Emacs'ing高兴!
请切换到develop
。 这些问题已修复,即将合并为master。
另外,请不要关闭此线程。 我想一直保持打开状态,直到合并develop
。
我也是..
当我结帐时开发..
递归负载:“ / home / liuxu / .emacs.d / modules / config / private / init.el”,“ / home / liuxu / .config / doom / init.el”,“ / home / liuxu / .emacs”。 d / modules / config / private / init.el”,“ / home / liuxu / .config / doom / init.el”,“ / home / liuxu / .emacs.d / modules / config / private / init.el” ,“ / home / liuxu / .config / doom / init.el”,“ / home / liuxu / .emacs.d / modules / config / private / init.el”,“ / home / liuxu / .config / doom / init.el”,“ / home / liuxu / .emacs.d / modules / config / private / init.el”,“ / home / liuxu / .emacs.d / init.el”
Makefile:92 :目标“ .local / autoloads.el”的配方失败
make: * [.local / autoloads.el]错误255
您在最新的发展吗? config/private
模块已被删除,不再需要。 请先删除您的~/.emacs.d/init.el
然后再更新为最新的《毁灭战士》,因为它已被默认的“毁灭战士”所取代。
liuxu:~$ git clone -b develop https://github.com/hlissner/doom-emacs ~/.emacs.dCloning into '/home/liuxu/.emacs.d'...
remote: Counting objects: 33294, done.
remote: Compressing objects: 100% (143/143), done.
remote: Total 33294 (delta 136), reused 180 (delta 106), pack-reused 33044
Receiving objects: 100% (33294/33294), 9.37 MiB | 2.07 MiB/s, done.
Resolving deltas: 100% (23004/23004), done.
Checking connectivity... done.
liuxu:~$ cd .emacs.d/
liuxu:.emacs.d$ git branch -av
* develop a582bdf app/calendar: fix typo causing void-variable error
remotes/origin/HEAD -> origin/master
remotes/origin/develop a582bdf app/calendar: fix typo causing void-variable error
remotes/origin/master 5dacbb7 Merge branch 'develop'
remotes/origin/screenshots e2956e5 Add screenshots
liuxu:.emacs.d$ cp init.example.el init.el
liuxu:.emacs.d$ make install
Symbol’s function definition is void: doom!
Makefile:93: recipe for target '.local/autoloads.el' failed
make: *** [.local/autoloads.el] Error 255
cp init.example.el init.el
将此步骤更改为cp init.example.el ~/.doom.d/init.el
Doom现在提供了一个默认的init.el,它不应被覆盖。 文档将被更新以反映这一点。
liuxu:~$ git clone -b develop https://github.com/hlissner/doom-emacs ~/.emacs.d
Cloning into '/home/liuxu/.emacs.d'...
remote: Counting objects: 33294, done.
remote: Compressing objects: 100% (143/143), done.
remote: Total 33294 (delta 136), reused 180 (delta 106), pack-reused 33044
Receiving objects: 100% (33294/33294), 9.37 MiB | 2.05 MiB/s, done.
Resolving deltas: 100% (23004/23004), done.
Checking connectivity... done.
liuxu:~$ mkdir .doom.d
liuxu:~$ cd .emacs.d/
liuxu:.emacs.d$ cp init.example.el ~/.doom.d/init.el
liuxu:.emacs.d$ make install
Installing core packages
Importing package-keyring.gpg...
Importing package-keyring.gpg...done
Contacting host: elpa.gnu.org:443
Contacting host: elpa.gnu.org:443
Contacting host: melpa.org:443
Contacting host: melpa.org:443
Contacting host: orgmode.org:443
Contacting host: orgmode.org:443
Package refresh done
✓ Installed persistent-soft
✓ Installed use-package
✓ Installed quelpa
✓ Installed async
Installing core packages...done
Warning: Eager macro-expansion skipped due to cycle:
… => (load "core.el") => (macroexpand-all …) => (macroexpand (eval-and-compile …)) => (load "init.el") => (load "core.el")
Eager macro-expansion failure: (error "Recursive ‘require’ for feature ‘core’")
Warning: Eager macro-expansion skipped due to cycle:
… => (load "core.el") => (macroexpand-all …) => (macroexpand (eval-and-compile …)) => (load "init.el") => (load "core.el")
Eager macro-expansion failure: (error "Recursive ‘require’ for feature ‘core’")
Warning: Eager macro-expansion skipped due to cycle:
… => (load "core.el") => (macroexpand-all …) => (macroexpand (eval-and-compile …)) => (load "init.el") => (load "core.el")
Eager macro-expansion failure: (error "Recursive ‘require’ for feature ‘core’")
Warning: Eager macro-expansion skipped due to cycle:
… => (load "core.el") => (macroexpand-all …) => (macroexpand (eval-and-compile …)) => (load "init.el") => (load "core.el")
Eager macro-expansion failure: (error "Recursive ‘require’ for feature ‘core’")
Warning: Eager macro-expansion skipped due to cycle:
… => (load "core.el") => (macroexpand-all …) => (macroexpand (eval-and-compile …)) => (load "init.el") => (load "core.el")
Eager macro-expansion failure: (error "Recursive ‘require’ for feature ‘core’")
Warning: Eager macro-expansion skipped due to cycle:
… => (load "core.el") => (macroexpand-all …) => (macroexpand (eval-and-compile …)) => (load "init.el") => (load "core.el")
Eager macro-expansion failure: (error "Recursive ‘require’ for feature ‘core’")
Eager macro-expansion failure: (error "Recursive ‘require’ for feature ‘core’")
Eager macro-expansion failure: (error "Recursive ‘require’ for feature ‘core’")
Recursive ‘require’ for feature ‘core’
Makefile:93: recipe for target '.local/autoloads.el' failed
make: *** [.local/autoloads.el] Error 255
奇怪的是,仅当您在~/.doom.d/init.el
包含以下行时,才会发生这种情况:
(require 'core (concat user-emacs-directory "core/core"))
但这是从0026f08e中的init.example.el
中删除的(〜7小时前)。 检查以确保~/.doom.d/init.el
不存在该行,如果存在则将其删除。
liuxu:.doom.d$ cat init.el | grep "concat"
liuxu:.doom.d$
liuxu:.doom.d$ pwd
/home/liuxu/.doom.d
liuxu:.doom.d$ cat init.el
;;; init.example.el -*- lexical-binding: t; -*-
(doom! :feature
(popup ; tame sudden yet inevitable temporary windows
+all ; catch all popups that start with an asterix
+defaults) ; default popup rules
;debugger ; FIXME stepping through code, to help you add bugs
eval ; run code, run (also, repls)
(evil +everywhere); come to the dark side, we have cookies
file-templates ; auto-snippets for empty files
(lookup ; helps you navigate your code and documentation
+devdocs ; ...on devdocs.io online
+docsets) ; ...or in Dash docsets locally
services ; TODO managing external services & code builders
snippets ; my elves. They type so I don't have to
spellcheck ; tasing you for misspelling mispelling
syntax-checker ; tasing you for every semicolon you forget
version-control ; remember, remember that commit in November
workspaces ; tab emulation, persistence & separate workspaces
:completion
company ; the ultimate code completion backend
;helm ; the *other* search engine for love and life
;ido ; the other *other* search engine...
ivy ; a search engine for love and life
:ui
doom ; what makes DOOM look the way it does
doom-dashboard ; a nifty splash screen for Emacs
doom-modeline ; a snazzy Atom-inspired mode-line
doom-quit ; DOOM quit-message prompts when you quit Emacs
evil-goggles ; display visual hints when editing in evil
hl-todo ; highlight TODO/FIXME/NOTE tags
nav-flash ; blink the current line after jumping
;posframe ; use child frames where possible (Emacs 26+ only)
;tabbar ; FIXME an (incomplete) tab bar for Emacs
;unicode ; extended unicode support for various languages
vi-tilde-fringe ; fringe tildes to mark beyond EOB
window-select ; visually switch windows
:tools
dired ; making dired pretty [functional]
electric-indent ; smarter, keyword-based electric-indent
eshell ; a consistent, cross-platform shell (WIP)
gist ; interacting with github gists
imenu ; an imenu sidebar and searchable code index
impatient-mode ; show off code over HTTP
;macos ; MacOS-specific commands
make ; run make tasks from Emacs
;magit ;
neotree ; a project drawer, like NERDTree for vim
password-store ; password manager for nerds
pdf ; pdf enhancements
;rgb ; creating color strings
rotate-text ; cycle region at point between text candidates
term ; terminals in Emacs
tmux ; an API for interacting with tmux
upload ; map local to remote projects via ssh/ftp
:lang
assembly ; assembly for fun or debugging
cc ; C/C++/Obj-C madness
crystal ; ruby at the speed of c
clojure ; java with a lisp
csharp ; unity, .NET, and mono shenanigans
data ; config/data formats
elixir ; erlang done right
elm ; care for a cup of TEA?
emacs-lisp ; drown in parentheses
ess ; emacs speaks statistics
go ; the hipster dialect
(haskell +intero) ; a language that's lazier than I am
hy ; readability of scheme w/ speed of python
(java +meghanada) ; the poster child for carpal tunnel syndrome
javascript ; all(hope(abandon(ye(who(enter(here))))))
julia ; a better, faster MATLAB
latex ; writing papers in Emacs has never been so fun
ledger ; an accounting system in Emacs
lua ; one-based indices? one-based indices
markdown ; writing docs for people to ignore
nix ; I hereby declare "nix geht mehr!"
ocaml ; an objective camel
(org ; organize your plain life in plain text
+attach ; custom attachment system
+babel ; running code in org
+capture ; org-capture in and outside of Emacs
+export ; Exporting org to whatever you want
+present ; Emacs for presentations
+publish) ; Emacs+Org as a static site generator
perl ; write code no one else can comprehend
php ; perl's insecure younger brother
plantuml ; diagrams for confusing people more
purescript ; javascript, but functional
python ; beautiful is better than ugly
rest ; Emacs as a REST client
ruby ; 1.step do {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
scala ; java, but good
sh ; she sells (ba|z)sh shells on the C xor
swift ; who asked for emoji variables?
typescript ; javascript, but better
web ; the tubes
;; Applications are complex and opinionated modules that transform Emacs
;; toward a specific purpose. They may have additional dependencies and
;; should be loaded late.
:app
;(email +gmail) ; emacs as an email client
;irc ; how neckbeards socialize
;(rss +org) ; emacs as an RSS reader
;twitter ; twitter client https://twitter.com/vnought
;(write ; emacs as a word processor (latex + org + markdown)
; +wordnut ; wordnet (wn) search
; +langtool) ; a proofreader (grammar/style check) for Emacs
:config
;; The default module set reasonable defaults for Emacs. It also provides
;; a Spacemacs-inspired keybinding scheme, a custom yasnippet library,
;; and additional ex commands for evil-mode. Use it as a reference for
;; your own modules.
(default +bindings +snippets +evil-commands))
liuxu:.doom.d$
除init.el之外, ~/.doom.d
是否
您是否已对~/.emacs.d
(与make compile
)进行字节编译?
``
liuxu:〜$ rm -rf .emacs.d / .doom.d /
liuxu:〜$ mkdir .doom.d
liuxu:〜$ git clone -b开发https://github.com/hlissner/doom-emacs〜/ .emacs.d
克隆到'/home/liuxu/.emacs.d'...
remote:计数对象:33309,已完成。
远程:压缩对象:100%(153/153),已完成。
远程:总计33309(增量145),已重用190(增量111),已重复使用包装33044
接收物体:100%(33309/33309),9.38 MiB | 完成1.97 MiB / s。
解析增量:100%(23013/23013),已完成。
检查连通性...完成。
liuxu:〜$ cd .emacs.d /
liuxu:.emacs.d $ cp init.example.el〜/ .doom.d / init.el
liuxu:.emacs.d $ git分支-av
我无法重现。 您是否偶然有~/.config/doom
文件夹? 在其中可能有一个调用(require 'core (concat user-emacs-directory "core/core"))
的init.el?
如果检测到~/.config/doom
则使用~/.doom.d
。
哈哈,我安装成功。我是Ubuntu16.04, ~/.config/
所有配置。谢谢〜
现在在带有Arch Linux x86_64的emacs 25.3.3中。 在doom-emacs大师中仍然存在问题:
严重错误:(错误)需要软件包'org-20150330',但仅9.1.9可用
严重错误:(错误)软件包“ centered-window-mode-”不可用
严重错误:(错误)软件包“ ob-redis-”不可用
并在发展部门
没有很酷的用户界面,什么也没有。但是它说“ Doom在0.585s内跨0个模块加载了123个程序包”
@ SeAL80s在develop分支上启动emacs之前是否运行过make
?
@mbark在主分支“ make install”中将产生
“致命错误:(错误)需要软件包'org-20150330',但仅9.1.9可用”
git checkoutdevelop然后进行make(或make install)它看起来像上面,没有颜色UI,仅安装了44个软件包。 在Master分支中是300+。
并且,如果在主分支中执行“ make install”,则结帐开发,“ make”将删除250多个软件包,剩下44个软件包。
如果git clone doom-emacs,那么cp init.example.el init.el(在develop分支中,已经有一个init.el),“ make install”将产生错误“符号的函数定义无效:doom!”
@ SeAL80s正确的流程是
cd ~/.emacs.d && git checkout develop
mkdir ~/.doom.d && cp ~/.emacs.d/init.example.el ~/.doom.d/init.el
cd ~/.emacs.d && make install
@fuxialexander我刚刚发现自己。 原来,develop分支需要〜/ .doom.d /并将init.example.el复制到〜/ .doom.d /。 所以我就像您在上面一样,并且可以工作。(它不在README或网站中,而在development分支的init.example.el中)
@ SeAL80s @hlissner在其他一些问题中提到文档将被更新,并且它是下一发行版的一部分。
@hlissner在develop分支中的.emacs.d调用中有一个init.el(要求'core(concat user-emacs-directory“ core / core”)),这会导致@liuxuzzz问题。 我的解决方案是在master分支中,
mkdir〜/ .doom.d,cp init.example.el〜/ .doom.d / init.el
然后
git checkout开发
切换到开发分支
mv〜/ .doom.d / init.el〜/ .emacs.d / init.el
覆盖develop分支中的默认init.el,该分支仅包含一行
(需要'core(concat user-emacs目录“ core / core”))
这样,“安装”就可以完美地工作了。
@ SeAL80s顺序不正确。 如果要使用develop
请不要使用master分支中的init.example.el
develop
。 这会引起问题。 我强烈建议您不要修改或替换~/.emacs.d/init.el
除非您了解这样做的后果。
(require 'core (concat user-emacs-directory "core/core"))
(require 'core (concat user-emacs-directory "core/core"))
这就是安装Doom所需的全部:
master
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
cd ~/.emacs.d
cp init.example.el init.el
make install
develop
(推荐)git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
cd ~/.emacs.d
mkdir ~/.doom.d
cp init.example.el ~/.doom.d/init.el
make install
@hlissner但是您的订单不适合我。 在主人上有这个错误
严重错误:(错误)需要软件包'org-20150330',但仅9.1.9可用
然后在开发cp init.example.el init.el上,“ make install”将显示“:doom is invalid”。
我提到的命令对我有用。 我不知道为什么,但是'make install'将成功。
顺便说一句,在开发中已经有一个init.el,如果cp init.example.el〜/ .doom.d / init.el将显示
警告:由于周期而忽略了宏宏扩展:
…=>(加载“ core.el”)=>(宏扩展所有...)=>(宏扩展(eval-and-compile…))=>(加载“ init.el”)=>(加载“ core.el ”)
急切的宏扩展失败:(错误“功能'核心'的递归'要求'””)
在主人上有这个错误...
是的,你是对的。 我忘记了, master
当前已损坏。
在开发cp init.example.el init.el上,然后...
cp init.example.el init.el
不正确。
cp ~/.emacs.d/init.example.el ~/.doom.d/init.el
是正确的。
在开发中已经有一个init.el
这是对的。 不应修改。 ~/.emacs.d/init.el
应该只包含:
(require 'core (concat user-emacs-directory "core/core"))
上面的行不能在~/.doom.d/init.el
! 否则您会收到该错误。
正如我之前说的,请执行cp ~/.emacs.d/init.example.el ~/.doom.d/init.el
。
嗨@hlissner
我刚刚进行了全新的Emacs 26.1安装,但是在安装Doom时出现错误,因此我发现了此问题,然后执行以下步骤:
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
cd ~/.emacs.d
git checkout develop
mkdir ~/.doom.d
cp init.example.el ~/.doom.d/init.el
make install
但我仍然得到:
.emacs.d ) make install
Symbol's function definition is void: advice-add
make: *** [.local/autoloads.el] Error 255
有什么建议吗?
谢谢。
@jameskolce确保PATH
中的emacs是正确的。 如果advice-add
未定义,则意味着正在运行早期版本的Emacs(24或更低版本)。
在您的shell中运行emacs --version
进行查找。
@hlissner谢谢! 我发现了问题: emacs --version
返回正确的版本(26.1),所以我不知道可能是什么问题,但是最后,它确实试图使用Emacs 22,因为我提到了做一个命令别名而不是链接。 现在正在工作,谢谢。
我在开发时遇到问题,尤其是emacs-snippets和php-extras:
N82106:.emacs.d bward$ make install
Looking for packages to install...
2 packages will be installed:
+ emacs-snippets (QUELPA)
+ php-extras (QUELPA)
Proceed? (y or n) y
Installing php-extras
✕ ERROR ((wrong-type-argument arrayp nil))
Installing emacs-snippets
✕ ERROR ((wrong-type-argument arrayp nil))
Finished!
我用过过程
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
cd ~/.emacs.d
git checkout develop
mkdir ~/.doom.d
cp init.example.el ~/.doom.d/init.el
make install
@BenJWard我已经寻找这个bug已有一段时间了,但是仍然没有找到任何线索。 您是否可以使用DEBUG=1 make install
重新创建错误,然后将生成的回溯记录(尽可能多地复制)到pastebin中发送给我?
@hlissner我刚刚尝试过,它似乎挂在任何显示“正在输入调试器...”的地方。
Extracting expand-region-20171217.2125/ruby-mode-expansions.el
Extracting expand-region-20171217.2125/expand-region-custom.el
Extracting expand-region-20171217.2125/latex-mode-expansions.el
Extracting expand-region-20171217.2125/jsp-expansions.el
Extracting expand-region-20171217.2125/js-mode-expansions.el
Extracting expand-region-20171217.2125/expand-region-core.el
Extracting expand-region-20171217.2125/text-mode-expansions.el
Extracting expand-region-20171217.2125/python-el-expansions.el
Extracting expand-region-20171217.2125/the-org-mode-expansions.el
Entering debugger...
我发现今天开发中的全新安装完全相同。
由于原始问题已解决,因此我将关闭此操作。
@tidux @BenJWard您能为挂起创建一个新的问题吗? 请包括您的M-x doom/info
。
最有用的评论
@ SeAL80s正确的流程是
cd ~/.emacs.d && git checkout develop
mkdir ~/.doom.d && cp ~/.emacs.d/init.example.el ~/.doom.d/init.el
cd ~/.emacs.d && make install