-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
I confirm that...
-
I have searched the issue tracker, documentation, FAQ, Discourse, and Google, in case this issue has already been reported/resolved.
-
I have read "How to Debug Issues", and will use it to provide as much information about this issue as possible.
-
The issue can be reproduced on the latest available commit of Doom.
-
The issue can be reproduced on a stable release of Emacs, such as 27 or 28. (Doom does not support development builds like 29+ or any version ending in .50 or .9x)
Expected behavior
When I open any file on a fresh install on windows the file should open without error.
Current behavior
I receive a lisp error saying (void-variable transient-base-map)
This is the case when trying to open .doom.d\init.el with a completely fresh install.
Debugger entered--Lisp error: (void-variable transient-base-map)
byte-code("\304\10\305\306\307\310\311\312\313\310\314\315\316\317\320\321\322\317\323\321&\23\210\304\11\305\324\325\10\326\327\330\331\332\333\334\335\336\335\337\340\341\342&\23\210\304\n\305\343..." [transient-base-map transient-map transient-edit-map transient-sticky-map defvar-keymap :doc "Parent of other keymaps used by Transient.\n\nThis i..." "ESC ESC ESC" transient-quit-all "C-g" transient-quit-one "C-q" "C-z" transient-suspend "C-v" transient-scroll-up "C-M-v" transient-scroll-down "<next>" "<prior>" "Top-level keymap used by all transients.\n\nIf you a..." :parent "C-u" universal-argument "C--" negative-argument "C-t" transient-show "?" transient-help "C-h" "C-M-p" transient-history-prev "C-M-n" transient-history-next "Keymap that is active while a transient in is in \"..." "C-x l" transient-set-level "Keymap that is active while an incomplete key sequ..." transient-quit-seq] 20)
require(transient)
load-with-code-conversion("c:/Users/awh/.emacs.d/.local/straight/build-28.1/g..." "c:/Users/awh/.emacs.d/.local/straight/build-28.1/g..." nil t)
global-git-commit-mode()
funcall(global-git-commit-mode)
(condition-case e (funcall hook) ((debug error) (signal 'doom-hook-error (list hook e))))
doom-run-hook(global-git-commit-mode)
run-hook-wrapped(doom-run-hook global-git-commit-mode)
(let ((doom--hook hook)) (run-hook-wrapped hook #'doom-run-hook))
(condition-case e (let ((doom--hook hook)) (run-hook-wrapped hook #'doom-run-hook)) ((debug doom-hook-error) (if debug-on-error nil (lwarn hook :error "Error running hook %S because: %s" (if (symbolp (car (cdr e))) (symbol-name (car (cdr e))) (car (cdr e))) (car (cdr (cdr e))))) (signal 'doom-hook-error (cons hook (cdr e)))))
(let ((hook (car --dolist-tail--))) (condition-case e (let ((doom--hook hook)) (run-hook-wrapped hook #'doom-run-hook)) ((debug doom-hook-error) (if debug-on-error nil (lwarn hook :error "Error running hook %S because: %s" (if (symbolp (car ...)) (symbol-name (car ...)) (car (cdr e))) (car (cdr (cdr e))))) (signal 'doom-hook-error (cons hook (cdr e))))) (setq --dolist-tail-- (cdr --dolist-tail--)))
(while --dolist-tail-- (let ((hook (car --dolist-tail--))) (condition-case e (let ((doom--hook hook)) (run-hook-wrapped hook #'doom-run-hook)) ((debug doom-hook-error) (if debug-on-error nil (lwarn hook :error "Error running hook %S because: %s" (if (symbolp ...) (symbol-name ...) (car ...)) (car (cdr ...)))) (signal 'doom-hook-error (cons hook (cdr e))))) (setq --dolist-tail-- (cdr --dolist-tail--))))
(let ((--dolist-tail-- hooks)) (while --dolist-tail-- (let ((hook (car --dolist-tail--))) (condition-case e (let ((doom--hook hook)) (run-hook-wrapped hook #'doom-run-hook)) ((debug doom-hook-error) (if debug-on-error nil (lwarn hook :error "Error running hook %S because: %s" (if ... ... ...) (car ...))) (signal 'doom-hook-error (cons hook (cdr e))))) (setq --dolist-tail-- (cdr --dolist-tail--)))))
doom-run-hooks(doom-first-file-hook)
(progn (setq running\? t) (doom-run-hooks hook-var) (set hook-var nil))
(if (and after-init-time (not running\?) (or (daemonp) (and (boundp hook) (symbol-value hook)))) (progn (setq running\? t) (doom-run-hooks hook-var) (set hook-var nil)))
chain-doom-first-file-hook-to-find-file-hook-h(nil t)
apply(chain-doom-first-file-hook-to-find-file-hook-h (nil t))
after-find-file(nil t)
find-file-noselect-1(#<buffer init.el> "~/.doom.d/init.el" nil nil "~/.doom.d/init.el" (0 3462313289))
find-file-noselect("~/.doom.d/init.el" nil nil t)
find-file("~/.doom.d/init.el" t)
funcall-interactively(find-file "~/.doom.d/init.el" t)
command-execute(find-file)I was unable to reproduce this behavior on mac.
Interestingly the second time I attempt to (find-file) it appears to work. I have a slight hunch that somehow we are trying to use a mode map before it is loaded, but no idea why it would not load in windows but does in mac.
Steps to reproduce
- Follow doomemacs windows install instructions
- Open Emacs
- Use the open private configuration shortcut on the initial screen
SPC f P
System Information
Metadata
Metadata
Assignees
Labels
Type
Projects
Status