Doom-emacs: خطأ في التثبيت

تم إنشاؤها على ٢٩ مارس ٢٠١٨  ·  31تعليقات  ·  مصدر: hlissner/doom-emacs

السلوك المرصود

فقط git clone ، ثم cp init.example.el init.el ، ثم التثبيت ، ثم ظهرت رسالة الخطأ

تم تحديث الحزمة
تركيب كشف الثور
خطأ فادح: (خطأ) بحاجة إلى حزمة 'org-20150330' ، ولكن يتوفر 9.1.9 فقط
تثبيت وضع النافذة المركزية
خطأ فادح: (خطأ) الحزمة 'centered-window-mode-' غير متوفرة
تثبيت ob-redis
خطأ فادح: (خطأ) الحزمة "ob-redis-" غير متوفرة
تثبيت تخزين المصادقة بكلمة المرور
خطأ فادح: (خطأ) الحزمة 'auth-password-store-' غير متاحة
تركيب Help-fns +
خطأ فادح: (خطأ) الحزمة "help-fns + -" غير متوفرة
تم الانتهاء من!

سلوك متوقع

خطوات التكاثر

  1. حدد هذه الخطوات النموذجية ،
  2. اشطبهم،
  3. واستبدلها بخطوات دقيقة لإعادة إظهار مشكلتك.

معلومات النظام


قوس 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 الصوت GPM DBUS GCONF GSETTINGS
إخطار 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 بالتوقيت العالمي
2018 x86_64 جنو / لينكس

محاولة تحميل DOOM: النجاح! تم تحميل v2.0.9
مراجعة 5dacbb7cb1c6ac246a9ccd15e6c4290def67757c


اختبار إيماكس
نوافذ الاختبار
اختبار الخطوط
تحذير: تعذر العثور على رموز تصميم المواد. ttf في الخط /home/daniel/.local/share/fonts/
يمكنك تثبيته عن طريق تشغيل "Mx all-the-icons-install-Fonts" داخل
إيماكس.

قد يعني هذا أيضًا أنك قمت بتثبيتها في مواقع غير قياسية ،
في هذه الحالة ، تجاهل هذا التحذير.
تحذير: تعذر العثور على خط weathericons.ttf في /home/daniel/.local/share/fonts/
يمكنك تثبيته عن طريق تشغيل "Mx all-the-icons-install-Fonts" داخل
إيماكس.

قد يعني هذا أيضًا أنك قمت بتثبيتها في مواقع غير قياسية ،
في هذه الحالة ، تجاهل هذا التحذير.
تحذير: تعذر العثور على خط octicons.ttf في /home/daniel/.local/share/fonts/
يمكنك تثبيته عن طريق تشغيل "Mx all-the-icons-install-Fonts" داخل
إيماكس.

قد يعني هذا أيضًا أنك قمت بتثبيتها في مواقع غير قياسية ،
في هذه الحالة ، تجاهل هذا التحذير.
تحذير: تعذر العثور على الخط fontawesome.ttf في /home/daniel/.local/share/fonts/
يمكنك تثبيته عن طريق تشغيل "Mx all-the-icons-install-Fonts" داخل
إيماكس.

قد يعني هذا أيضًا أنك قمت بتثبيتها في مواقع غير قياسية ،
في هذه الحالة ، تجاهل هذا التحذير.
تحذير: تعذر العثور على file-icons.ttf الخط في /home/daniel/.local/share/fonts/
يمكنك تثبيته عن طريق تشغيل "Mx all-the-icons-install-Fonts" داخل
إيماكس.

قد يعني هذا أيضًا أنك قمت بتثبيتها في مواقع غير قياسية ،
في هذه الحالة ، تجاهل هذا التحذير.
تحذير: تعذر العثور على خط all-the-icons.ttf في /home/daniel/.local/share/fonts/
يمكنك تثبيته عن طريق تشغيل "Mx all-the-icons-install-Fonts" داخل
إيماكس.

قد يعني هذا أيضًا أنك قمت بتثبيتها في مواقع غير قياسية ،
في هذه الحالة ، تجاهل هذا التحذير.
اختبار النوتلس
اختبار tls
التحقق من صحة https://elpa.gnu.org
التحقق من صحة https://melpa.org
تم رفض https://self-signed.badssl.com بنجاح
رفض بنجاح https://wrong.host.badssl.com/
اختبار القطران
كل شيء يبدو على ما يرام ، Emacs'ing سعيد!

bug resolved

التعليق الأكثر فائدة

@ SeAL80s التدفق الصحيح هو

  1. استنساخ الموت- emacs
  2. cd ~/.emacs.d && git checkout develop
  3. mkdir ~/.doom.d && cp ~/.emacs.d/init.example.el ~/.doom.d/init.el
  4. cd ~/.emacs.d && make install

