Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop branch error, persp-mode :init: #4367

Closed
GreenHapi opened this issue Jan 4, 2016 · 41 comments
Closed

Develop branch error, persp-mode :init: #4367

GreenHapi opened this issue Jan 4, 2016 · 41 comments

Comments

@GreenHapi
Copy link
Contributor

Hello.
I tried current develop branch and I get this error:
Error (use-package): persp-mode :init: Symbol's function definition is void: persp-mode

Current master branch loads without problems

My config:
Win 10, emacs-bin-w64-24.5-1

@StreakyCobra
Copy link
Contributor

Are your packages up to date (i.e. [Update packages] on spacemacs buffer)?

@GreenHapi
Copy link
Contributor Author

They should be. I installed spacemacs dev a few times, tried updating. Relaunching. Every time result is the same.
It's totally clean install, new emacs, new spacemacs. Cleaned everything. Came to to try spacemacs again :)

@StreakyCobra
Copy link
Contributor

Can you try to give a backtrace?

@unekinn
Copy link

unekinn commented Jan 4, 2016

I had the same problem, but on the master branch, on OS X 10.11. Tried deleting .emacs.d and checking out the spacemacs repo again, without success. The problem seemed to be that persp-mode did not successfully install. Somehow (probably by coincidence) the install succeeded when starting Emacs with emacs --debug-init.

@GreenHapi
Copy link
Contributor Author

Cannot find a way to copy debug info in text format. Here is screenshot:
backtrace

--debug-init did not help me and spacemacs says that my packages are all of a current version

@StreakyCobra
Copy link
Contributor

It would help to have the textual backtrace, it's explained here how to get it. Can you also do SPC h d s and paste the result here?

@GreenHapi
Copy link
Contributor Author

