What happened?
Following an update of Doom Emacs to the latest commit I am no longer able to launch Doom Emacs
What did you expect to happen?
after pulling the latest changes, I expected to be able to launch doom emacs
Steps to reproduce
- launch emacs
System information
Am not able to get a dump of system information via the bin/doom command
Loading data dump...
Debug info when launching Emacs as usual
Error: doom-core-error (“/Users/user/.config/emacs/lisp/lib/debug.elc” (void-variable doom-debugger-a)) mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0xc8887ac6c512f81>)) debug-early-backtrace() debug-early(error (doom-core-error “/Users/user/.config/emacs/lisp/lib/debug.elc” (void-variable doom-debugger-a))) signal(doom-core-error (“/Users/user/.config/emacs/lisp/lib/debug.elc” (void-variable doom-debugger-a))) doom-load(“doom-cli” nil) doom-require(doom-cli) (if (let ((load-suffixes '(“.elc” “.el”))) (condition-case _ (load (expand-file-name “lisp/doom” user-emacs-directory) nil (not init-file-debug) nil ‘must-suffix) (file-missing (prog1 (defalias ‘startup–load-user-init-file@reroute-to-profile #’(lambda (args) (list #’(lambda nil (expand-file-name “init.el” user-emacs-directory)) nil (nth 2 args)))) (advice-add 'startup–load-user-init-file :filter-args #'startup–load-user-init-file@reroute-to-profile)) (setq user-init-file (expand-file-name “early-init” user-emacs-directory)) (setq load-prefer-newer t) (setq gc-cons-threshold (* 16 1024 1024)) nil))) (doom-require (if noninteractive 'doom-cli ‘doom-start))) (let (file-name-handler-alist) (let* ((command-line-args (if noninteractive nil command-line-args)) (profile (or (car (cdr (member “–profile” command-line-args))) (getenv-internal “DOOMPROFILE”)))) (if (null profile) (let ((init-dir (or (car (cdr (member “–init-directory” command-line-args))) (getenv-internal “EMACSDIR”)))) (if (null init-dir) (if noninteractive (progn (setq user-emacs-directory (file-name-directory (file-truename load-file-name))))) (setq command-switch-alist (cons (cons “–init-directory” #’(lambda () (car-safe (prog1 argv (setq argv (cdr argv)))))) command-switch-alist)) (setq user-emacs-directory (expand-file-name init-dir)))) (setq command-switch-alist (cons (cons “–profile” #'(lambda () (car-safe (prog1 argv (setq argv (cdr argv)))))) command-switch-alist)) (setenv “DOOMPROFILE” profile) (or (load (expand-file-name (format (let ((lfile (getenv-internal “DOOMPROFILELOADFILE”))) (if lfile (concat (string-remove-suffix “.el” lfile) “.%d.elc”) “profiles/load.%d.elc”)) emacs-major-version) user-emacs-directory) 'noerror (not init-file-debug) 'nosuffix) (user-error “Profiles not initialized yet; run ‘doom sync’ first”)))) (if (let ((load-suffixes '(“.elc” “.el”))) (condition-case _ (load (expand-file-name “lisp/doom” user-emacs-directory) nil (not init-file-debug) nil ‘must-suffix) (file-missing (prog1 (defalias ‘startup–load-user-init-file@reroute-to-profile #’(lambda (args) (list #’(lambda nil (expand-file-name “init.el” user-emacs-directory)) nil (nth 2 args)))) (advice-add 'startup–load-user-init-file :filter-args #'startup–load-user-init-file@reroute-to-profile)) (setq user-init-file (expand-file-name “early-init” user-emacs-directory)) (setq load-prefer-newer t) (setq gc-cons-threshold (* 16 1024 1024)) nil))) (doom-require (if noninteractive 'doom-cli ‘doom-start)))) (or (let (file-name-handler-alist) (let* ((command-line-args (if noninteractive nil command-line-args)) (profile (or (car (cdr (member “–profile” command-line-args))) (getenv-internal “DOOMPROFILE”)))) (if (null profile) (let ((init-dir (or (car (cdr (member “–init-directory” command-line-args))) (getenv-internal “EMACSDIR”)))) (if (null init-dir) (if noninteractive (progn (setq user-emacs-directory (file-name-directory (file-truename load-file-name))))) (setq command-switch-alist (cons (cons “–init-directory” #’(lambda () (car-safe (prog1 argv (setq argv (cdr argv)))))) command-switch-alist)) (setq user-emacs-directory (expand-file-name init-dir)))) (setq command-switch-alist (cons (cons “–profile” #'(lambda () (car-safe (prog1 argv (setq argv (cdr argv)))))) command-switch-alist)) (setenv “DOOMPROFILE” profile) (or (load (expand-file-name (format (let ((lfile (getenv-internal “DOOMPROFILELOADFILE”))) (if lfile (concat (string-remove-suffix “.el” lfile) “.%d.elc”) “profiles/load.%d.elc”)) emacs-major-version) user-emacs-directory) 'noerror (not init-file-debug) 'nosuffix) (user-error “Profiles not initialized yet; run ‘doom sync’ first”)))) (if (let ((load-suffixes '(“.elc” “.el”))) (condition-case _ (load (expand-file-name “lisp/doom” user-emacs-directory) nil (not init-file-debug) nil ‘must-suffix) (file-missing (prog1 (defalias ‘startup–load-user-init-file@reroute-to-profile #’(lambda (args) (list #’(lambda nil (expand-file-name “init.el” user-emacs-directory)) nil (nth 2 args)))) (advice-add 'startup–load-user-init-file :filter-args #'startup–load-user-init-file@reroute-to-profile)) (setq user-init-file (expand-file-name “early-init” user-emacs-directory)) (setq load-prefer-newer t) (setq gc-cons-threshold (* 16 1024 1024)) nil))) (doom-require (if noninteractive 'doom-cli 'doom-start)))) (load user-init-file 'noerror (not init-file-debug) nil 'must-suffix)) load-with-code-conversion(“/Users/user/.config/emacs/early-init.el” “/Users/user/.config/emacs/early-init.el” nil t) load(“/Users/user/.config/emacs/early-init.el” nil nomessage nosuffix) (and (load init-file nil 'nomessage 'nosuffix) (featurep 'doom)) (or (and (load init-file nil 'nomessage 'nosuffix) (featurep 'doom)) (user-error “Failed to load Doom from %s” init-file)) (let* ((bin-dir (file-name-directory (file-truename load-file-name))) (init-file (expand-file-name “…/early-init.el” bin-dir))) (or (and (load init-file nil 'nomessage 'nosuffix) (featurep 'doom)) (user-error “Failed to load Doom from %s” init-file))) (condition-case e (let* ((bin-dir (file-name-directory (file-truename load-file-name))) (init-file (expand-file-name “…/early-init.el” bin-dir))) (or (and (load init-file nil 'nomessage 'nosuffix) (featurep 'doom)) (user-error “Failed to load Doom from %s” init-file))) (user-error (message “Error: %s” (car (cdr e))) (kill-emacs 2))) load-with-code-conversion(“/Users/user/.config/emacs/bin/doom” “/Users/user/.config/emacs/bin/doom” nil t) command-line-1((“–load” “/Users/user/.config/emacs/bin/doom” “–”)) command-line() normal-top-level() Unexpected error in Doom’s core: “/Users/user/.config/emacs/lisp/lib/debug.elc”, (void-variable doom-debugger-a)