ekaschalk / .spacemacs.d

My spacemacs configuration.
http://modernemacs.com
MIT License
310 stars 36 forks source link

can not start ? #35

Open yxsongbo opened 4 years ago

yxsongbo commented 4 years ago

Debugger entered--Lisp error: (void-function configuration-layer/package-used-p) (configuration-layer/package-used-p (quote outshine)) (if (configuration-layer/package-used-p (quote outshine)) (progn (defalias (quote outshine-fix-narrow-pos) (function (lambda (&rest args) "Narrowing works within the headline rather than requiring to be on it." (if (outline-on-heading-p t) nil (outline-previous-visible-heading 1))))) (defalias (quote outshine-fix-insert-pos) (function (lambda (&rest args) "Advise outshine heading insertion newlining to my organization workflow.\n\nNewline insertion now won't match org-mode, will act like block insertion.\n\nIf on a heading, insert on new next line.\nIf not on a heading, insert newline before current-line first." (if (outline-on-heading-p t) nil (forward-line -1) (end-of-line) (newline)) (end-of-line) (newline)))) (defalias (quote org-fix-heading-pos) (function (lambda (&rest args) "Advise org heading insertion, on heading -> no roll-over text after point." (if (outline-on-heading-p) (progn (end-of-line)))))) (defalias (quote outshine-insert-subheading) (function (lambda nil "A subheading variation on outshine-insert-heading'.\n\nDue to a bug withoutline-demote', this function only inserts\nthe subheading, rather than the heading, correctly when the\nsubheading level already exists within the buffer." (interactive) (evil-with-single-undo (outshine-insert-heading) (set-mark (line-beginning-position)) (goto-char (line-end-position)) (outline-demote (quote region)))))))) eval-buffer(#<buffer load-930223> nil "c:/Users/yxson/.spacemacs.d/layers/config/funcs.el" nil t) ; Reading at buffer position 2344 load-with-code-conversion("c:/Users/yxson/.spacemacs.d/layers/config/funcs.el" "c:/Users/yxson/.spacemacs.d/layers/config/funcs.el" nil nil) load("c:/Users/yxson/.spacemacs.d/layers/config/funcs.el") (if (file-exists-p file) (load file)) (let ((file (concat (eieio-oref obj (quote :dir)) file))) (if (file-exists-p file) (load file))) (while --dolist-tail-- (setq file (car --dolist-tail--)) (let ((file (concat (eieio-oref obj (quote :dir)) file))) (if (file-exists-p file) (load file))) (setq --dolist-tail-- (cdr --dolist-tail--))) (let ((--dolist-tail-- files) file) (while --dolist-tail-- (setq file (car --dolist-tail--)) (let ((file (concat (eieio-oref obj (quote :dir)) file))) (if (file-exists-p file) (load file))) (setq --dolist-tail-- (cdr --dolist-tail--)))) (progn (let ((--dolist-tail-- files) file) (while --dolist-tail-- (setq file (car --dolist-tail--)) (let ((file (concat (eieio-oref obj ...) file))) (if (file-exists-p file) (load file))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (if obj (progn (let ((--dolist-tail-- files) file) (while --dolist-tail-- (setq file (car --dolist-tail--)) (let ((file (concat ... file))) (if (file-exists-p file) (load file))) (setq --dolist-tail-- (cdr --dolist-tail--)))))) (let ((obj (configuration-layer/get-layer layer-name))) (if obj (progn (let ((--dolist-tail-- files) file) (while --dolist-tail-- (setq file (car --dolist-tail--)) (let ((file ...)) (if (file-exists-p file) (load file))) (setq --dolist-tail-- (cdr --dolist-tail--))))))) configuration-layer//load-layer-files(config ("funcs.el")) (while --dolist-tail-- (setq layer-name (car --dolist-tail--)) (configuration-layer//load-layer-files layer-name files) (setq --dolist-tail-- (cdr --dolist-tail--))) (let ((--dolist-tail-- layer-names) layer-name) (while --dolist-tail-- (setq layer-name (car --dolist-tail--)) (configuration-layer//load-layer-files layer-name files) (setq --dolist-tail-- (cdr --dolist-tail--)))) configuration-layer//load-layers-files((spacemacs-bootstrap spacemacs-org spacemacs-ui-visual spacemacs-ui spacemacs-misc spacemacs-language spacemacs-evil spacemacs-editing-visual spacemacs-editing spacemacs-layouts spacemacs-completion spacemacs-base spacemacs config auto-completion better-defaults git ivy org shell syntax-checking version-control graphviz ranger ibuffer csv html markdown yaml clojure emacs-lisp haskell c-c++ python mu4e display theming personal) ("funcs.el")) configuration-layer/sync() (if (not (version<= spacemacs-emacs-min-version emacs-version)) (error (concat "Your version of Emacs (%s) is too old. " "Spacemacs requires Emacs version %s or above.") emacs-version spacemacs-emacs-min-version) (load-file (concat (file-name-directory load-file-name) "core/core-load-paths.el")) (require (quote core-spacemacs)) (spacemacs/init) (configuration-layer/sync) (spacemacs-buffer/display-startup-note) (spacemacs/setup-startup-hook) (require (quote server)) (if (server-running-p) nil (server-start))) eval-buffer(#<buffer load> nil "c:/Users/yxson/.emacs.d/init.el" nil t) ; Reading at buffer position 1264 load-with-code-conversion("c:/Users/yxson/.emacs.d/init.el" "c:/Users/yxson/.emacs.d/init.el" t t) load("c:/Users/yxson/.emacs.d/init" t t)

f(compiled-function () #<bytecode 0x1000baab9>)()

command-line() normal-top-level()

yxsongbo commented 4 years ago

in Windows 10 ,emacs 26.3

yxsongbo commented 4 years ago

Warning (initialization): An error occurred while loading ‘c:/Users/yxson/.emacs.d/init.el’:

Symbol's function definition is void: configuration-layer/package-used-p

To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the ‘--debug-init’ option to view a complete error backtrace.

ekaschalk commented 4 years ago

Either your spacemacs hasn't installed properly or they changed the name of that function in a recent update to spacemacs.

yxsongbo commented 4 years ago

Can you teach me how to solve the problem, I have try many days

gronnbeck commented 4 years ago

I actually have the same problem. Was keen on checking out this configuration but I am no expert emacs user so hard for me to debug as well. What version of spacemacs are you running @ekaschalk ?

gronnbeck commented 4 years ago

Actually, it seems like I was able to fix it. It seems like they renamed it from configuration-layer/package-used-p to configuration-layer/package-usedp

senofsky commented 4 years ago

For me, the solution was to use the develop branch of spacemacs, not master.

The spacemacs community seems to agree that develop is more stable than master.