Debugger entered--Lisp error: (void-function persp-mode)
  (persp-mode)
  (progn (setq persp-auto-resume-time (if dotspacemacs-auto-resume-layouts 1 -1) persp-nil-name dotspacemacs-default-layout-name persp-reset-windows-on-nil-window-conf nil persp-set-last-persp-for-new-frames nil persp-save-dir spacemacs-layouts-directory) (persp-mode) (defvar spacemacs--layouts-ms-doc-toggle 0 "Display a short doc when nil, full doc otherwise.") (defvar spacemacs--last-selected-layout persp-nil-name "Previously selected layout.") (defvar spacemacs--custom-layout-alist nil "List of custom layouts with their bound keys.\n Do not modify directly, use provided `spacemacs|define-custom-layout'") (defvar spacemacs--layouts-autosave-timer nil "Timer for layouts auto-save.") (defalias (quote spacemacs/jump-to-last-layout) (function (lambda nil "Open the previously selected layout." (interactive) (if (persp-get-by-name spacemacs--last-selected-layout) (progn (persp-switch spacemacs--last-selected-layout)))))) (defalias (quote spacemacs//layouts-ms-toggle-doc) (function (lambda nil "Toggle the full documenation for the layouts micro-state." (interactive) (setq spacemacs--layouts-ms-doc-toggle (logxor spacemacs--layouts-ms-doc-toggle 1))))) (defalias (quote spacemacs//layout-format-name) (function (lambda (name pos) "Format the layout name given by NAME for display in  mode-line." (let* ((string-name (format "%s" name)) (current (equal name ...)) (caption (concat ... ":" string-name))) (if current (concat (if current ...) caption (if current ...)) caption))))) (defvar spacemacs--layouts-ms-documentation "\n  [?]                  toggle this help\n  [0,9]                go to nth layout\n  [tab]                last layout\n  [a]                  add a buffer from another layout\n  [A]                  add all buffers from another layout\n  [b]                  select a buffer of the current layout\n  [c]                  close layout (buffers are not closed)\n  [C]                  close other layout(s) (buffers are not closed)\n  [h]                  go to default layout\n  [l]                  jump to a layout\n  [L]                  load saved layouts\n  [n] or [C-l]         next layout\n  [N] or [p] or [C-h]  previous layout\n  [o]                  custom layouts\n  [r]                  remove current buffer from layout\n  [R]                  rename or create layout\n  [s]                  save all layouts\n  [S]                  save layouts by names\n  [t]                  show a buffer without adding it to current layout\n  [w]                  workspaces micro-state\n  [x]                  kill layout and its buffers\n  [X]                  kill other layout(s) and their buffers") (defalias (quote spacemacs//layouts-ms-doc) (function (lambda nil "Return the docstring for the layouts micro-state." (let* ((persp-list (or ... ...)) (formatted-persp-list (concat ...))) (concat formatted-persp-list (if (equal 1 spacemacs--layouts-ms-doc-toggle) (progn spacemacs--layouts-ms-documentation))))))) (progn (defalias (quote spacemacs/layouts-micro-state) (function (lambda nil "layouts micro-state." (interactive) (let ((doc ...)) (if doc (progn ... ...))) nil (set-transient-map (let (...) (define-key map "?" ...) (define-key map "1" ...) (define-key map "2" ...) (define-key map "3" ...) (define-key map "4" ...) (define-key map "5" ...) (define-key map "6" ...) (define-key map "7" ...) (define-key map "8" ...) (define-key map "9" ...) (define-key map "0" ...) (define-key map [tab] ...) (define-key map [return] ...) (define-key map "�" ...) (define-key map "\f" ...) (define-key map "a" ...) (define-key map "A" ...) (define-key map "b" ...) (define-key map "c" ...) (define-key map "C" ...) (define-key map "h" ...) (define-key map "l" ...) (define-key map "L" ...) (define-key map "n" ...) (define-key map "N" ...) (define-key map "o" ...) (define-key map "p" ...) (define-key map "r" ...) (define-key map "R" ...) (define-key map "s" ...) (define-key map "S" ...) (define-key map "t" ...) (define-key map "w" ...) (define-key map "x" ...) (define-key map "X" ...) (define-key map " " ...) map) (quote spacemacs//layouts-on-exit))))) (if (null (quote ("l"))) nil (let ((--dolist-tail-- (quote ("l"))) key) (while --dolist-tail-- (setq key (car --dolist-tail--)) (spacemacs/set-leader-keys key (quote spacemacs/layouts-micro-state)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (if (null (quote nil)) nil (let ((--dolist-tail-- (quote nil)) val) (while --dolist-tail-- (setq val (car --dolist-tail--)) (spacemacs/set-leader-keys-for-major-mode (car val) (cdr val) (quote spacemacs/layouts-micro-state)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (if (null (quote nil)) nil (let ((--dolist-tail-- (quote nil)) key) (while --dolist-tail-- (setq key (car --dolist-tail--)) (global-set-key (kbd key) (quote spacemacs/layouts-micro-state)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (if (null (quote nil)) nil (let ((--dolist-tail-- (quote nil)) val) (while --dolist-tail-- (setq val (car --dolist-tail--)) (define-key (eval (car val)) (kbd (cdr val)) (quote spacemacs/layouts-micro-state)) (setq --dolist-tail-- (cdr --dolist-tail--)))))) (defalias (quote spacemacs/layout-switch-by-pos) (function (lambda (pos) "Switch to perspective of position POS." (let ((persp-to-switch (nth pos ...))) (if persp-to-switch (persp-switch persp-to-switch) (if (y-or-n-p ...) (progn ...))))))) (let ((--dolist-tail-- (number-sequence 9 0 -1)) i) (while --dolist-tail-- (setq i (car --dolist-tail--)) (eval (cons (quote defun) (cons (intern (format "spacemacs/persp-switch-to-%s" i)) (cons nil (cons ... ...))))) (setq --dolist-tail-- (cdr --dolist-tail--)))) (defalias (quote spacemacs/layout-goto-default) (function (lambda nil "Go to `dotspacemacs-default-layout-name` layout" (interactive) (if dotspacemacs-default-layout-name (progn (persp-switch dotspacemacs-default-layout-name)))))) (defalias (quote spacemacs/layouts-ms-rename) (function (lambda nil "Rename a layout and get back to the perspectives micro-state." (interactive) (call-interactively (quote persp-rename)) (spacemacs/layouts-micro-state)))) (defalias (quote spacemacs/layouts-ms-close) (function (lambda nil "Kill current perspective" (interactive) (persp-kill-without-buffers (spacemacs//current-layout-name))))) (defalias (quote spacemacs/layouts-ms-close-other) (function (lambda nil (interactive) (call-interactively (quote spacemacs/helm-persp-close)) (spacemacs/layouts-micro-state)))) (defalias (quote spacemacs/layouts-ms-kill) (function (lambda nil "Kill current perspective" (interactive) (persp-kill (spacemacs//current-layout-name))))) (defalias (quote spacemacs/layouts-ms-kill-other) (function (lambda nil (interactive) (call-interactively (quote spacemacs/helm-persp-kill)) (spacemacs/layouts-micro-state)))) (defalias (quote spacemacs/layouts-ms-last) (function (lambda nil "Switch to the last active perspective" (interactive) (persp-switch persp-last-persp-name)))) (defalias (quote spacemacs//custom-layout-func-name) (function (lambda (name) "Return the name of the custom-perspective function for NAME." (intern (concat "spacemacs/custom-perspective-" name))))) (prog1 (defalias (quote spacemacs|define-custom-layout) (cons (quote macro) (function (lambda (name &rest props) "Define a custom-perspective called NAME.\n\nFUNC is a FUNCTION defined using NAME and the result of\n`spacemacs//custom-layout-func-name', it takes care of\ncreating the perspective NAME and executing the expressions given\nin the :body property to this macro.\n\nNAME is a STRING.\n\nAvailable PROPS:\n\n`:binding STRING'\n   Key to be bound to the function FUNC\n\n`:body EXPRESSIONS'\n  One or several EXPRESSIONS that are going to be evaluated after\n  we change into the perspective NAME." (let* (... ... ... ...) (list ... ... ...)))))) (put (quote spacemacs|define-custom-layout) (quote lisp-indent-function) (quote 1))) (spacemacs|define-custom-layout "@Spacemacs" :binding "e" :body (spacemacs/find-dotfile)) (defalias (quote spacemacs/select-custom-layout) (function (lambda nil "Update the custom-perspectives microstate and then activate it." (interactive) (spacemacs//update-custom-layouts) (spacemacs/custom-layouts-micro-state)))) (defalias (quote spacemacs//custom-layouts-ms-documentation) (function (lambda nil "Return the docstring for the custom perspectives micro-state." (if spacemacs--custom-layout-alist (mapconcat (function (lambda ... ...)) spacemacs--custom-layout-alist " ") (warn (format "`spacemacs--custom-layout-alist' variable is empty")))))) (defalias (quote spacemacs//update-custom-layouts) (function (lambda nil "Ensure the custom-perspectives micro-state is updated.\nTakes each element in the list `spacemacs--custom-layout-alist'\nformat so they are supported by the\n`spacemacs/custom-layouts-micro-state' macro." (let (bindings) (let ((--dolist-tail-- spacemacs--custom-layout-alist) custom-persp) (while --dolist-tail-- (setq custom-persp ...) (let* ... ...) (setq --dolist-tail-- ...)) (setq custom-persp nil) bindings) (eval (cons (quote spacemacs|define-micro-state) (cons ... ...))))))))
  (condition-case err (progn (setq persp-auto-resume-time (if dotspacemacs-auto-resume-layouts 1 -1) persp-nil-name dotspacemacs-default-layout-name persp-reset-windows-on-nil-window-conf nil persp-set-last-persp-for-new-frames nil persp-save-dir spacemacs-layouts-directory) (persp-mode) (defvar spacemacs--layouts-ms-doc-toggle 0 "Display a short doc when nil, full doc otherwise.") (defvar spacemacs--last-selected-layout persp-nil-name "Previously selected layout.") (defvar spacemacs--custom-layout-alist nil "List of custom layouts with their bound keys.\n Do not modify directly, use provided `spacemacs|define-custom-layout'") (defvar spacemacs--layouts-autosave-timer nil "Timer for layouts auto-save.") (defalias (quote spacemacs/jump-to-last-layout) (function (lambda nil "Open the previously selected layout." (interactive) (if (persp-get-by-name spacemacs--last-selected-layout) (progn (persp-switch spacemacs--last-selected-layout)))))) (defalias (quote spacemacs//layouts-ms-toggle-doc) (function (lambda nil "Toggle the full documenation for the layouts micro-state." (interactive) (setq spacemacs--layouts-ms-doc-toggle (logxor spacemacs--layouts-ms-doc-toggle 1))))) (defalias (quote spacemacs//layout-format-name) (function (lambda (name pos) "Format the layout name given by NAME for display in  mode-line." (let* ((string-name ...) (current ...) (caption ...)) (if current (concat ... caption ...) caption))))) (defvar spacemacs--layouts-ms-documentation "\n  [?]                  toggle this help\n  [0,9]                go to nth layout\n  [tab]                last layout\n  [a]                  add a buffer from another layout\n  [A]                  add all buffers from another layout\n  [b]                  select a buffer of the current layout\n  [c]                  close layout (buffers are not closed)\n  [C]                  close other layout(s) (buffers are not closed)\n  [h]                  go to default layout\n  [l]                  jump to a layout\n  [L]                  load saved layouts\n  [n] or [C-l]         next layout\n  [N] or [p] or [C-h]  previous layout\n  [o]                  custom layouts\n  [r]                  remove current buffer from layout\n  [R]                  rename or create layout\n  [s]                  save all layouts\n  [S]                  save layouts by names\n  [t]                  show a buffer without adding it to current layout\n  [w]                  workspaces micro-state\n  [x]                  kill layout and its buffers\n  [X]                  kill other layout(s) and their buffers") (defalias (quote spacemacs//layouts-ms-doc) (function (lambda nil "Return the docstring for the layouts micro-state." (let* ((persp-list ...) (formatted-persp-list ...)) (concat formatted-persp-list (if ... ...)))))) (progn (defalias (quote spacemacs/layouts-micro-state) (function (lambda nil "layouts micro-state." (interactive) (let (...) (if doc ...)) nil (set-transient-map (let ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... map) (quote spacemacs//layouts-on-exit))))) (if (null (quote ("l"))) nil (let ((--dolist-tail-- (quote ...)) key) (while --dolist-tail-- (setq key (car --dolist-tail--)) (spacemacs/set-leader-keys key (quote spacemacs/layouts-micro-state)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (if (null (quote nil)) nil (let ((--dolist-tail-- (quote nil)) val) (while --dolist-tail-- (setq val (car --dolist-tail--)) (spacemacs/set-leader-keys-for-major-mode (car val) (cdr val) (quote spacemacs/layouts-micro-state)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (if (null (quote nil)) nil (let ((--dolist-tail-- (quote nil)) key) (while --dolist-tail-- (setq key (car --dolist-tail--)) (global-set-key (kbd key) (quote spacemacs/layouts-micro-state)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (if (null (quote nil)) nil (let ((--dolist-tail-- (quote nil)) val) (while --dolist-tail-- (setq val (car --dolist-tail--)) (define-key (eval ...) (kbd ...) (quote spacemacs/layouts-micro-state)) (setq --dolist-tail-- (cdr --dolist-tail--)))))) (defalias (quote spacemacs/layout-switch-by-pos) (function (lambda (pos) "Switch to perspective of position POS." (let ((persp-to-switch ...)) (if persp-to-switch (persp-switch persp-to-switch) (if ... ...)))))) (let ((--dolist-tail-- (number-sequence 9 0 -1)) i) (while --dolist-tail-- (setq i (car --dolist-tail--)) (eval (cons (quote defun) (cons (intern ...) (cons nil ...)))) (setq --dolist-tail-- (cdr --dolist-tail--)))) (defalias (quote spacemacs/layout-goto-default) (function (lambda nil "Go to `dotspacemacs-default-layout-name` layout" (interactive) (if dotspacemacs-default-layout-name (progn (persp-switch dotspacemacs-default-layout-name)))))) (defalias (quote spacemacs/layouts-ms-rename) (function (lambda nil "Rename a layout and get back to the perspectives micro-state." (interactive) (call-interactively (quote persp-rename)) (spacemacs/layouts-micro-state)))) (defalias (quote spacemacs/layouts-ms-close) (function (lambda nil "Kill current perspective" (interactive) (persp-kill-without-buffers (spacemacs//current-layout-name))))) (defalias (quote spacemacs/layouts-ms-close-other) (function (lambda nil (interactive) (call-interactively (quote spacemacs/helm-persp-close)) (spacemacs/layouts-micro-state)))) (defalias (quote spacemacs/layouts-ms-kill) (function (lambda nil "Kill current perspective" (interactive) (persp-kill (spacemacs//current-layout-name))))) (defalias (quote spacemacs/layouts-ms-kill-other) (function (lambda nil (interactive) (call-interactively (quote spacemacs/helm-persp-kill)) (spacemacs/layouts-micro-state)))) (defalias (quote spacemacs/layouts-ms-last) (function (lambda nil "Switch to the last active perspective" (interactive) (persp-switch persp-last-persp-name)))) (defalias (quote spacemacs//custom-layout-func-name) (function (lambda (name) "Return the name of the custom-perspective function for NAME." (intern (concat "spacemacs/custom-perspective-" name))))) (prog1 (defalias (quote spacemacs|define-custom-layout) (cons (quote macro) (function (lambda (name &rest props) "Define a custom-perspective called NAME.\n\nFUNC is a FUNCTION defined using NAME and the result of\n`spacemacs//custom-layout-func-name', it takes care of\ncreating the perspective NAME and executing the expressions given\nin the :body property to this macro.\n\nNAME is a STRING.\n\nAvailable PROPS:\n\n`:binding STRING'\n   Key to be bound to the function FUNC\n\n`:body EXPRESSIONS'\n  One or several EXPRESSIONS that are going to be evaluated after\n  we change into the perspective NAME." (let* ... ...))))) (put (quote spacemacs|define-custom-layout) (quote lisp-indent-function) (quote 1))) (spacemacs|define-custom-layout "@Spacemacs" :binding "e" :body (spacemacs/find-dotfile)) (defalias (quote spacemacs/select-custom-layout) (function (lambda nil "Update the custom-perspectives microstate and then activate it." (interactive) (spacemacs//update-custom-layouts) (spacemacs/custom-layouts-micro-state)))) (defalias (quote spacemacs//custom-layouts-ms-documentation) (function (lambda nil "Return the docstring for the custom perspectives micro-state." (if spacemacs--custom-layout-alist (mapconcat (function ...) spacemacs--custom-layout-alist " ") (warn (format "`spacemacs--custom-layout-alist' variable is empty")))))) (defalias (quote spacemacs//update-custom-layouts) (function (lambda nil "Ensure the custom-perspectives micro-state is updated.\nTakes each element in the list `spacemacs--custom-layout-alist'\nformat so they are supported by the\n`spacemacs/custom-layouts-micro-state' macro." (let (bindings) (let (... custom-persp) (while --dolist-tail-- ... ... ...) (setq custom-persp nil) bindings) (eval (cons ... ...))))))) ((debug error) (ignore (display-warning (quote use-package) (format "%s %s: %s" "persp-mode" ":init" (error-message-string err)) :error))))
  (progn (condition-case err (progn (setq persp-auto-resume-time (if dotspacemacs-auto-resume-layouts 1 -1) persp-nil-name dotspacemacs-default-layout-name persp-reset-windows-on-nil-window-conf nil persp-set-last-persp-for-new-frames nil persp-save-dir spacemacs-layouts-directory) (persp-mode) (defvar spacemacs--layouts-ms-doc-toggle 0 "Display a short doc when nil, full doc otherwise.") (defvar spacemacs--last-selected-layout persp-nil-name "Previously selected layout.") (defvar spacemacs--custom-layout-alist nil "List of custom layouts with their bound keys.\n Do not modify directly, use provided `spacemacs|define-custom-layout'") (defvar spacemacs--layouts-autosave-timer nil "Timer for layouts auto-save.") (defalias (quote spacemacs/jump-to-last-layout) (function (lambda nil "Open the previously selected layout." (interactive) (if (persp-get-by-name spacemacs--last-selected-layout) (progn ...))))) (defalias (quote spacemacs//layouts-ms-toggle-doc) (function (lambda nil "Toggle the full documenation for the layouts micro-state." (interactive) (setq spacemacs--layouts-ms-doc-toggle (logxor spacemacs--layouts-ms-doc-toggle 1))))) (defalias (quote spacemacs//layout-format-name) (function (lambda (name pos) "Format the layout name given by NAME for display in  mode-line." (let* (... ... ...) (if current ... caption))))) (defvar spacemacs--layouts-ms-documentation "\n  [?]                  toggle this help\n  [0,9]                go to nth layout\n  [tab]                last layout\n  [a]                  add a buffer from another layout\n  [A]                  add all buffers from another layout\n  [b]                  select a buffer of the current layout\n  [c]                  close layout (buffers are not closed)\n  [C]                  close other layout(s) (buffers are not closed)\n  [h]                  go to default layout\n  [l]                  jump to a layout\n  [L]                  load saved layouts\n  [n] or [C-l]         next layout\n  [N] or [p] or [C-h]  previous layout\n  [o]                  custom layouts\n  [r]                  remove current buffer from layout\n  [R]                  rename or create layout\n  [s]                  save all layouts\n  [S]                  save layouts by names\n  [t]                  show a buffer without adding it to current layout\n  [w]                  workspaces micro-state\n  [x]                  kill layout and its buffers\n  [X]                  kill other layout(s) and their buffers") (defalias (quote spacemacs//layouts-ms-doc) (function (lambda nil "Return the docstring for the layouts micro-state." (let* (... ...) (concat formatted-persp-list ...))))) (progn (defalias (quote spacemacs/layouts-micro-state) (function (lambda nil "layouts micro-state." (interactive) (let ... ...) nil (set-transient-map ... ...)))) (if (null (quote ("l"))) nil (let ((--dolist-tail-- ...) key) (while --dolist-tail-- (setq key ...) (spacemacs/set-leader-keys key ...) (setq --dolist-tail-- ...)))) (if (null (quote nil)) nil (let ((--dolist-tail-- ...) val) (while --dolist-tail-- (setq val ...) (spacemacs/set-leader-keys-for-major-mode ... ... ...) (setq --dolist-tail-- ...)))) (if (null (quote nil)) nil (let ((--dolist-tail-- ...) key) (while --dolist-tail-- (setq key ...) (global-set-key ... ...) (setq --dolist-tail-- ...)))) (if (null (quote nil)) nil (let ((--dolist-tail-- ...) val) (while --dolist-tail-- (setq val ...) (define-key ... ... ...) (setq --dolist-tail-- ...))))) (defalias (quote spacemacs/layout-switch-by-pos) (function (lambda (pos) "Switch to perspective of position POS." (let (...) (if persp-to-switch ... ...))))) (let ((--dolist-tail-- (number-sequence 9 0 -1)) i) (while --dolist-tail-- (setq i (car --dolist-tail--)) (eval (cons (quote defun) (cons ... ...))) (setq --dolist-tail-- (cdr --dolist-tail--)))) (defalias (quote spacemacs/layout-goto-default) (function (lambda nil "Go to `dotspacemacs-default-layout-name` layout" (interactive) (if dotspacemacs-default-layout-name (progn ...))))) (defalias (quote spacemacs/layouts-ms-rename) (function (lambda nil "Rename a layout and get back to the perspectives micro-state." (interactive) (call-interactively (quote persp-rename)) (spacemacs/layouts-micro-state)))) (defalias (quote spacemacs/layouts-ms-close) (function (lambda nil "Kill current perspective" (interactive) (persp-kill-without-buffers (spacemacs//current-layout-name))))) (defalias (quote spacemacs/layouts-ms-close-other) (function (lambda nil (interactive) (call-interactively (quote spacemacs/helm-persp-close)) (spacemacs/layouts-micro-state)))) (defalias (quote spacemacs/layouts-ms-kill) (function (lambda nil "Kill current perspective" (interactive) (persp-kill (spacemacs//current-layout-name))))) (defalias (quote spacemacs/layouts-ms-kill-other) (function (lambda nil (interactive) (call-interactively (quote spacemacs/helm-persp-kill)) (spacemacs/layouts-micro-state)))) (defalias (quote spacemacs/layouts-ms-last) (function (lambda nil "Switch to the last active perspective" (interactive) (persp-switch persp-last-persp-name)))) (defalias (quote spacemacs//custom-layout-func-name) (function (lambda (name) "Return the name of the custom-perspective function for NAME." (intern (concat "spacemacs/custom-perspective-" name))))) (prog1 (defalias (quote spacemacs|define-custom-layout) (cons (quote macro) (function (lambda ... "Define a custom-perspective called NAME.\n\nFUNC is a FUNCTION defined using NAME and the result of\n`spacemacs//custom-layout-func-name', it takes care of\ncreating the perspective NAME and executing the expressions given\nin the :body property to this macro.\n\nNAME is a STRING.\n\nAvailable PROPS:\n\n`:binding STRING'\n   Key to be bound to the function FUNC\n\n`:body EXPRESSIONS'\n  One or several EXPRESSIONS that are going to be evaluated after\n  we change into the perspective NAME." ...)))) (put (quote spacemacs|define-custom-layout) (quote lisp-indent-function) (quote 1))) (spacemacs|define-custom-layout "@Spacemacs" :binding "e" :body (spacemacs/find-dotfile)) (defalias (quote spacemacs/select-custom-layout) (function (lambda nil "Update the custom-perspectives microstate and then activate it." (interactive) (spacemacs//update-custom-layouts) (spacemacs/custom-layouts-micro-state)))) (defalias (quote spacemacs//custom-layouts-ms-documentation) (function (lambda nil "Return the docstring for the custom perspectives micro-state." (if spacemacs--custom-layout-alist (mapconcat ... spacemacs--custom-layout-alist " ") (warn ...))))) (defalias (quote spacemacs//update-custom-layouts) (function (lambda nil "Ensure the custom-perspectives micro-state is updated.\nTakes each element in the list `spacemacs--custom-layout-alist'\nformat so they are supported by the\n`spacemacs/custom-layouts-micro-state' macro." (let (bindings) (let ... ... ... bindings) (eval ...)))))) ((debug error) (ignore (display-warning (quote use-package) (format "%s %s: %s" "persp-mode" ":init" (error-message-string err)) :error)))) (condition-case err (run-hooks (quote use-package--persp-mode--post-init-hook)) ((debug error) (ignore (display-warning (quote use-package) (format "%s %s: %s" "persp-mode" "post-:init hook" (error-message-string err)) :error)))))
  (if (condition-case err (run-hook-with-args-until-failure (quote use-package--persp-mode--pre-init-hook)) ((debug error) (ignore (display-warning (quote use-package) (format "%s %s: %s" "persp-mode" "pre-:init hook" (error-message-string err)) :error)))) (progn (condition-case err (progn (setq persp-auto-resume-time (if dotspacemacs-auto-resume-layouts 1 -1) persp-nil-name dotspacemacs-default-layout-name persp-reset-windows-on-nil-window-conf nil persp-set-last-persp-for-new-frames nil persp-save-dir spacemacs-layouts-directory) (persp-mode) (defvar spacemacs--layouts-ms-doc-toggle 0 "Display a short doc when nil, full doc otherwise.") (defvar spacemacs--last-selected-layout persp-nil-name "Previously selected layout.") (defvar spacemacs--custom-layout-alist nil "List of custom layouts with their bound keys.\n Do not modify directly, use provided `spacemacs|define-custom-layout'") (defvar spacemacs--layouts-autosave-timer nil "Timer for layouts auto-save.") (defalias (quote spacemacs/jump-to-last-layout) (function (lambda nil "Open the previously selected layout." (interactive) (if ... ...)))) (defalias (quote spacemacs//layouts-ms-toggle-doc) (function (lambda nil "Toggle the full documenation for the layouts micro-state." (interactive) (setq spacemacs--layouts-ms-doc-toggle ...)))) (defalias (quote spacemacs//layout-format-name) (function (lambda (name pos) "Format the layout name given by NAME for display in  mode-line." (let* ... ...)))) (defvar spacemacs--layouts-ms-documentation "\n  [?]                  toggle this help\n  [0,9]                go to nth layout\n  [tab]                last layout\n  [a]                  add a buffer from another layout\n  [A]                  add all buffers from another layout\n  [b]                  select a buffer of the current layout\n  [c]                  close layout (buffers are not closed)\n  [C]                  close other layout(s) (buffers are not closed)\n  [h]                  go to default layout\n  [l]                  jump to a layout\n  [L]                  load saved layouts\n  [n] or [C-l]         next layout\n  [N] or [p] or [C-h]  previous layout\n  [o]                  custom layouts\n  [r]                  remove current buffer from layout\n  [R]                  rename or create layout\n  [s]                  save all layouts\n  [S]                  save layouts by names\n  [t]                  show a buffer without adding it to current layout\n  [w]                  workspaces micro-state\n  [x]                  kill layout and its buffers\n  [X]                  kill other layout(s) and their buffers") (defalias (quote spacemacs//layouts-ms-doc) (function (lambda nil "Return the docstring for the layouts micro-state." (let* ... ...)))) (progn (defalias (quote spacemacs/layouts-micro-state) (function (lambda nil "layouts micro-state." ... ... nil ...))) (if (null (quote ...)) nil (let (... key) (while --dolist-tail-- ... ... ...))) (if (null (quote nil)) nil (let (... val) (while --dolist-tail-- ... ... ...))) (if (null (quote nil)) nil (let (... key) (while --dolist-tail-- ... ... ...))) (if (null (quote nil)) nil (let (... val) (while --dolist-tail-- ... ... ...)))) (defalias (quote spacemacs/layout-switch-by-pos) (function (lambda (pos) "Switch to perspective of position POS." (let ... ...)))) (let ((--dolist-tail-- (number-sequence 9 0 -1)) i) (while --dolist-tail-- (setq i (car --dolist-tail--)) (eval (cons ... ...)) (setq --dolist-tail-- (cdr --dolist-tail--)))) (defalias (quote spacemacs/layout-goto-default) (function (lambda nil "Go to `dotspacemacs-default-layout-name` layout" (interactive) (if dotspacemacs-default-layout-name ...)))) (defalias (quote spacemacs/layouts-ms-rename) (function (lambda nil "Rename a layout and get back to the perspectives micro-state." (interactive) (call-interactively ...) (spacemacs/layouts-micro-state)))) (defalias (quote spacemacs/layouts-ms-close) (function (lambda nil "Kill current perspective" (interactive) (persp-kill-without-buffers ...)))) (defalias (quote spacemacs/layouts-ms-close-other) (function (lambda nil (interactive) (call-interactively ...) (spacemacs/layouts-micro-state)))) (defalias (quote spacemacs/layouts-ms-kill) (function (lambda nil "Kill current perspective" (interactive) (persp-kill ...)))) (defalias (quote spacemacs/layouts-ms-kill-other) (function (lambda nil (interactive) (call-interactively ...) (spacemacs/layouts-micro-state)))) (defalias (quote spacemacs/layouts-ms-last) (function (lambda nil "Switch to the last active perspective" (interactive) (persp-switch persp-last-persp-name)))) (defalias (quote spacemacs//custom-layout-func-name) (function (lambda (name) "Return the name of the custom-perspective function for NAME." (intern ...)))) (prog1 (defalias (quote spacemacs|define-custom-layout) (cons (quote macro) (function ...))) (put (quote spacemacs|define-custom-layout) (quote lisp-indent-function) (quote 1))) (spacemacs|define-custom-layout "@Spacemacs" :binding "e" :body (spacemacs/find-dotfile)) (defalias (quote spacemacs/select-custom-layout) (function (lambda nil "Update the custom-perspectives microstate and then activate it." (interactive) (spacemacs//update-custom-layouts) (spacemacs/custom-layouts-micro-state)))) (defalias (quote spacemacs//custom-layouts-ms-documentation) (function (lambda nil "Return the docstring for the custom perspectives micro-state." (if spacemacs--custom-layout-alist ... ...)))) (defalias (quote spacemacs//update-custom-layouts) (function (lambda nil "Ensure the custom-perspectives micro-state is updated.\nTakes each element in the list `spacemacs--custom-layout-alist'\nformat so they are supported by the\n`spacemacs/custom-layouts-micro-state' macro." (let ... ... ...))))) ((debug error) (ignore (display-warning (quote use-package) (format "%s %s: %s" "persp-mode" ":init" (error-message-string err)) :error)))) (condition-case err (run-hooks (quote use-package--persp-mode--post-init-hook)) ((debug error) (ignore (display-warning (quote use-package) (format "%s %s: %s" "persp-mode" "post-:init hook" (error-message-string err)) :error))))))
  (progn (if (condition-case err (run-hook-with-args-until-failure (quote use-package--persp-mode--pre-init-hook)) ((debug error) (ignore (display-warning (quote use-package) (format "%s %s: %s" "persp-mode" "pre-:init hook" (error-message-string err)) :error)))) (progn (condition-case err (progn (setq persp-auto-resume-time (if dotspacemacs-auto-resume-layouts 1 -1) persp-nil-name dotspacemacs-default-layout-name persp-reset-windows-on-nil-window-conf nil persp-set-last-persp-for-new-frames nil persp-save-dir spacemacs-layouts-directory) (persp-mode) (defvar spacemacs--layouts-ms-doc-toggle 0 "Display a short doc when nil, full doc otherwise.") (defvar spacemacs--last-selected-layout persp-nil-name "Previously selected layout.") (defvar spacemacs--custom-layout-alist nil "List of custom layouts with their bound keys.\n Do not modify directly, use provided `spacemacs|define-custom-layout'") (defvar spacemacs--layouts-autosave-timer nil "Timer for layouts auto-save.") (defalias (quote spacemacs/jump-to-last-layout) (function (lambda nil "Open the previously selected layout." ... ...))) (defalias (quote spacemacs//layouts-ms-toggle-doc) (function (lambda nil "Toggle the full documenation for the layouts micro-state." ... ...))) (defalias (quote spacemacs//layout-format-name) (function (lambda ... "Format the layout name given by NAME for display in  mode-line." ...))) (defvar spacemacs--layouts-ms-documentation "\n  [?]                  toggle this help\n  [0,9]                go to nth layout\n  [tab]                last layout\n  [a]                  add a buffer from another layout\n  [A]                  add all buffers from another layout\n  [b]                  select a buffer of the current layout\n  [c]                  close layout (buffers are not closed)\n  [C]                  close other layout(s) (buffers are not closed)\n  [h]                  go to default layout\n  [l]                  jump to a layout\n  [L]                  load saved layouts\n  [n] or [C-l]         next layout\n  [N] or [p] or [C-h]  previous layout\n  [o]                  custom layouts\n  [r]                  remove current buffer from layout\n  [R]                  rename or create layout\n  [s]                  save all layouts\n  [S]                  save layouts by names\n  [t]                  show a buffer without adding it to current layout\n  [w]                  workspaces micro-state\n  [x]                  kill layout and its buffers\n  [X]                  kill other layout(s) and their buffers") (defalias (quote spacemacs//layouts-ms-doc) (function (lambda nil "Return the docstring for the layouts micro-state." ...))) (progn (defalias (quote spacemacs/layouts-micro-state) (function ...)) (if (null ...) nil (let ... ...)) (if (null ...) nil (let ... ...)) (if (null ...) nil (let ... ...)) (if (null ...) nil (let ... ...))) (defalias (quote spacemacs/layout-switch-by-pos) (function (lambda ... "Switch to perspective of position POS." ...))) (let ((--dolist-tail-- ...) i) (while --dolist-tail-- (setq i ...) (eval ...) (setq --dolist-tail-- ...))) (defalias (quote spacemacs/layout-goto-default) (function (lambda nil "Go to `dotspacemacs-default-layout-name` layout" ... ...))) (defalias (quote spacemacs/layouts-ms-rename) (function (lambda nil "Rename a layout and get back to the perspectives micro-state." ... ... ...))) (defalias (quote spacemacs/layouts-ms-close) (function (lambda nil "Kill current perspective" ... ...))) (defalias (quote spacemacs/layouts-ms-close-other) (function (lambda nil ... ... ...))) (defalias (quote spacemacs/layouts-ms-kill) (function (lambda nil "Kill current perspective" ... ...))) (defalias (quote spacemacs/layouts-ms-kill-other) (function (lambda nil ... ... ...))) (defalias (quote spacemacs/layouts-ms-last) (function (lambda nil "Switch to the last active perspective" ... ...))) (defalias (quote spacemacs//custom-layout-func-name) (function (lambda ... "Return the name of the custom-perspective function for NAME." ...))) (prog1 (defalias (quote spacemacs|define-custom-layout) (cons ... ...)) (put (quote spacemacs|define-custom-layout) (quote lisp-indent-function) (quote 1))) (spacemacs|define-custom-layout "@Spacemacs" :binding "e" :body (spacemacs/find-dotfile)) (defalias (quote spacemacs/select-custom-layout) (function (lambda nil "Update the custom-perspectives microstate and then activate it." ... ... ...))) (defalias (quote spacemacs//custom-layouts-ms-documentation) (function (lambda nil "Return the docstring for the custom perspectives micro-state." ...))) (defalias (quote spacemacs//update-custom-layouts) (function (lambda nil "Ensure the custom-perspectives micro-state is updated.\nTakes each element in the list `spacemacs--custom-layout-alist'\nformat so they are supported by the\n`spacemacs/custom-layouts-micro-state' macro." ...)))) ((debug error) (ignore (display-warning (quote use-package) (format "%s %s: %s" "persp-mode" ":init" ...) :error)))) (condition-case err (run-hooks (quote use-package--persp-mode--post-init-hook)) ((debug error) (ignore (display-warning (quote use-package) (format "%s %s: %s" "persp-mode" "post-:init hook" ...) :error)))))) (let ((now (current-time))) (message "%s..." "Loading package persp-mode") (prog1 (if (not (require (quote persp-mode) nil (quote noerror))) (ignore (message (format "Could not load %s" (quote persp-mode)))) (let ((now (current-time))) (message "%s..." "Configuring package persp-mode") (prog1 (progn (if ... ...) (if ... ...) t) (let (...) (if ... ... ...))))) (let ((elapsed (float-time (time-subtract ... now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package persp-mode" elapsed) (message "%s...done" "Loading package persp-mode"))))))
  spacemacs-layouts/init-persp-mode()
  funcall(spacemacs-layouts/init-persp-mode)
  (let* ((pkg-name (eieio-oref pkg (quote :name))) (owner (eieio-oref pkg (quote :owner))) (owner-layer (object-assoc owner :name configuration-layer--layers)) (disabled-for-layers (eieio-oref owner-layer (quote :disabled-for)))) (spacemacs-buffer/message (format "Configuring %S..." pkg-name)) (mapc (function (lambda (layer) (if (memq layer disabled-for-layers) (spacemacs-buffer/message (format "  -> ignored pre-init (%S)..." layer)) (spacemacs-buffer/message (format "  -> pre-init (%S)..." layer)) (condition-case err (funcall (intern ...)) ((quote error) (configuration-layer//set-error) (spacemacs-buffer/append ...)))))) (eieio-oref pkg (quote :pre-layers))) (spacemacs-buffer/message (format "  -> init (%S)..." owner)) (funcall (intern (format "%S/init-%S" owner pkg-name))) (mapc (function (lambda (layer) (if (memq layer disabled-for-layers) (spacemacs-buffer/message (format "  -> ignored post-init (%S)..." layer)) (spacemacs-buffer/message (format "  -> post-init (%S)..." layer)) (condition-case err (funcall (intern ...)) ((quote error) (configuration-layer//set-error) (spacemacs-buffer/append ...)))))) (eieio-oref pkg (quote :post-layers))))
  configuration-layer//configure-package([object cfgl-package "persp-mode" persp-mode spacemacs-layouts nil nil (recipe :fetcher github :repo "syl20bnr/persp-mode.el" :branch "fix-emacsclient-crash") nil nil nil])
  (cond ((eq (quote dotfile) (eieio-oref pkg (quote :owner))) (configuration-layer//activate-package pkg-name) (spacemacs-buffer/message (format "%S is configured in the dotfile." pkg-name))) (t (configuration-layer//activate-package pkg-name) (configuration-layer//configure-package pkg)))
  (cond ((and (eieio-oref pkg (quote :excluded)) (not (eieio-oref pkg (quote :protected)))) (spacemacs-buffer/message (format "%S ignored since it has been excluded." pkg-name))) ((null (eieio-oref pkg (quote :owner))) (spacemacs-buffer/message (format "%S ignored since it has no owner layer." pkg-name))) (t (let ((location (eieio-oref pkg (quote :location)))) (cond ((stringp location) (if (file-directory-p location) (setq load-path (cons ... load-path)) (spacemacs-buffer/warning "Location path for package %S does not exists (value: %s)." pkg location))) ((and (eq (quote local) location) (eq (quote dotfile) (eieio-oref pkg ...))) (setq load-path (cons (file-name-as-directory ...) load-path))) ((eq (quote local) location) (let* ((owner ...) (dir ...)) (setq load-path (cons ... load-path)) (setq load-path (cons ... load-path)))))) (cond ((eq (quote dotfile) (eieio-oref pkg (quote :owner))) (configuration-layer//activate-package pkg-name) (spacemacs-buffer/message (format "%S is configured in the dotfile." pkg-name))) (t (configuration-layer//activate-package pkg-name) (configuration-layer//configure-package pkg)))))
  (let ((pkg-name (eieio-oref pkg (quote :name)))) (cond ((and (eieio-oref pkg (quote :excluded)) (not (eieio-oref pkg (quote :protected)))) (spacemacs-buffer/message (format "%S ignored since it has been excluded." pkg-name))) ((null (eieio-oref pkg (quote :owner))) (spacemacs-buffer/message (format "%S ignored since it has no owner layer." pkg-name))) (t (let ((location (eieio-oref pkg (quote :location)))) (cond ((stringp location) (if (file-directory-p location) (setq load-path ...) (spacemacs-buffer/warning "Location path for package %S does not exists (value: %s)." pkg location))) ((and (eq ... location) (eq ... ...)) (setq load-path (cons ... load-path))) ((eq (quote local) location) (let* (... ...) (setq load-path ...) (setq load-path ...))))) (cond ((eq (quote dotfile) (eieio-oref pkg (quote :owner))) (configuration-layer//activate-package pkg-name) (spacemacs-buffer/message (format "%S is configured in the dotfile." pkg-name))) (t (configuration-layer//activate-package pkg-name) (configuration-layer//configure-package pkg))))))
  (while --dolist-tail-- (setq pkg (car --dolist-tail--)) (spacemacs-buffer/loading-animation) (let ((pkg-name (eieio-oref pkg (quote :name)))) (cond ((and (eieio-oref pkg (quote :excluded)) (not (eieio-oref pkg (quote :protected)))) (spacemacs-buffer/message (format "%S ignored since it has been excluded." pkg-name))) ((null (eieio-oref pkg (quote :owner))) (spacemacs-buffer/message (format "%S ignored since it has no owner layer." pkg-name))) (t (let ((location (eieio-oref pkg ...))) (cond ((stringp location) (if ... ... ...)) ((and ... ...) (setq load-path ...)) ((eq ... location) (let* ... ... ...)))) (cond ((eq (quote dotfile) (eieio-oref pkg ...)) (configuration-layer//activate-package pkg-name) (spacemacs-buffer/message (format "%S is configured in the dotfile." pkg-name))) (t (configuration-layer//activate-package pkg-name) (configuration-layer//configure-package pkg)))))) (setq --dolist-tail-- (cdr --dolist-tail--)))
  (let ((--dolist-tail-- packages) pkg) (while --dolist-tail-- (setq pkg (car --dolist-tail--)) (spacemacs-buffer/loading-animation) (let ((pkg-name (eieio-oref pkg (quote :name)))) (cond ((and (eieio-oref pkg (quote :excluded)) (not (eieio-oref pkg ...))) (spacemacs-buffer/message (format "%S ignored since it has been excluded." pkg-name))) ((null (eieio-oref pkg (quote :owner))) (spacemacs-buffer/message (format "%S ignored since it has no owner layer." pkg-name))) (t (let ((location ...)) (cond (... ...) (... ...) (... ...))) (cond ((eq ... ...) (configuration-layer//activate-package pkg-name) (spacemacs-buffer/message ...)) (t (configuration-layer//activate-package pkg-name) (configuration-layer//configure-package pkg)))))) (setq --dolist-tail-- (cdr --dolist-tail--))))
  configuration-layer//configure-packages-2(([object cfgl-package "ace-jump-helm-line" ace-jump-helm-line spacemacs nil nil elpa nil nil nil] [object cfgl-package "ace-link" ace-link spacemacs nil nil elpa nil nil nil] [object cfgl-package "ace-window" ace-window spacemacs nil nil elpa nil nil nil] [object cfgl-package "adaptive-wrap" adaptive-wrap spacemacs nil nil elpa nil nil nil] [object cfgl-package "aggressive-indent" aggressive-indent spacemacs nil nil elpa nil nil nil] [object cfgl-package "auto-compile" auto-compile emacs-lisp nil nil elpa nil nil nil] [object cfgl-package "auto-highlight-symbol" auto-highlight-symbol spacemacs nil nil elpa nil nil nil] [object cfgl-package "avy" avy spacemacs nil nil elpa nil nil nil] [object cfgl-package "bind-key" bind-key spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "bookmark" bookmark spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "buffer-move" buffer-move spacemacs nil nil elpa nil nil nil] [object cfgl-package "centered-cursor" centered-cursor spacemacs nil nil local nil nil nil] [object cfgl-package "clean-aindent-mode" clean-aindent-mode spacemacs nil nil elpa nil nil nil] [object cfgl-package "company" company nil nil (emacs-lisp) elpa nil nil nil] [object cfgl-package "define-word" define-word spacemacs nil nil elpa nil nil nil] [object cfgl-package "desktop" desktop spacemacs nil nil elpa nil nil nil] [object cfgl-package "diminish" diminish spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "doc-view" doc-view spacemacs nil nil elpa nil nil nil] [object cfgl-package "ediff" ediff spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "eldoc" eldoc spacemacs-base nil (emacs-lisp) elpa nil nil nil] [object cfgl-package "electric-indent-mode" electric-indent-mode spacemacs-base nil nil built-in nil nil nil] [object cfgl-package "elisp-slime-nav" elisp-slime-nav emacs-lisp nil nil elpa nil nil nil] [object cfgl-package "emacs-lisp" emacs-lisp emacs-lisp nil nil built-in nil nil nil] [object cfgl-package "eval-sexp-fu" eval-sexp-fu spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil" evil spacemacs-base nil (emacs-lisp) elpa nil nil nil] [object cfgl-package "evil-anzu" evil-anzu spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-args" evil-args spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-escape" evil-escape spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "evil-exchange" evil-exchange spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-iedit-state" evil-iedit-state spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-indent-plus" evil-indent-plus spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-jumper" evil-jumper spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-lisp-state" evil-lisp-state spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-matchit" evil-matchit spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-mc" evil-mc spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-nerd-commenter" evil-nerd-commenter spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-numbers" evil-numbers spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-search-highlight-persist" evil-search-highlight-persist spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-surround" evil-surround spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "evil-terminal-cursor-changer" evil-terminal-cursor-changer spacemacs nil nil elpa nil nil t] [object cfgl-package "evil-tutor" evil-tutor spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-visualstar" evil-visualstar spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "exec-path-from-shell" exec-path-from-shell spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "expand-region" expand-region spacemacs nil nil elpa nil nil nil] [object cfgl-package "eyebrowse" eyebrowse nil nil (spacemacs-layouts) elpa nil nil nil] [object cfgl-package "fancy-battery" fancy-battery spacemacs nil nil elpa nil nil nil] [object cfgl-package "fill-column-indicator" fill-column-indicator spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "flx-ido" flx-ido spacemacs nil nil elpa nil nil nil] [object cfgl-package "flycheck" flycheck nil nil (emacs-lisp) elpa nil nil nil] [object cfgl-package "golden-ratio" golden-ratio spacemacs nil nil elpa nil nil nil] ...))
  configuration-layer//configure-packages(([object cfgl-package "ace-jump-helm-line" ace-jump-helm-line spacemacs nil nil elpa nil nil nil] [object cfgl-package "ace-link" ace-link spacemacs nil nil elpa nil nil nil] [object cfgl-package "ace-window" ace-window spacemacs nil nil elpa nil nil nil] [object cfgl-package "adaptive-wrap" adaptive-wrap spacemacs nil nil elpa nil nil nil] [object cfgl-package "aggressive-indent" aggressive-indent spacemacs nil nil elpa nil nil nil] [object cfgl-package "auto-compile" auto-compile emacs-lisp nil nil elpa nil nil nil] [object cfgl-package "auto-highlight-symbol" auto-highlight-symbol spacemacs nil nil elpa nil nil nil] [object cfgl-package "avy" avy spacemacs nil nil elpa nil nil nil] [object cfgl-package "bind-key" bind-key spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "bind-map" bind-map spacemacs-base nil nil elpa pre nil nil] [object cfgl-package "bookmark" bookmark spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "buffer-move" buffer-move spacemacs nil nil elpa nil nil nil] [object cfgl-package "centered-cursor" centered-cursor spacemacs nil nil local nil nil nil] [object cfgl-package "clean-aindent-mode" clean-aindent-mode spacemacs nil nil elpa nil nil nil] [object cfgl-package "company" company nil nil (emacs-lisp) elpa nil nil nil] [object cfgl-package "define-word" define-word spacemacs nil nil elpa nil nil nil] [object cfgl-package "desktop" desktop spacemacs nil nil elpa nil nil nil] [object cfgl-package "diminish" diminish spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "doc-view" doc-view spacemacs nil nil elpa nil nil nil] [object cfgl-package "ediff" ediff spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "eldoc" eldoc spacemacs-base nil (emacs-lisp) elpa nil nil nil] [object cfgl-package "electric-indent-mode" electric-indent-mode spacemacs-base nil nil built-in nil nil nil] [object cfgl-package "elisp-slime-nav" elisp-slime-nav emacs-lisp nil nil elpa nil nil nil] [object cfgl-package "emacs-lisp" emacs-lisp emacs-lisp nil nil built-in nil nil nil] [object cfgl-package "eval-sexp-fu" eval-sexp-fu spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil" evil spacemacs-base nil (emacs-lisp) elpa nil nil nil] [object cfgl-package "evil-anzu" evil-anzu spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-args" evil-args spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-escape" evil-escape spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "evil-evilified-state" evil-evilified-state spacemacs-base nil nil local pre t nil] [object cfgl-package "evil-exchange" evil-exchange spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-iedit-state" evil-iedit-state spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-indent-plus" evil-indent-plus spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-jumper" evil-jumper spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-lisp-state" evil-lisp-state spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-matchit" evil-matchit spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-mc" evil-mc spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-nerd-commenter" evil-nerd-commenter spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-numbers" evil-numbers spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-search-highlight-persist" evil-search-highlight-persist spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-surround" evil-surround spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "evil-terminal-cursor-changer" evil-terminal-cursor-changer spacemacs nil nil elpa nil nil t] [object cfgl-package "evil-tutor" evil-tutor spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-visualstar" evil-visualstar spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "exec-path-from-shell" exec-path-from-shell spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "expand-region" expand-region spacemacs nil nil elpa nil nil nil] [object cfgl-package "eyebrowse" eyebrowse nil nil (spacemacs-layouts) elpa nil nil nil] [object cfgl-package "fancy-battery" fancy-battery spacemacs nil nil elpa nil nil nil] [object cfgl-package "fill-column-indicator" fill-column-indicator spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "flx-ido" flx-ido spacemacs nil nil elpa nil nil nil] ...))
  configuration-layer//load-packages(([object cfgl-package "ace-jump-helm-line" ace-jump-helm-line spacemacs nil nil elpa nil nil nil] [object cfgl-package "ace-link" ace-link spacemacs nil nil elpa nil nil nil] [object cfgl-package "ace-window" ace-window spacemacs nil nil elpa nil nil nil] [object cfgl-package "adaptive-wrap" adaptive-wrap spacemacs nil nil elpa nil nil nil] [object cfgl-package "aggressive-indent" aggressive-indent spacemacs nil nil elpa nil nil nil] [object cfgl-package "auto-compile" auto-compile emacs-lisp nil nil elpa nil nil nil] [object cfgl-package "auto-highlight-symbol" auto-highlight-symbol spacemacs nil nil elpa nil nil nil] [object cfgl-package "avy" avy spacemacs nil nil elpa nil nil nil] [object cfgl-package "bind-key" bind-key spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "bind-map" bind-map spacemacs-base nil nil elpa pre nil nil] [object cfgl-package "bookmark" bookmark spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "buffer-move" buffer-move spacemacs nil nil elpa nil nil nil] [object cfgl-package "centered-cursor" centered-cursor spacemacs nil nil local nil nil nil] [object cfgl-package "clean-aindent-mode" clean-aindent-mode spacemacs nil nil elpa nil nil nil] [object cfgl-package "company" company nil nil (emacs-lisp) elpa nil nil nil] [object cfgl-package "define-word" define-word spacemacs nil nil elpa nil nil nil] [object cfgl-package "desktop" desktop spacemacs nil nil elpa nil nil nil] [object cfgl-package "diminish" diminish spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "doc-view" doc-view spacemacs nil nil elpa nil nil nil] [object cfgl-package "ediff" ediff spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "eldoc" eldoc spacemacs-base nil (emacs-lisp) elpa nil nil nil] [object cfgl-package "electric-indent-mode" electric-indent-mode spacemacs-base nil nil built-in nil nil nil] [object cfgl-package "elisp-slime-nav" elisp-slime-nav emacs-lisp nil nil elpa nil nil nil] [object cfgl-package "emacs-lisp" emacs-lisp emacs-lisp nil nil built-in nil nil nil] [object cfgl-package "eval-sexp-fu" eval-sexp-fu spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil" evil spacemacs-base nil (emacs-lisp) elpa nil nil nil] [object cfgl-package "evil-anzu" evil-anzu spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-args" evil-args spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-escape" evil-escape spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "evil-evilified-state" evil-evilified-state spacemacs-base nil nil local pre t nil] [object cfgl-package "evil-exchange" evil-exchange spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-iedit-state" evil-iedit-state spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-indent-plus" evil-indent-plus spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-jumper" evil-jumper spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-lisp-state" evil-lisp-state spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-matchit" evil-matchit spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-mc" evil-mc spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-nerd-commenter" evil-nerd-commenter spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-numbers" evil-numbers spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-search-highlight-persist" evil-search-highlight-persist spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-surround" evil-surround spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "evil-terminal-cursor-changer" evil-terminal-cursor-changer spacemacs nil nil elpa nil nil t] [object cfgl-package "evil-tutor" evil-tutor spacemacs nil nil elpa nil nil nil] [object cfgl-package "evil-visualstar" evil-visualstar spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "exec-path-from-shell" exec-path-from-shell spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "expand-region" expand-region spacemacs nil nil elpa nil nil nil] [object cfgl-package "eyebrowse" eyebrowse nil nil (spacemacs-layouts) elpa nil nil nil] [object cfgl-package "fancy-battery" fancy-battery spacemacs nil nil elpa nil nil nil] [object cfgl-package "fill-column-indicator" fill-column-indicator spacemacs-base nil nil elpa nil nil nil] [object cfgl-package "flx-ido" flx-ido spacemacs nil nil elpa nil nil nil] ...))
  configuration-layer/sync()
  (progn (load-file buffer-file-name) (progn (if "Calling dotfile init..." (progn (spacemacs-buffer/message "Calling dotfile init..."))) (if (fboundp (quote dotspacemacs/init)) (progn (condition-case err (dotspacemacs/init) ((debug error) (configuration-layer//set-error) (spacemacs-buffer/append (format "Error in %s: %s\n" ... ...) t)))))) (configuration-layer/sync) (if (member arg (quote ((4) (16)))) (message (concat "Done (`dotspacemacs/user-config' function has " "been skipped).")) (if (fboundp (quote dotspacemacs/user-config)) (progn (if "Calling dotfile user config..." (progn (spacemacs-buffer/message "Calling dotfile user config..."))) (if (fboundp (quote dotspacemacs/user-config)) (progn (condition-case err (dotspacemacs/user-config) (... ... ...))))) (spacemacs-buffer/warning (concat "`dotspacemacs/config' is deprecated, " "please rename your function to " "`dotspacemacs/user-config'")) (progn (if "Calling dotfile user config..." (progn (spacemacs-buffer/message "Calling dotfile user config..."))) (if (fboundp (quote dotspacemacs/config)) (progn (condition-case err (dotspacemacs/config) (... ... ...)))))) (message "Done.")) (if (configuration-layer/package-usedp (quote spaceline)) (progn (spacemacs//restore-powerline (current-buffer)))))
  (if tests-ok (progn (load-file buffer-file-name) (progn (if "Calling dotfile init..." (progn (spacemacs-buffer/message "Calling dotfile init..."))) (if (fboundp (quote dotspacemacs/init)) (progn (condition-case err (dotspacemacs/init) ((debug error) (configuration-layer//set-error) (spacemacs-buffer/append ... t)))))) (configuration-layer/sync) (if (member arg (quote ((4) (16)))) (message (concat "Done (`dotspacemacs/user-config' function has " "been skipped).")) (if (fboundp (quote dotspacemacs/user-config)) (progn (if "Calling dotfile user config..." (progn (spacemacs-buffer/message "Calling dotfile user config..."))) (if (fboundp (quote dotspacemacs/user-config)) (progn (condition-case err ... ...)))) (spacemacs-buffer/warning (concat "`dotspacemacs/config' is deprecated, " "please rename your function to " "`dotspacemacs/user-config'")) (progn (if "Calling dotfile user config..." (progn (spacemacs-buffer/message "Calling dotfile user config..."))) (if (fboundp (quote dotspacemacs/config)) (progn (condition-case err ... ...))))) (message "Done.")) (if (configuration-layer/package-usedp (quote spaceline)) (progn (spacemacs//restore-powerline (current-buffer))))) (switch-to-buffer-other-window dotspacemacs-test-results-buffer) (spacemacs-buffer/warning "Some tests failed, check `%s' buffer" dotspacemacs-test-results-buffer))
  (let ((tests-ok (or (equal arg (quote (16))) (dotspacemacs/test-dotfile t)))) (if tests-ok (progn (load-file buffer-file-name) (progn (if "Calling dotfile init..." (progn (spacemacs-buffer/message "Calling dotfile init..."))) (if (fboundp (quote dotspacemacs/init)) (progn (condition-case err (dotspacemacs/init) (... ... ...))))) (configuration-layer/sync) (if (member arg (quote ((4) (16)))) (message (concat "Done (`dotspacemacs/user-config' function has " "been skipped).")) (if (fboundp (quote dotspacemacs/user-config)) (progn (if "Calling dotfile user config..." (progn ...)) (if (fboundp ...) (progn ...))) (spacemacs-buffer/warning (concat "`dotspacemacs/config' is deprecated, " "please rename your function to " "`dotspacemacs/user-config'")) (progn (if "Calling dotfile user config..." (progn ...)) (if (fboundp ...) (progn ...)))) (message "Done.")) (if (configuration-layer/package-usedp (quote spaceline)) (progn (spacemacs//restore-powerline (current-buffer))))) (switch-to-buffer-other-window dotspacemacs-test-results-buffer) (spacemacs-buffer/warning "Some tests failed, check `%s' buffer" dotspacemacs-test-results-buffer)))
  (let ((dotspacemacs-loading-progress-bar nil)) (setq spacemacs-loading-string "") (save-buffer) (let ((tests-ok (or (equal arg (quote (16))) (dotspacemacs/test-dotfile t)))) (if tests-ok (progn (load-file buffer-file-name) (progn (if "Calling dotfile init..." (progn (spacemacs-buffer/message "Calling dotfile init..."))) (if (fboundp (quote dotspacemacs/init)) (progn (condition-case err ... ...)))) (configuration-layer/sync) (if (member arg (quote (... ...))) (message (concat "Done (`dotspacemacs/user-config' function has " "been skipped).")) (if (fboundp (quote dotspacemacs/user-config)) (progn (if "Calling dotfile user config..." ...) (if ... ...)) (spacemacs-buffer/warning (concat "`dotspacemacs/config' is deprecated, " "please rename your function to " "`dotspacemacs/user-config'")) (progn (if "Calling dotfile user config..." ...) (if ... ...))) (message "Done.")) (if (configuration-layer/package-usedp (quote spaceline)) (progn (spacemacs//restore-powerline (current-buffer))))) (switch-to-buffer-other-window dotspacemacs-test-results-buffer) (spacemacs-buffer/warning "Some tests failed, check `%s' buffer" dotspacemacs-test-results-buffer))))
  (save-current-buffer (set-buffer (find-file-noselect dotspacemacs-filepath)) (let ((dotspacemacs-loading-progress-bar nil)) (setq spacemacs-loading-string "") (save-buffer) (let ((tests-ok (or (equal arg (quote ...)) (dotspacemacs/test-dotfile t)))) (if tests-ok (progn (load-file buffer-file-name) (progn (if "Calling dotfile init..." (progn ...)) (if (fboundp ...) (progn ...))) (configuration-layer/sync) (if (member arg (quote ...)) (message (concat "Done (`dotspacemacs/user-config' function has " "been skipped).")) (if (fboundp ...) (progn ... ...) (spacemacs-buffer/warning ...) (progn ... ...)) (message "Done.")) (if (configuration-layer/package-usedp (quote spaceline)) (progn (spacemacs//restore-powerline ...)))) (switch-to-buffer-other-window dotspacemacs-test-results-buffer) (spacemacs-buffer/warning "Some tests failed, check `%s' buffer" dotspacemacs-test-results-buffer)))))
  (progn (save-current-buffer (set-buffer (find-file-noselect dotspacemacs-filepath)) (let ((dotspacemacs-loading-progress-bar nil)) (setq spacemacs-loading-string "") (save-buffer) (let ((tests-ok (or (equal arg ...) (dotspacemacs/test-dotfile t)))) (if tests-ok (progn (load-file buffer-file-name) (progn (if "Calling dotfile init..." ...) (if ... ...)) (configuration-layer/sync) (if (member arg ...) (message ...) (if ... ... ... ...) (message "Done.")) (if (configuration-layer/package-usedp ...) (progn ...))) (switch-to-buffer-other-window dotspacemacs-test-results-buffer) (spacemacs-buffer/warning "Some tests failed, check `%s' buffer" dotspacemacs-test-results-buffer))))))
  (if (file-exists-p dotspacemacs-filepath) (progn (save-current-buffer (set-buffer (find-file-noselect dotspacemacs-filepath)) (let ((dotspacemacs-loading-progress-bar nil)) (setq spacemacs-loading-string "") (save-buffer) (let ((tests-ok (or ... ...))) (if tests-ok (progn (load-file buffer-file-name) (progn ... ...) (configuration-layer/sync) (if ... ... ... ...) (if ... ...)) (switch-to-buffer-other-window dotspacemacs-test-results-buffer) (spacemacs-buffer/warning "Some tests failed, check `%s' buffer" dotspacemacs-test-results-buffer)))))))
  dotspacemacs/sync-configuration-layers((16))
  (progn (dotspacemacs/sync-configuration-layers (quote (16))))
  (if (dotspacemacs/install (quote with-wizard)) (progn (dotspacemacs/sync-configuration-layers (quote (16)))))
  (if (file-exists-p dotspacemacs-filepath) nil (spacemacs-buffer/set-mode-line "Dotfile wizard installer") (spacemacs//redisplay) (if (dotspacemacs/install (quote with-wizard)) (progn (dotspacemacs/sync-configuration-layers (quote (16))))))
  spacemacs/maybe-install-dotfile()
  (if (not (version<= spacemacs-emacs-min-version emacs-version)) (message (concat "Your version of Emacs (%s) is too old. " "Spacemacs requires Emacs version %d or above.") emacs-version spacemacs-emacs-min-version) (load-file (concat user-emacs-directory "core/core-load-paths.el")) (if init-file-debug (progn (require (quote core-debug)))) (require (quote core-spacemacs)) (spacemacs/init) (spacemacs/maybe-install-dotfile) (configuration-layer/sync) (spacemacs/setup-startup-hook) (require (quote server)) (if (server-running-p) nil (server-start)))
  eval-buffer(#<buffer  *load*> nil "c:/Users/      /AppData/Roaming/.emacs.d/init.el" nil t)  ; Reading at buffer position 1165
  load-with-code-conversion("c:/Users/      /AppData/Roaming/.emacs.d/init.el" "c:/Users/      /AppData/Roaming/.emacs.d/init.el" t t)
  load("c:/Users/      /AppData/Roaming/.emacs.d/init" t t)
  #[0 "�\205\262

@GreenHapi
Copy link
Contributor Author

SPC h d s doesn't work for me for some reason. No info is shown.
It says: searching for program: no such file or directory, git

P.S. Thanks for help

@StreakyCobra
Copy link
Contributor

You gave me the answer I think. persp-mode is not downloaded from MELPA like most packages, but it is fetched from github, so git is probably required to have it installed. Install git and restart spacemacs should make it work.

@GreenHapi
Copy link
Contributor Author

@StreakyCobra Thank you very much!
Your solution indeed solved my problem.

I had installed Git for Desktop, but for some reason it did not wrote PATH variable.
This info helped me to setup it, maybe it will be useful for someone else:
https://stackoverflow.com/questions/26620312/installing-git-in-path-with-github-client-for-windows

@StreakyCobra
Copy link
Contributor

👍

@mushanshitiancai
Copy link

I use CentOS release 6.6,GNU Emacs 24.5.1

I face the same problem:

Error (use-package): persp-mode :init: Symbol's function definition is void: persp-mode

and I ensure that I alerdy install git.

@larskinn are you install git alerdy?

@StreakyCobra
Copy link
Contributor

You also have to be sure that emacs can find git in the path I think.

@mushanshitiancai
Copy link

I check the PATH,git in /usr/bin/git and /usr/bin in PATH. And I find "persp" in .emacs.d folder ,it seems that persp-mode had been cloned in .cache folder:

qq20160107-0

start up emacs with --debug-init:
qq20160107-1

@StreakyCobra
Copy link
Contributor

Can you try to remove the .emacs.d/elpa/persp-mode-…, .emacs.d/.cache/quelpa/build/persp-mode and .emacs.d/.cache/layouts folders and restart? Also if it still doesn't work, try do the same and restart with emacs --insecure maybe.

@mushanshitiancai
Copy link

.emacs.d/elpa/persp-mode-... and .emacs.d/.cache/layouts not exist.I remove .emacs.d/.cache/quelpa/build/persp-mode and restart with emacs --insecure but it still wrong.

and if I keep restart emacs, there is a error message show on buttom(just a while):

qq20160111-1

Is it mean something?

@StreakyCobra
Copy link
Contributor

So there is a problem when it try do download the perspectives packages from git, but I don't know why.

@ryanclarke
Copy link

I am having this issue as well. Windows 10, Emacs-24.5-bin-i686-mingw32, spacemacs 0.105.6. Git is on my path.

Error (use-package): persp-mode :init: Symbol's function definition is void: persp-mode

@steamelephant
Copy link

I have this problem in Windows too. I've tried the steps above to no avail but launching with --debug-init in the package-build-checkout buffer I get:

Fetching origin
HEAD is now at f8eb491 Save persp only if not nil in persp-before-make-frame
fatal: 'submodule' appears to be a git command, but we were not
able to execute it. Maybe git-submodule is broken?

My suspicion is that the problem is that simply pointing at Github for Windows does not provide the git-submodule shell script required. It would explain why fixing the git path only sometimes fixes the problem but I haven't yet sorted out the right way of installing git to fix this. Any tips?

Edit: PS After upgrading to 0.105.8 instead of just an open Warnings buffer I get a red mode line warning me that Spacemacs may not be able to operate properly.

@StreakyCobra
Copy link
Contributor

Indeed, it looks like a problem with the submodule command. Maybe it's not shipped with your Github for Windows, or also maybe a version problem…

@steamelephant
Copy link

Installed git for Windows, chose available from windows command prompt (only git, not the full mingw option) and now it works. I had git-submodule in my path but the #!ed shell script wasn't directly executable in Windows.

@StreakyCobra
Copy link
Contributor

Glad to hear 👍

@ryanclarke
Copy link

I tried reinstalling my Git for Windows using the same options @steamelephant listed, but still I get the persp-mode error.

@mushanshitiancai
Copy link

@steamelephant I use centos , and git submoudle command works well. So I think there are some other issues

@StreakyCobra
Copy link
Contributor

@ryanclarke Have you also tried to clean persp-mode as explained in the comment above?

@ryanclarke
Copy link

I just tried and I don't have any of those folders. In fact, .emacs.d/.cache/quelpa/build is empty.

I installed spacemacs for the first time last week and I've had this issue from day one. As far as I can tell there is nothing wrong with git or git submodule on my setup.

@chrispickard
Copy link

fwiw, I had this same problem and a git clean -xdf solved it for me. make sure you won't lose anything before you do this

@mwtian-zz
Copy link

Same error here. I'm using OS X, cleaned the persp-mode folders, have git and git submodule, and I was still getting the error: An error occurred while post-configuring persp-mode in layer org (error: (void-function spacemacs|define-custom-layout))

Starting emacs in terminal installed persp-mode for me successfully. After that GUI emacs works too.

@ryanclarke
Copy link

I'm still having this issue. Every time I start spacemacs it leaves a timeout.exe.stacktrace file in my pwd.

@zhougn
Copy link

zhougn commented Jan 22, 2016

Have the same issue here, I'm using Mac OS X 10.11, sure have git and git submodule, here's my system info:

  • OS: darwin
  • Emacs: 24.5.1
  • Spacemacs: 0.105.9
  • Spacemacs branch: master (rev. 0562f05)
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(emacs-lisp)

I did a clean install for both emacs and spacemacs

.emacs.d/elpa/persp-mode-…, .emacs.d/.cache/quelpa/build/persp-mode and .emacs.d/.cache/layouts do not exist on my laptop.

Also tried run emacs in terminal, but no luck for me.

@robbyoconnor
Copy link
Contributor

I would put money on git not being available in every case here.

@zhougn
Copy link

zhougn commented Jan 22, 2016

Interesting, disabling my git http and https proxy settings resolves the issue, though the proxy is actually working.

@robbyoconnor you are right 👍

@cjp
Copy link

cjp commented Jan 29, 2016

I really didn't believe this was a git issue on Windows. Finally launched emacs with --debug-init. It turns out, git was throwing a certificate error. Once I configured git to use a working certificate bundle, and tested with git clone https://github.com/anyone/anyrepo I returned to emacs and the install finished successfully.

@robbyoconnor
Copy link
Contributor

I knew it was a git error.

--Rob
Sent from my cell, please excuse any typos.
On Jan 28, 2016 9:52 PM, "Christopher J. Pilkington" <
notifications@github.com> wrote:

I really didn't believe this was a git issue on Windows. Finally launched
emacs with --debug-init. It turns out, git was throwing a certificate
error. Once I configured git to use a working certificate bundle, and
tested with 'git clone https://github.com/anyone/anyrepo' I returned to
emacs and the install finished successfully.


Reply to this email directly or view it on GitHub
#4367 (comment)
.

@landtuna
Copy link

@mushanshitiancai - looks like git on CentOS (at least my copy) is at version 1.7.1, and that version doesn't support the --recursive flag for sync.

@landtuna
Copy link

After installing the latest git on CentOS 6 from source and reinstalling spacemacs, everything worked fine.

@mushanshitiancai
Copy link

@robbyoconnor @landtuna You are right! It works. thanks!

@rubicus
Copy link

rubicus commented Feb 9, 2016

This was a real problem for me since I also need to run on CentOS 6 (and thus stuck with git 1.7.1), but also have a small disk quota, so compiling gitfrom source wasn't really a sollution either. Turns out I could esaily solve it by just downloading it through MELPA with just M-x package-install RET persp-mode RET.

@ryanclarke
Copy link

@rubicus, thank you! The MELPA download the answer! You a wonderful person.

I know they are saying this is a git issue, but after 4 reinstalls of git 2.7 I finally gave up trying to solve this. So, to anyone else with this issue, if you can't fix git, just get from MELPA.

@StreakyCobra
Copy link
Contributor

@rubicus @ryanclarke #4946 should fix it.

@bpizzi
Copy link

bpizzi commented Apr 3, 2016

For me the solution was to update from git 1.7.10.4 to 1.9.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests