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

popwin post-:config hook: symbol's value as variable is void: purpose-mode #9638

Closed
vv111y opened this issue Sep 23, 2017 · 4 comments
Closed

Comments

@vv111y
Copy link

vv111y commented Sep 23, 2017

Description :octocat:

serious crash. Can't get spacemacs to boot.

Reproduction guide 🪲

  • Start Emacs
  • try install kitchin/ox-ipython
  • find out babel has some bug, dig around,
  • run :spacemacs/recompile-elpa as per Org-Mode Evaluation of code disabled #7641
  • other problems. keep deleting elpa, updating packages, updating .emacs.d
  • remove .emacs.d entirely, remove any new .spacemacs config
  • re-install spacemacs from scratch, below problem still shows up.
  • exclude window-purpose. no change

Observed behaviour: 👀 💔
get's stuck here, even after re-install spacemacs from scratch

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

File error: Cannot open load file, No such file or directory, window-purpose

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.

Expected behaviour: ❤️ 😄
actually startup

System Info:

  • OS: darwin 10.11.6
  • Emacs-plus: 25.3.1
  • Org 9.1
  • Spacemacs: 0.200.9
  • Spacemacs branch: develop (rev. 95699ee)

Backtrace 🐾

Debugger entered--Lisp error: (void-variable purpose-mode)
  (if purpose-mode (progn (ad-enable-advice (quote popwin:create-popup-window) (quote before) (quote window-purpose/save-dedicated-windows)) (ad-enable-advice (quote popwin:create-popup-window) (quote after) (quote window-purpose/restore-dedicated-windows)) (ad-update (quote popwin:create-popup-window)) (ad-activate (quote popwin:create-popup-window))) (ad-disable-advice (quote popwin:create-popup-window) (quote before) (quote window-purpose/save-dedicated-windows)) (ad-disable-advice (quote popwin:create-popup-window) (quote after) (quote window-purpose/restore-dedicated-windows)) (ad-update (quote popwin:create-popup-window)))
  spacemacs/window-purpose-sync-popwin()
  (progn (defvar window-purpose--dedicated-windows nil) (progn (ad-add-advice (quote popwin:create-popup-window) (quote (window-purpose/save-dedicated-windows nil t (advice lambda nil (setq window-purpose--dedicated-windows (cl-loop for window in ... if ... collect ...))))) (quote before) (quote nil)) (quote popwin:create-popup-window)) (progn (ad-add-advice (quote popwin:create-popup-window) (quote (window-purpose/restore-dedicated-windows nil t (advice lambda nil (cl-loop for buffer in window-purpose--dedicated-windows do (cl-loop for window in ... do ...))))) (quote after) (quote nil)) (quote popwin:create-popup-window)) (add-hook (quote purpose-mode-hook) (function spacemacs/window-purpose-sync-popwin)) (spacemacs/window-purpose-sync-popwin) (popwin-mode -1))
  (lambda nil (progn (defvar window-purpose--dedicated-windows nil) (progn (ad-add-advice (quote popwin:create-popup-window) (quote (window-purpose/save-dedicated-windows nil t (advice lambda nil (setq window-purpose--dedicated-windows ...)))) (quote before) (quote nil)) (quote popwin:create-popup-window)) (progn (ad-add-advice (quote popwin:create-popup-window) (quote (window-purpose/restore-dedicated-windows nil t (advice lambda nil (cl-loop for buffer in window-purpose--dedicated-windows do ...)))) (quote after) (quote nil)) (quote popwin:create-popup-window)) (add-hook (quote purpose-mode-hook) (function spacemacs/window-purpose-sync-popwin)) (spacemacs/window-purpose-sync-popwin) (popwin-mode -1)) t)()
  run-hooks(use-package--popwin--post-config-hook)
  (condition-case err (run-hooks (quote use-package--popwin--post-config-hook)) ((debug error) (ignore (display-warning (quote use-package) (format "%s %s: %s" "popwin" "post-:config hook" (error-message-string err)) :error))))
  (condition-case-unless-debug err (run-hooks (quote use-package--popwin--post-config-hook)) (error (ignore (display-warning (quote use-package) (format "%s %s: %s" "popwin" "post-:config hook" (error-message-string err)) :error))))
  (progn (condition-case-unless-debug err (progn (popwin-mode 1) (spacemacs/set-leader-keys "wpm" (quote popwin:messages)) (spacemacs/set-leader-keys "wpp" (quote popwin:close-popup-window)) (setq popwin:special-display-config nil) (setq popwin:special-display-config (cons (quote ("*Help*" :dedicated t :position bottom :stick t :noselect t :height 0.4)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*compilation*" :dedicated t :position bottom :stick t :noselect t :height 0.4)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*Shell Command Output*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*Async Shell Command*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*undo-tree*" :dedicated t :position right :stick t :noselect nil :width 60)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*undo-tree Diff*" :dedicated t :position bottom :stick t :noselect nil :height 0.3)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*ert*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*grep*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*nosetests*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("^*WoMan.+*$" :regexp t :position bottom)) popwin:special-display-config))) (error (ignore (display-warning (quote use-package) (format "%s %s: %s" "popwin" ":config" (error-message-string err)) :error)))) (condition-case-unless-debug err (run-hooks (quote use-package--popwin--post-config-hook)) (error (ignore (display-warning (quote use-package) (format "%s %s: %s" "popwin" "post-:config hook" (error-message-string err)) :error)))))
  (if (condition-case-unless-debug err (run-hook-with-args-until-failure (quote use-package--popwin--pre-config-hook)) (error (ignore (display-warning (quote use-package) (format "%s %s: %s" "popwin" "pre-:config hook" (error-message-string err)) :error)))) (progn (condition-case-unless-debug err (progn (popwin-mode 1) (spacemacs/set-leader-keys "wpm" (quote popwin:messages)) (spacemacs/set-leader-keys "wpp" (quote popwin:close-popup-window)) (setq popwin:special-display-config nil) (setq popwin:special-display-config (cons (quote ("*Help*" :dedicated t :position bottom :stick t :noselect t :height 0.4)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*compilation*" :dedicated t :position bottom :stick t :noselect t :height 0.4)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*Shell Command Output*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*Async Shell Command*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*undo-tree*" :dedicated t :position right :stick t :noselect nil :width 60)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*undo-tree Diff*" :dedicated t :position bottom :stick t :noselect nil :height 0.3)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*ert*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*grep*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*nosetests*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("^*WoMan.+*$" :regexp t :position bottom)) popwin:special-display-config))) (error (ignore (display-warning (quote use-package) (format "%s %s: %s" "popwin" ":config" (error-message-string err)) :error)))) (condition-case-unless-debug err (run-hooks (quote use-package--popwin--post-config-hook)) (error (ignore (display-warning (quote use-package) (format "%s %s: %s" "popwin" "post-:config hook" (error-message-string err)) :error))))))
  (when (condition-case-unless-debug err (run-hook-with-args-until-failure (quote use-package--popwin--pre-config-hook)) (error (ignore (display-warning (quote use-package) (format "%s %s: %s" "popwin" "pre-:config hook" (error-message-string err)) :error)))) (condition-case-unless-debug err (progn (popwin-mode 1) (spacemacs/set-leader-keys "wpm" (quote popwin:messages)) (spacemacs/set-leader-keys "wpp" (quote popwin:close-popup-window)) (setq popwin:special-display-config nil) (setq popwin:special-display-config (cons (quote ("*Help*" :dedicated t :position bottom :stick t :noselect t :height 0.4)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*compilation*" :dedicated t :position bottom :stick t :noselect t :height 0.4)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*Shell Command Output*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*Async Shell Command*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*undo-tree*" :dedicated t :position right :stick t :noselect nil :width 60)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*undo-tree Diff*" :dedicated t :position bottom :stick t :noselect nil :height 0.3)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*ert*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*grep*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*nosetests*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("^*WoMan.+*$" :regexp t :position bottom)) popwin:special-display-config))) (error (ignore (display-warning (quote use-package) (format "%s %s: %s" "popwin" ":config" (error-message-string err)) :error)))) (condition-case-unless-debug err (run-hooks (quote use-package--popwin--post-config-hook)) (error (ignore (display-warning (quote use-package) (format "%s %s: %s" "popwin" "post-:config hook" (error-message-string err)) :error)))))
  (progn (when (condition-case-unless-debug err (run-hook-with-args-until-failure (quote use-package--popwin--pre-config-hook)) (error (ignore (display-warning (quote use-package) (format "%s %s: %s" "popwin" "pre-:config hook" (error-message-string err)) :error)))) (condition-case-unless-debug err (progn (popwin-mode 1) (spacemacs/set-leader-keys "wpm" (quote popwin:messages)) (spacemacs/set-leader-keys "wpp" (quote popwin:close-popup-window)) (setq popwin:special-display-config nil) (setq popwin:special-display-config (cons (quote ("*Help*" :dedicated t :position bottom :stick t :noselect t :height 0.4)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*compilation*" :dedicated t :position bottom :stick t :noselect t :height 0.4)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*Shell Command Output*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*Async Shell Command*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*undo-tree*" :dedicated t :position right :stick t :noselect nil :width 60)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*undo-tree Diff*" :dedicated t :position bottom :stick t :noselect nil :height 0.3)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*ert*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*grep*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*nosetests*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("^*WoMan.+*$" :regexp t :position bottom)) popwin:special-display-config))) (error (ignore (display-warning (quote use-package) (format "%s %s: %s" "popwin" ":config" (error-message-string err)) :error)))) (condition-case-unless-debug err (run-hooks (quote use-package--popwin--post-config-hook)) (error (ignore (display-warning (quote use-package) (format "%s %s: %s" "popwin" "post-:config hook" (error-message-string err)) :error))))) t)
  (prog1 (progn (when (condition-case-unless-debug err (run-hook-with-args-until-failure (quote use-package--popwin--pre-config-hook)) (error (ignore (display-warning (quote use-package) (format "%s %s: %s" "popwin" "pre-:config hook" ...) :error)))) (condition-case-unless-debug err (progn (popwin-mode 1) (spacemacs/set-leader-keys "wpm" (quote popwin:messages)) (spacemacs/set-leader-keys "wpp" (quote popwin:close-popup-window)) (setq popwin:special-display-config nil) (setq popwin:special-display-config (cons (quote ...) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ...) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ...) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ...) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ...) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ...) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ...) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ...) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ...) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ...) popwin:special-display-config))) (error (ignore (display-warning (quote use-package) (format "%s %s: %s" "popwin" ":config" ...) :error)))) (condition-case-unless-debug err (run-hooks (quote use-package--popwin--post-config-hook)) (error (ignore (display-warning (quote use-package) (format "%s %s: %s" "popwin" "post-:config hook" ...) :error))))) t) (let ((elapsed (float-time (time-subtract (current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Configuring package popwin" elapsed) (message "%s...done" "Configuring package popwin"))))
  (let ((now (current-time))) (message "%s..." "Configuring package popwin") (prog1 (progn (when (condition-case-unless-debug err (run-hook-with-args-until-failure (quote use-package--popwin--pre-config-hook)) (error (ignore (display-warning ... ... :error)))) (condition-case-unless-debug err (progn (popwin-mode 1) (spacemacs/set-leader-keys "wpm" (quote popwin:messages)) (spacemacs/set-leader-keys "wpp" (quote popwin:close-popup-window)) (setq popwin:special-display-config nil) (setq popwin:special-display-config (cons ... popwin:special-display-config)) (setq popwin:special-display-config (cons ... popwin:special-display-config)) (setq popwin:special-display-config (cons ... popwin:special-display-config)) (setq popwin:special-display-config (cons ... popwin:special-display-config)) (setq popwin:special-display-config (cons ... popwin:special-display-config)) (setq popwin:special-display-config (cons ... popwin:special-display-config)) (setq popwin:special-display-config (cons ... popwin:special-display-config)) (setq popwin:special-display-config (cons ... popwin:special-display-config)) (setq popwin:special-display-config (cons ... popwin:special-display-config)) (setq popwin:special-display-config (cons ... popwin:special-display-config))) (error (ignore (display-warning ... ... :error)))) (condition-case-unless-debug err (run-hooks (quote use-package--popwin--post-config-hook)) (error (ignore (display-warning ... ... :error))))) t) (let ((elapsed (float-time (time-subtract (current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Configuring package popwin" elapsed) (message "%s...done" "Configuring package popwin")))))
  (if (not (require (quote popwin) nil (quote t))) (ignore (message (format "Cannot load %s" (quote popwin)))) (let ((now (current-time))) (message "%s..." "Configuring package popwin") (prog1 (progn (when (condition-case-unless-debug err (run-hook-with-args-until-failure (quote use-package--popwin--pre-config-hook)) (error (ignore ...))) (condition-case-unless-debug err (progn (popwin-mode 1) (spacemacs/set-leader-keys "wpm" ...) (spacemacs/set-leader-keys "wpp" ...) (setq popwin:special-display-config nil) (setq popwin:special-display-config ...) (setq popwin:special-display-config ...) (setq popwin:special-display-config ...) (setq popwin:special-display-config ...) (setq popwin:special-display-config ...) (setq popwin:special-display-config ...) (setq popwin:special-display-config ...) (setq popwin:special-display-config ...) (setq popwin:special-display-config ...) (setq popwin:special-display-config ...)) (error (ignore ...))) (condition-case-unless-debug err (run-hooks (quote use-package--popwin--post-config-hook)) (error (ignore ...)))) t) (let ((elapsed (float-time (time-subtract ... now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Configuring package popwin" elapsed) (message "%s...done" "Configuring package popwin"))))))
  (prog1 (if (not (require (quote popwin) nil (quote t))) (ignore (message (format "Cannot load %s" (quote popwin)))) (let ((now (current-time))) (message "%s..." "Configuring package popwin") (prog1 (progn (when (condition-case-unless-debug err (run-hook-with-args-until-failure ...) (error ...)) (condition-case-unless-debug err (progn ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (error ...)) (condition-case-unless-debug err (run-hooks ...) (error ...))) t) (let ((elapsed (float-time ...))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Configuring package popwin" elapsed) (message "%s...done" "Configuring package popwin")))))) (let ((elapsed (float-time (time-subtract (current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package popwin" elapsed) (message "%s...done" "Loading package popwin"))))
  (let ((now (current-time))) (message "%s..." "Loading package popwin") (prog1 (if (not (require (quote popwin) nil (quote t))) (ignore (message (format "Cannot load %s" (quote popwin)))) (let ((now (current-time))) (message "%s..." "Configuring package popwin") (prog1 (progn (when (condition-case-unless-debug err ... ...) (condition-case-unless-debug err ... ...) (condition-case-unless-debug err ... ...)) t) (let ((elapsed ...)) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Configuring package popwin" elapsed) (message "%s...done" "Configuring package popwin")))))) (let ((elapsed (float-time (time-subtract (current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package popwin" elapsed) (message "%s...done" "Loading package popwin")))))
  (use-package popwin :config (progn (popwin-mode 1) (spacemacs/set-leader-keys "wpm" (quote popwin:messages)) (spacemacs/set-leader-keys "wpp" (quote popwin:close-popup-window)) (setq popwin:special-display-config nil) (setq popwin:special-display-config (cons (quote ("*Help*" :dedicated t :position bottom :stick t :noselect t :height 0.4)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*compilation*" :dedicated t :position bottom :stick t :noselect t :height 0.4)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*Shell Command Output*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*Async Shell Command*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*undo-tree*" :dedicated t :position right :stick t :noselect nil :width 60)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*undo-tree Diff*" :dedicated t :position bottom :stick t :noselect nil :height 0.3)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*ert*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*grep*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("*nosetests*" :dedicated t :position bottom :stick t :noselect nil)) popwin:special-display-config)) (setq popwin:special-display-config (cons (quote ("^*WoMan.+*$" :regexp t :position bottom)) popwin:special-display-config))))
  spacemacs-visual/init-popwin()
  funcall(spacemacs-visual/init-popwin)
  (let* ((pkg-name (eieio-oref pkg (quote :name))) (owner (car (eieio-oref pkg (quote :owners))))) (spacemacs-buffer/message (format "Configuring %S..." pkg-name)) (mapc (function (lambda (layer) (if (configuration-layer/layer-used-p layer) (progn (if (not ...) (spacemacs-buffer/message ...) (spacemacs-buffer/message ...) (condition-case err ... ...)))))) (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 (configuration-layer/layer-used-p layer) (progn (if (not ...) (spacemacs-buffer/message ...) (spacemacs-buffer/message ...) (condition-case err ... ...)))))) (eieio-oref pkg (quote :post-layers))))
  configuration-layer//configure-package([eieio-class-tag--cfgl-package popwin nil (spacemacs-visual) (clojure spacemacs-purpose) (syntax-checking go) elpa t nil nil nil nil nil])
  (cond ((eq (quote dotfile) (car (eieio-oref pkg (quote :owners)))) (spacemacs-buffer/message (format "%S is configured in the dotfile." pkg-name))) (t (configuration-layer//configure-package pkg)))
  (cond ((eieio-oref pkg (quote :lazy-install)) (spacemacs-buffer/message (format "%S ignored since it can be lazily installed." pkg-name))) ((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 :owners))) (spacemacs-buffer/message (format "%S ignored since it has no owner layer." pkg-name))) ((not (configuration-layer//package-reqs-used-p pkg)) (spacemacs-buffer/message (format (concat "%S is ignored since it has dependencies " "that are not used.") pkg-name))) ((not (cfgl-package-enabled-p pkg)) (spacemacs-buffer/message (format "%S is disabled." pkg-name))) (t (let ((dir (configuration-layer/get-location-directory pkg-name (eieio-oref pkg (quote :location)) (car (eieio-oref pkg ...))))) (if dir (progn (add-to-list (quote load-path) dir)))) (if (memq (eieio-oref pkg (quote :location)) (quote (local site built-in))) nil (configuration-layer//activate-package pkg-name)) (cond ((eq (quote dotfile) (car (eieio-oref pkg (quote :owners)))) (spacemacs-buffer/message (format "%S is configured in the dotfile." pkg-name))) (t (configuration-layer//configure-package pkg)))))
  (let ((pkg (configuration-layer/get-package pkg-name))) (cond ((eieio-oref pkg (quote :lazy-install)) (spacemacs-buffer/message (format "%S ignored since it can be lazily installed." pkg-name))) ((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 :owners))) (spacemacs-buffer/message (format "%S ignored since it has no owner layer." pkg-name))) ((not (configuration-layer//package-reqs-used-p pkg)) (spacemacs-buffer/message (format (concat "%S is ignored since it has dependencies " "that are not used.") pkg-name))) ((not (cfgl-package-enabled-p pkg)) (spacemacs-buffer/message (format "%S is disabled." pkg-name))) (t (let ((dir (configuration-layer/get-location-directory pkg-name (eieio-oref pkg ...) (car ...)))) (if dir (progn (add-to-list (quote load-path) dir)))) (if (memq (eieio-oref pkg (quote :location)) (quote (local site built-in))) nil (configuration-layer//activate-package pkg-name)) (cond ((eq (quote dotfile) (car (eieio-oref pkg ...))) (spacemacs-buffer/message (format "%S is configured in the dotfile." pkg-name))) (t (configuration-layer//configure-package pkg))))))
  (while --dolist-tail-- (setq pkg-name (car --dolist-tail--)) (spacemacs-buffer/loading-animation) (let ((pkg (configuration-layer/get-package pkg-name))) (cond ((eieio-oref pkg (quote :lazy-install)) (spacemacs-buffer/message (format "%S ignored since it can be lazily installed." pkg-name))) ((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 :owners))) (spacemacs-buffer/message (format "%S ignored since it has no owner layer." pkg-name))) ((not (configuration-layer//package-reqs-used-p pkg)) (spacemacs-buffer/message (format (concat "%S is ignored since it has dependencies " "that are not used.") pkg-name))) ((not (cfgl-package-enabled-p pkg)) (spacemacs-buffer/message (format "%S is disabled." pkg-name))) (t (let ((dir (configuration-layer/get-location-directory pkg-name ... ...))) (if dir (progn (add-to-list ... dir)))) (if (memq (eieio-oref pkg (quote :location)) (quote (local site built-in))) nil (configuration-layer//activate-package pkg-name)) (cond ((eq (quote dotfile) (car ...)) (spacemacs-buffer/message (format "%S is configured in the dotfile." pkg-name))) (t (configuration-layer//configure-package pkg)))))) (setq --dolist-tail-- (cdr --dolist-tail--)))
  (let ((--dolist-tail-- packages) pkg-name) (while --dolist-tail-- (setq pkg-name (car --dolist-tail--)) (spacemacs-buffer/loading-animation) (let ((pkg (configuration-layer/get-package pkg-name))) (cond ((eieio-oref pkg (quote :lazy-install)) (spacemacs-buffer/message (format "%S ignored since it can be lazily installed." pkg-name))) ((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 :owners))) (spacemacs-buffer/message (format "%S ignored since it has no owner layer." pkg-name))) ((not (configuration-layer//package-reqs-used-p pkg)) (spacemacs-buffer/message (format (concat "%S is ignored since it has dependencies " "that are not used.") pkg-name))) ((not (cfgl-package-enabled-p pkg)) (spacemacs-buffer/message (format "%S is disabled." pkg-name))) (t (let ((dir ...)) (if dir (progn ...))) (if (memq (eieio-oref pkg ...) (quote ...)) nil (configuration-layer//activate-package pkg-name)) (cond ((eq ... ...) (spacemacs-buffer/message ...)) (t (configuration-layer//configure-package pkg)))))) (setq --dolist-tail-- (cdr --dolist-tail--))))
  configuration-layer//configure-packages-2((abbrev ac-ispell ace-link ace-window adaptive-wrap add-node-modules-path afternoon-theme aggressive-indent alect-themes ample-theme ample-zen-theme anaconda-mode ansi-colors ansible ansible-doc anti-zenburn-theme apropospriate-theme archive-mode auctex auctex-latexmk auto-compile auto-complete auto-dictionary auto-highlight-symbol auto-yasnippet avy badwolf-theme biblio biblio-core birds-of-paradise-plus-theme bookmark bracketed-paste browse-at-remote bubbleberry-theme busybee-theme cc-mode centered-buffer-mode centered-cursor cherry-blossom-theme cider cider-eval-sexp-fu clang-format clean-aindent-mode clj-refactor clojure-mode clojure-snippets clues-theme cmake-ide cmake-mode cmm-mode ...))
  configuration-layer//configure-packages((abbrev ac-ispell ace-link ace-window adaptive-wrap add-node-modules-path afternoon-theme aggressive-indent alect-themes ample-theme ample-zen-theme anaconda-mode ansi-colors ansible ansible-doc anti-zenburn-theme apropospriate-theme archive-mode async auctex auctex-latexmk auto-compile auto-complete auto-dictionary auto-highlight-symbol auto-yasnippet avy badwolf-theme biblio biblio-core bind-key bind-map birds-of-paradise-plus-theme bookmark bracketed-paste browse-at-remote bubbleberry-theme busybee-theme cc-mode centered-buffer-mode centered-cursor cherry-blossom-theme cider cider-eval-sexp-fu clang-format clean-aindent-mode clj-refactor clojure-mode clojure-snippets clues-theme ...))
  configuration-layer/load()
  (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/load) (spacemacs-buffer/display-startup-note) (spacemacs/setup-startup-hook) (require (quote server)) (if (server-running-p) nil (server-start)))
  eval-buffer(#<buffer  *load*> nil "/Users/Will/.emacs.d/init.el" nil t)  ; Reading at buffer position 1264
  load-with-code-conversion("/Users/Will/.emacs.d/init.el" "/Users/Will/.emacs.d/init.el" t t)
  load("/Users/Will/.emacs.d/init" t t)
  #[0 "�\205\266�	\306=\203��\307�\310Q\202?�	\311=\204��\307�\312Q\202?�\313\307\314\315#\203*�\316\202?�\313\307\314\317#\203>�\320\321\322!D\nB�\323\202?�\316\324�\325�\324\211#\210�\324=\203e�\326\327\330\307�\331Q!\"\325�\324\211#\210�\324=\203d���\210�\203\247�\332�!\333\232\203\247�\334�!\211\335P\336�!\203\201�\211\202\214�\336�!\203\213��\202\214�\314\262��\203\245�\337��\"\203\243�\340\341��#\210\342\343!\210��\266�\f?\205\264�\314�\325\344\324\211#)\262�\207" [init-file-user system-type delayed-warnings-list user-init-file inhibit-default-init inhibit-startup-screen ms-dos "~" "/_emacs" windows-nt "/.emacs" directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" initialization format-message "`_emacs' init file is deprecated, please use `.emacs'" "~/_emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default"] 7]()
  command-line()
  normal-top-level()
@vv111y
Copy link
Author

vv111y commented Sep 24, 2017

update:
I rolled back packages to when I updated on sept 16, and also .emacs.d to commit 9341e1d on develop branch and now it's working.

And also running emacs V25.2.1, instead of V25.3

@bmag
Copy link
Collaborator

bmag commented Sep 24, 2017

The backtrace and the observed behavior show two different errors. Is this the same as #9642, or is it another error? Also, can you also answer the question that I asked in #9642 (comment)?

@vv111y
Copy link
Author

vv111y commented Sep 25, 2017

It is the same problem, and such a simple solution.
For your comment:

  1. yes window-purpose-* folder is there as is a non-empty window-purpose.el file
  2. I've never done a bisection, I suppose this is a learning moment. Did you still want me to do it?
  3. no configs specific to popwin

If nothing else I'll close, thanks @bmag .

@bmag
Copy link
Collaborator

bmag commented Sep 25, 2017

Thanks, no need for a git bisect anymore. I'm closing as duplicate.

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

2 participants