просто 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)
DOOM Doctor
Запуск Emacs v25.3.1, фиксация 5dacbb7cb1c6ac246a9ccd15e6c4290def67757c
оболочка: / usr / bin / zsh
Составлено с помощью:
XPM JPEG TIFF GIF PNG RSVG ИЗОБРАЖЕНИЕ МАГИЯ ЗВУК GPM DBUS GCONF GS НАСТРОЙКИ
УВЕДОМЛЕНИЕ ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS МОДУЛИ GTK3 X11
uname -a:
Linux SeAL80s 4.14.30-1-MANJARO # 1 SMP PREEMPT Вс, 25 марта, 19:47:20 UTC
2018 x86_64 GNU / Linux
Попытка загрузить DOOM: успех! Загружен v2.0.9
Редакция 5dacbb7cb1c6ac246a9ccd15e6c4290def67757c
test-emacs
тестовые окна
тестовые шрифты
Предупреждение: не удалось найти шрифт material-design-icons.ttf в /home/daniel/.local/share/fonts/
Вы можете установить его, запустив Mx all-the-icons-install-fonts в
Emacs.
Это также может означать, что вы установили их в нестандартных местах,
в этом случае игнорируйте это предупреждение.
Предупреждение: не удалось найти шрифт weathericons.ttf в /home/daniel/.local/share/fonts/
Вы можете установить его, запустив Mx all-the-icons-install-fonts в
Emacs.
Это также может означать, что вы установили их в нестандартных местах,
в этом случае игнорируйте это предупреждение.
Предупреждение: не удалось найти шрифт octicons.ttf в /home/daniel/.local/share/fonts/
Вы можете установить его, запустив Mx all-the-icons-install-fonts в
Emacs.
Это также может означать, что вы установили их в нестандартных местах,
в этом случае игнорируйте это предупреждение.
Предупреждение: не удалось найти шрифт fontawesome.ttf в /home/daniel/.local/share/fonts/
Вы можете установить его, запустив Mx all-the-icons-install-fonts в
Emacs.
Это также может означать, что вы установили их в нестандартных местах,
в этом случае игнорируйте это предупреждение.
Предупреждение: не удалось найти шрифт file-icons.ttf в /home/daniel/.local/share/fonts/
Вы можете установить его, запустив Mx all-the-icons-install-fonts в
Emacs.
Это также может означать, что вы установили их в нестандартных местах,
в этом случае игнорируйте это предупреждение.
Предупреждение: не удалось найти шрифт all-icons.ttf в /home/daniel/.local/share/fonts/
Вы можете установить его, запустив Mx all-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/
тест-деготь
Все в порядке, счастливого Emacs'ing!
Пожалуйста, переключитесь на 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"))
Но он был удален из init.example.el
в 0026f08e (~ 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$
Пусто ли ~/.doom.d
кроме init.el?
Вы компилировали байтом ~/.emacs.d
(с make compile
)?
Баш
liuxu: ~ $ rm -rf .emacs.d / .doom.d /
liuxu: ~ $ mkdir .doom.d
liuxu: ~ $ git clone -b develop https://github.com/hlissner/doom-emacs ~ / .emacs.d
Клонирование в '/home/liuxu/.emacs.d' ...
пульт: Подсчет объектов: 33309, готово.
remote: Сжатие объектов: 100% (153/153), готово.
удаленный: всего 33309 (дельта 145), повторно используется 190 (дельта 111), повторно используется пакет 33044
Прием объектов: 100% (33309/33309), 9,38 МиБ | 1,97 Мбайт / с, готово.
Устранение дельт: 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
? В котором у вас может быть init.el, который вызывает (require 'core (concat user-emacs-directory "core/core"))
?
~/.config/doom
используется вместо ~/.doom.d
если он обнаружен.
Ха-ха, установка прошла успешно. Я Ubuntu16.04, все конфиги в ~/.config/
Спасибо ~
теперь в emacs 25.3.3 с Arch Linux x86_64. в doom-emacs master все еще есть проблема:
ФАТАЛЬНАЯ ОШИБКА: (ошибка) Требуется пакет org-20150330, но доступна только версия 9.1.9
ФАТАЛЬНАЯ ОШИБКА: (ошибка) Пакет 'centered-window-mode-' недоступен
ФАТАЛЬНАЯ ОШИБКА: (ошибка) Пакет ob-redis- недоступен.
и в ветке разработки
нет крутого пользовательского интерфейса, ничего. но там написано: "Doom загрузил 123 пакета через 0 модулей за 0,585 с"
@ SeAL80s вы запускали make
перед запуском emacs в ветке разработки?
@mbark В ветке Master 'make install' произведет
«ФАТАЛЬНАЯ ОШИБКА: (ошибка) Требуется пакет 'org-20150330', но доступна только версия 9.1.9»
git checkout develop, затем make (или make install) Он выглядит так, как указано выше, без цветного пользовательского интерфейса и установлено всего 44 пакета. В Главной Ветке 300+.
И, если «make install» в главной ветке, а затем checkout develop, «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 В ветке разработки есть init.el в вызовах .emacs.d (require 'core (concat user-emacs-directory "core / core")), которые вызывают проблему @liuxuzzz . Мое решение находится в главной ветке,
mkdir ~ / .doom.d, cp init.example.el ~ / .doom.d / init.el
тогда
git checkout разработать
переключиться на развитие ветки
mv ~ / .doom.d / init.el ~ / .emacs.d / init.el
перезаписать init.el по умолчанию в ветке разработки, которая содержит только одну строку
(требуется 'core (concat user-emacs-directory "core / core"))
Затем "make instal" работает отлично.
@ SeAL80s Неправильный порядок. Пожалуйста, не используйте 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 покажет
Предупреждение: нетерпеливое расширение макроса пропущено из-за цикла:
… => (Load "core.el") => (macroexpand-all…) => (macroexpand (eval-and-compile…)) => (load "init.el") => (load "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 или ниже).
Запустите 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 Я уже давно нашел никаких зацепок . Сможете ли вы воссоздать ошибку с помощью 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