git clone、cp init.example.el init.el、make install、エラーメッセージが表示されました
パッケージの更新が完了しました
ox-revealのインストール
致命的なエラー:(エラー)パッケージ「org-20150330」が必要ですが、9.1.9しか使用できません
centered-window-modeのインストール
致命的なエラー:(エラー)パッケージ 'centered-window-mode-'は使用できません
ob-redisのインストール
致命的なエラー:(エラー)パッケージ 'ob-redis-'は使用できません
auth-password-storeのインストール
致命的なエラー:(エラー)パッケージ 'auth-password-store-'は使用できません
ヘルプのインストール-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)
DOOMドクター
Emacs v25.3.1を実行し、5dacbb7cb1c6ac246a9ccd15e6c4290def67757cをコミットします
シェル:/ usr / bin / zsh
コンパイル済み:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
通知ACLGNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3X11モジュール
uname -a:
Linux SeAL80s 4.14.30-1-MANJARO#1 SMP PREEMPT Sun Mar 25 19:47:20 UTC
2018 x86_64 GNU / Linux
DOOMのロードを試みてください:成功! ロードされたv2.0.9
リビジョン5dacbb7cb1c6ac246a9ccd15e6c4290def67757c
test-emacs
テストウィンドウ
テストフォント
警告:/home/daniel/.local/share/fonts/でmaterial-design-icons.ttfフォントが見つかりませんでした
内で「Mxall-the-icons-install-fonts」を実行してインストールできます。
Emacs。
これは、非標準の場所にインストールしたことを意味する場合もあります。
その場合、この警告は無視してください。
警告:/home/daniel/.local/share/fonts/にweathericons.ttfフォントが見つかりませんでした
内で「Mxall-the-icons-install-fonts」を実行してインストールできます。
Emacs。
これは、非標準の場所にインストールしたことを意味する場合もあります。
その場合、この警告は無視してください。
警告:/home/daniel/.local/share/fonts/にocticons.ttfフォントが見つかりませんでした
内で「Mxall-the-icons-install-fonts」を実行してインストールできます。
Emacs。
これは、非標準の場所にインストールしたことを意味する場合もあります。
その場合、この警告は無視してください。
警告:/home/daniel/.local/share/fonts/にfontawesome.ttfフォントが見つかりませんでした
内で「Mxall-the-icons-install-fonts」を実行してインストールできます。
Emacs。
これは、非標準の場所にインストールしたことを意味する場合もあります。
その場合、この警告は無視してください。
警告:/home/daniel/.local/share/fonts/にfile-icons.ttfフォントが見つかりませんでした
内で「Mxall-the-icons-install-fonts」を実行してインストールできます。
Emacs。
これは、非標準の場所にインストールしたことを意味する場合もあります。
その場合、この警告は無視してください。
警告:/home/daniel/.local/share/fonts/でall-the-icons.ttfフォントが見つかりませんでした
内で「Mxall-the-icons-install-fonts」を実行してインストールできます。
Emacs。
これは、非標準の場所にインストールしたことを意味する場合もあります。
その場合、この警告は無視してください。
test-gnutls
test-tls
検証済みhttps://elpa.gnu.org
検証済みhttps://melpa.org
https://self-signed.badssl.comを正常に拒否しました
https://wrong.host.badssl.com/を正常に拒否しました
test-tar
すべてが順調で、幸せなEmacsのようです!
develop
切り替えてください。 これらの問題は修正されており、まもなくマスターに統合される予定です。
また、このスレッドを閉じないでください。 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
はデフォルトのものに置き換えられているため、最新のDoomに更新する前に削除してください。
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(〜7時間前)でinit.example.el
から削除されました。 ~/.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
)をバイトコンパイルしましたか?
`` `bash
liuxu:〜$ rm -rf .emacs.d / .doom.d /
liuxu:〜$ mkdir .doom.d
liuxu:〜$ git clone -b development https://github.com/hlissner/doom-emacs〜/.emacs.d
'/home/liuxu/.emacs.d'へのクローン作成...
リモート:オブジェクトのカウント: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 branch -av
これは再現できません。 たまたま~/.config/doom
フォルダはありますか? (require 'core (concat user-emacs-directory "core/core"))
を呼び出すinit.elがある可能性がありますか?
検出された場合、 ~/.doom.d
代わりに~/.config/doom
が使用されます。
ハハ、インストールに成功しました。Ubuntu16.04です。すべての設定は~/.config/
あります。ありがとうございます〜
Arch Linuxx86_64を搭載したemacs25.3.3になりました。 運命の中で-emacsマスターにはまだ問題があります:
致命的なエラー:(エラー)パッケージ「org-20150330」が必要ですが、9.1.9しか使用できません
致命的なエラー:(エラー)パッケージ 'centered-window-mode-'は使用できません
致命的なエラー:(エラー)パッケージ 'ob-redis-'は使用できません
と開発ブランチで
クールなUIはありませんが、「Doomは0.585秒で0モジュールに123パッケージをロードしました」と表示されます。
@ SeAL80s開発ブランチでemacsを開始する前にmake
を実行しましたか?
@mbarkマスターブランチで「
「致命的なエラー:(エラー)パッケージ「org-20150330」が必要ですが、9.1.9しか利用できません」
git checkout development then make(またはmake install)上記のように表示され、カラーUIはなく、インストールされているパッケージは44個だけです。 マスターブランチでは300以上です。
そして、「make install」がマスターブランチにある場合、チェックアウトが開発され、「make」は250以上のパッケージを削除し、44個のパッケージが残ります。
git clone doom-emacsの場合、cp init.example.el init.el(開発ブランチには、すでに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私はちょうど自分自身を見つけました。 結局のところ、開発ブランチには〜/ .doom.d /が必要であり、init.example.elを〜/ .doom.d /にコピーします。 だから私はあなたが上で身に着けているのと同じようにした、そしてそれはうまくいく(それはREADMEやウェブサイトにはなく、開発ブランチのinit.example.elにある)
@ SeAL80s @hlissnerは、他のいくつかの問題で、ドキュメントが更新され、次のリリースの一部であると述べています。
@hlissner開発ブランチでは、.emacs.d呼び出しにinit.elがあり( 'core(concat user-emacs-directory "core / core")が必要)、 @ liuxuzzzの問題が発生します。 私の解決策はマスターブランチにあります、
mkdir〜 / .doom.d、cp init.example.el〜 / .doom.d / init.el
その後
git checkoutdevelop
ブランチを開発するために切り替えます
mv〜 / .doom.d / init.el〜 / .emacs.d / init.el
1行のみを含む開発ブランチのデフォルトのinit.elを上書きします
( 'coreが必要です(concat user-emacs-directory "core / core"))
次に、「makeinstal」lは完全に機能します。
@ SeAL80s順序が正しくありません。 develop
を使用する場合は、マスターブランチのinit.example.el
を使用しないでください。 これは問題を引き起こします。 変更の影響を理解していない限り、 ~/.emacs.d/init.el
変更または置換しないことを強くお勧めします。
(require 'core (concat user-emacs-directory "core/core"))
が_only_含まれている必要があります(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を開発すると、「makeinstall」に「:doomisinvalid」と表示されます。
私が言及した順序は私のために働きます。 理由はわかりませんが、「makeinstall」は成功します。
ちなみに、開発時にすでにinit.elがありますが、cp init.example.el〜 / .doom.d /init.elが表示されます
警告:サイクルが原因で、熱心なマクロ拡張がスキップされました:
…=>(load "core.el")=>(macroexpand-all…)=>(macroexpand(eval-and-compile…))=>(load "init.el")=>(load "core.el ")
熱心なマクロ拡張の失敗:(エラー "再帰 'require' for feature'core '")
マスターにこのエラーがあります...
はい。それで合っています。 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以下)が実行されていることを意味します。
シェルでemacs --version
を実行して調べます。
@hlissnerありがとう! 私は問題を見つけました: emacs --version
は正しいバージョン(26.1)を返していたので、何が問題になるのかわかりませんでしたが、結局、あなたが言ったように、Emacs22を使おうとしていました。リンクの代わりにコマンドエイリアスを作成しました。 おかげで、今は機能しています。
特に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私はしばらくの間このバグを探していましたが、まだリードを思い付いていません。 DEBUG=1 make install
でエラーを再現してから、結果のバックトレース(できるだけ多く)をペーストビンにコピーして私に送信することはできますか?
@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