ال 31 كومينتر

يرجى التبديل إلى develop . تم إصلاح هذه المشكلات ومن المقرر دمجها في النظام الرئيسي قريبًا.

أيضا ، من فضلك لا تغلق هذا الموضوع. أرغب في إبقائه مفتوحًا حتى يتم دمج develop .

أنا أيضا..
عند الخروج تطوير ..
تحميل متكرر: "/home/liuxu/.emacs.d/modules/config/private/init.el" ، "/home/liuxu/.config/doom/init.el" ، "/home/liuxu/.emacs. د / 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' فشلت
جعل: * [.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 تطوير 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 ميغا بايت | 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

  • تطوير 0e12761 تحديث README مع سير عمل جديد سريع البدء
    أجهزة التحكم عن بعد / الأصل / الرأس -> الأصل / الماجستير
    أجهزة التحكم عن بعد / الأصل / تطوير 0e12761 تحديث README بسير عمل جديد سريع البدء
    أجهزة التحكم عن بعد / أصل / رئيسي 5dacbb7 دمج فرع "تطوير"
    أجهزة التحكم عن بعد / الأصل / لقطات الشاشة e2956e5 أضف لقطات شاشة
    liuxu: .emacs.d $ ls -al ~ / .doom.d /
    إجمالي 16
    drwxrwxr-x 2 liuxu liuxu 4096 4 月 4 18:30.
    drwxr-xr-x 46 liuxu liuxu 4096 4 月 4 18:30 ..
    -rw-rw-r-- 1 liuxu liuxu 6521 4 4 18:30 init.el
    liuxu: تثبيت .emacs.d $
    تثبيت الحزم الأساسية
    جارٍ استيراد package-keyring.gpg ...
    جارٍ استيراد package-keyring.gpg ... انتهى
    الاتصال بالمضيف: elpa.gnu.org:443
    الاتصال بالمضيف: elpa.gnu.org:443
    الاتصال بالمضيف: melpa.org:443
    الاتصال بالمضيف: melpa.org:443
    الاتصال بالمضيف: orgmode.org:443
    تم تحديث الحزمة
    ✓ مثبتة لينة
    ✓ حزمة الاستخدام المثبتة
    ✓ تثبيت Quelpa
    ✓ تثبيت غير متزامن
    تثبيت الحزم الأساسية ... تم
    تحذير: تم تخطي توسع الماكرو المتحمس بسبب الدورة:
    … => (تحميل "core.el") => (macroexpand-all…) => (macroexpand (Eval-and-compile…)) => (تحميل "init.el") => (تحميل "core.el ")
    فشل شديد في التوسع الكلي: (خطأ "متكرر" يتطلب "للميزة" الأساسية ")
    تحذير: تم تخطي توسع الماكرو المتحمس بسبب الدورة:
    … => (تحميل "core.el") => (macroexpand-all…) => (macroexpand (Eval-and-compile…)) => (تحميل "init.el") => (تحميل "core.el ")
    فشل شديد في التوسع الكلي: (خطأ "متكرر" يتطلب "للميزة" الأساسية ")
    تحذير: تم تخطي توسع الماكرو المتحمس بسبب الدورة:
    … => (تحميل "core.el") => (macroexpand-all…) => (macroexpand (Eval-and-compile…)) => (تحميل "init.el") => (تحميل "core.el ")
    فشل شديد في التوسع الكلي: (خطأ "متكرر" يتطلب "للميزة" الأساسية ")
    تحذير: تم تخطي توسع الماكرو المتحمس بسبب الدورة:
    … => (تحميل "core.el") => (macroexpand-all…) => (macroexpand (Eval-and-compile…)) => (تحميل "init.el") => (تحميل "core.el ")
    فشل شديد في التوسع الكلي: (خطأ "متكرر" يتطلب "للميزة" الأساسية ")
    تحذير: تم تخطي التوسع الكلي المتوق بسبب الدورة:
    … => (تحميل "core.el") => (macroexpand-all…) => (macroexpand (Eval-and-compile…)) => (تحميل "init.el") => (تحميل "core.el ")
    فشل شديد في التوسع الكلي: (خطأ "متكرر" يتطلب "للميزة" الأساسية ")
    تحذير: تم تخطي توسع الماكرو المتحمس بسبب الدورة:
    … => (تحميل "core.el") => (macroexpand-all…) => (macroexpand (Eval-and-compile…)) => (تحميل "init.el") => (تحميل "core.el ")
    فشل شديد في التوسع الكلي: (خطأ "متكرر" يتطلب "للميزة" الأساسية ")
    فشل شديد في التوسع الكلي: (خطأ "متكرر" يتطلب "للميزة" الأساسية ")
    فشل شديد في التوسع الكلي: (خطأ "متكرر" يتطلب "للميزة" الأساسية ")
    "تتطلب" التكرار للميزة "الأساسية"
    ملف Makefile: 97 : فشل وصفة للهدف '.local / autoloads.el'
    جعل: * [.local / autoloads.el] خطأ 255
    liuxu: .emacs.d $
    "

لا يمكنني إعادة إنتاج هذا. هل لديك مجلد ~/.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. في dom-emacs ماستر لا يزال لديه المشكلة:
خطأ فادح: (خطأ) بحاجة إلى حزمة 'org-20150330' ، ولكن يتوفر 9.1.9 فقط
خطأ فادح: (خطأ) الحزمة 'centered-window-mode-' غير متوفرة
خطأ فادح: (خطأ) الحزمة "ob-redis-" غير متوفرة

وفي تطوير الفرع
screenshot_2018-04-13_11-37-31
ليس لديك واجهة مستخدم رائعة ، لا شيء. ولكنها تقول "حمل Doom 123 حزمة عبر 0 وحدة في 0.585 ثانية"

@ SeAL80s هل قمت بتشغيل make قبل بدء emacs في فرع التطوير؟

mbark في الفرع الرئيسي ،

"خطأ فادح: (خطأ) بحاجة إلى حزمة 'org-20150330' ، ولكن يتوفر 9.1.9 فقط"

git checkout قم بالتطوير ثم قم بإجراء (أو قم بالتثبيت) يبدو كما هو مذكور أعلاه ، لا يوجد واجهة مستخدم ملونة وهي فقط 44 حزمة مثبتة. في الفرع الرئيسي 300+.

وفي حالة "إجراء التثبيت" في الفرع الرئيسي ، ثم تطوير الخروج ، ستزيل "make" أكثر من 250 حزمة ، وتبقى 44 حزمة.

إذا كان الأمر git clone doom-emacs ، فإن cp init.example.el init.el (في تطوير الفرع ، يوجد init.el بالفعل) ، "make install" سينتج خطأ "تعريف دالة الرمز باطل: الموت!"

@ SeAL80s التدفق الصحيح هو

  1. استنساخ الموت- emacs
  2. cd ~/.emacs.d && git checkout develop
  3. mkdir ~/.doom.d && cp ~/.emacs.d/init.example.el ~/.doom.d/init.el
  4. cd ~/.emacs.d && make install

fuxialexander لقد وجدت نفسي للتو. اتضح أن فرع التطوير يتطلب ~ / .doom.d / ونسخ init.example.el إلى ~ / .doom.d /. لقد فعلت ذلك تمامًا مثلما فعلت wtire أعلاه ، وهو يعمل.

@ SeAL80shlissner قد ذكر في بعض القضايا الأخرى التي سيتم تحديث المستندات، وأنه جزء من الإصدار التالي.

hlissner في فرع التطوير يوجد init.el في استدعاءات .emacs.d (تتطلب 'core (concat user-emacs-directory "core / core")) والتي تسبب مشكلة liuxuzzz . الحل هو الفرع الرئيسي ،

mkdir ~ / .doom.d، cp init.example.el ~ / .doom.d / init.el

ثم

تطوير بوابة الخروج

التحول لتطوير الفرع

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 . هذا سوف يسبب مشاكل. أوصي بشدة بأن تقوم _not_ بتعديل أو استبدال ~/.emacs.d/init.el ما لم تفهم تداعيات القيام بذلك.

  • يجب أن يحتوي ~ / .emacs.d / init.el _only_ على (require 'core (concat user-emacs-directory "core/core"))
  • يجب ألا يحتوي ~ / .doom.d / init.el على (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 valid".
الترتيب الذي ذكرته يناسبني. لا أعرف لماذا ، ولكن "التثبيت" سينجح.
بالمناسبة ، عند التطوير يوجد بالفعل init.el ، إذا كان cp init.example.el ~ / .doom.d / init.el سيظهر

تحذير: تم تخطي توسع الماكرو المتحمس بسبب الدورة:
… => (تحميل "core.el") => (macroexpand-all…) => (macroexpand (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 هي الصحيحة. إذا كان 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...

أرى أن الأمر نفسه معلق على تثبيت جديد من التطوير اليوم.

سأغلق هذا ، حيث تم حل المشكلة الأصلية.

tiduxBenJWard هل يمكنك خلق قضية جديدة لتعليق؟ يرجى تضمين M-x doom/info .

هل كانت هذه الصفحة مفيدة؟
0 / 5 - 0 التقييمات