Comments (5)
I notice that the upstream evil-org-mode
includes (defvar evil-org-mode-map (make-sparse-keymap))
. However, adding this defvar
ahead of (use-package! evil-org
does nothing.
I've confirmed that (modulep! :editor evil +everywhere)
is true at the use-package!
's :when
.
from doomemacs.
Looks like the package hasn't been loaded yet. The :config
block hasn't been run. The :init
is run, but not the :config
.
from doomemacs.
The :config
is run once I open an org-mode
file (and save? wasn't paying close attention) with base config.el
, init.el
, and packages.el
. My own config, however, has an error I hadn't noticed:
Debugger entered--Lisp error: (error "Eager macro-expansion failure: (error \"jsonrpc--next-request-id is already defined as something else than a generic function\")")
error("Eager macro-expansion failure: %S" (error "jsonrpc--next-request-id is already defined as som..."))
internal-macroexpand-for-load((eval-and-compile (let ((reload (if (fboundp 'require-with-check) #'require-with-check (lambda (feature &rest _) (load ... nil ...))))) (funcall reload 'eldoc nil 'reload) (funcall reload 'seq nil 'reload) (mapc reload '(project flymake xref jsonrpc external-completion)))) nil)
load-with-code-conversion("/home/cashweaver/.config/emacs/.local/straight/bui..." "/home/cashweaver/.config/emacs/.local/straight/bui..." nil t)
eglot-ensure()
run-hooks(change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook)
apply(run-hooks (change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook))
run-mode-hooks(org-mode-hook)
org-mode()
set-auto-mode-0(org-mode nil)
set-auto-mode--apply-alist((("\\.[pP][dD][fF]\\'" . pdf-view-mode) ("\\.odc\\'" . archive-mode) ("\\.odf\\'" . archive-mode) ("\\.odi\\'" . archive-mode) ("\\.otp\\'" . archive-mode) ("\\.odp\\'" . archive-mode) ("\\.otg\\'" . archive-mode) ("\\.odg\\'" . archive-mode) ("\\.ots\\'" . archive-mode) ("\\.ods\\'" . archive-mode) ("\\.odm\\'" . archive-mode) ("\\.ott\\'" . archive-mode) ("\\.odt\\'" . archive-mode) ("Procfile\\'" . yaml-mode) ("templates/.+\\.php\\'" . web-mode) ("wp-content/themes/.+/.+\\.php\\'" . web-mode) ("\\.eco\\'" . web-mode) ("\\.jinja2?\\'" . web-mode) ("\\.twig\\'" . web-mode) ("\\.svelte\\'" . web-mode) ("\\.mustache\\'" . web-mode) ("\\.hbs\\'" . web-mode) ("\\.ejs\\'" . web-mode) ("\\.as[cp]x\\'" . web-mode) ("\\.jsp\\'" . web-mode) ("\\.[lh]?eex\\'" . web-mode) ("\\.erb\\'" . web-mode) ("\\.\\(?:tpl\\|blade\\)\\(?:\\.php\\)?\\'" . web-mode) ("\\.[px]?html?\\'" . web-mode) ("/bspwmrc\\'" . sh-mode) ("\\.\\(?:zunit\\|env\\)\\'" . sh-mode) ("\\.bats\\'" . sh-mode) ("/Pipfile\\'" . conf-mode) ("[./]flake8\\'" . conf-mode) ("/README\\(?:\\.md\\)?\\'" . gfm-mode) ("\\.tsx\\'" . typescript-tsx-mode) ("\\.pac\\'" . rjsx-mode) ("\\.es6\\'" . rjsx-mode) ("\\.[mc]?js\\'" . rjsx-mode) ("\\.g\\(?:radle\\|roovy\\)$" . groovy-mode) ("\\.jl\\'" . ess-julia-mode) ("\\.Cask\\'" . emacs-lisp-mode) ("\\.h\\'" . +cc-c-c++-objc-mode) ("\\.mm\\'" . objc-mode) ("\\.pdf\\'" . pdf-view-mode) ("\\.nw\\'" . poly-noweb-mode) ("\\.md\\'" . poly-markdown-mode) ("\\.\\(e?ya?\\|ra\\)ml\\'" . yaml-mode) ("\\.styl\\'" . stylus-mode) ("\\.sass\\'" . sass-mode) ...) nil nil)
#<subr set-auto-mode>()
apply(#<subr set-auto-mode> nil)
#f(advice auto-minor-mode-set :after #<subr set-auto-mode>)()
apply(#f(advice auto-minor-mode-set :after #<subr set-auto-mode>) nil)
(progn (apply fn args))
(unwind-protect (progn (apply fn args)) (when (buffer-live-p buf) (with-current-buffer buf (evil-change-state old-state))))
(let ((evil-state evil-state) (evil-previous-state evil-previous-state) (evil-previous-state-alist (copy-tree evil-previous-state-alist)) (evil-next-state evil-next-state) (old-state evil-state) (inhibit-quit t) (buf (current-buffer))) (unwind-protect (progn (apply fn args)) (when (buffer-live-p buf) (with-current-buffer buf (evil-change-state old-state)))))
(evil-save-state (apply fn args))
(if evil-state (evil-save-state (apply fn args)) (apply fn args))
+evil--persist-state-a(#f(advice auto-minor-mode-set :after #<subr set-auto-mode>))
apply(+evil--persist-state-a #f(advice auto-minor-mode-set :after #<subr set-auto-mode>) nil)
#f(advice +evil--persist-state-a :around #f(advice auto-minor-mode-set :after #<subr set-auto-mode>))()
so-long--set-auto-mode(#f(advice +evil--persist-state-a :around #f(advice auto-minor-mode-set :after #<subr set-auto-mode>)))
apply(so-long--set-auto-mode #f(advice +evil--persist-state-a :around #f(advice auto-minor-mode-set :after #<subr set-auto-mode>)) nil)
set-auto-mode()
normal-mode(t)
#<subr after-find-file>(nil t nil nil nil)
apply(#<subr after-find-file> (nil t))
(progn (fset #'sit-for #'ignore) (apply fn args))
(unwind-protect (progn (fset #'sit-for #'ignore) (apply fn args)) (fset #'sit-for old))
(let* ((old (symbol-function #'sit-for))) (unwind-protect (progn (fset #'sit-for #'ignore) (apply fn args)) (fset #'sit-for old)))
doom--shut-up-autosave-a(#<subr after-find-file> nil t)
apply(doom--shut-up-autosave-a #<subr after-find-file> (nil t))
#f(advice doom--shut-up-autosave-a :around #<subr after-find-file>)(nil t)
apply(#f(advice doom--shut-up-autosave-a :around #<subr after-find-file>) (nil t))
#f(advice chain-doom-first-buffer-hook-to-find-file-hook-h :before #f(advice doom--shut-up-autosave-a :around #<subr after-find-file>) ((depth . -101)))(nil t)
apply(#f(advice chain-doom-first-buffer-hook-to-find-file-hook-h :before #f(advice doom--shut-up-autosave-a :around #<subr after-find-file>) ((depth . -101))) (nil t))
after-find-file(nil t)
find-file-noselect-1(#<buffer foo.org> "/tmp/foo.org" nil nil "/tmp/foo.org" (6291669 64769))
find-file-noselect("/tmp/foo.org" nil nil t)
find-file("/tmp/foo.org" t)
funcall-interactively(find-file "/tmp/foo.org" t)
command-execute(find-file)
I suspect this may be due to my recent inclusion of eglot-booster
.
from doomemacs.
Confirmed. This issue disappears when I remove the following from my config:
(use-package! eglot-booster
:after eglot
:config
(eglot-booster-mode))
from doomemacs.
Turns out I hadn't installed emacs-lsp-booster
on this machine. I recently started using this tool and have three machines (laptop, desktop, and cloud environment). I was on my laptop and thought, incorrectly, that I'd installed the executable here as I had on the other two machines.
from doomemacs.
Related Issues (20)
- org-download-delete does not work HOT 4
- `doom upgrade {-j,--jobs}` causes `void-variable: num` error HOT 1
- doom sync: Script was abruptly aborted, leaving Doom in an incomplete state! HOT 2
- align-regexp not working as it should HOT 1
- `wrong-numbe-of-arguments` error from backported `find-sibling-file` command HOT 6
- corfu: latest bump to evil breaks minibuffer completion HOT 4
- Yasnippet placeholders not cycling through in the GUI (in C++ and Corfu) HOT 1
- `doom sync -u` deletes `$EMACSDIR/bin` and leaves Doom in broken state HOT 1
- Emacs daemon crash when set-fontset-font is called after a dead X server frame HOT 4
- Error: `which-key-mode’ can’t be used with ‘helm-descbinds-mode’` HOT 1
- `MODE-local-vars-hook` in org mode HOT 1
- Keybinding conflict: org-mode + evil-multiedit
- `doom env` doesn't correctly capture my PATH HOT 3
- Ligature rendering sometimes renders with extra spacing HOT 1
- problem with savehist-mode causing `doom-first-input-hook` to throw an error HOT 2
- doom-module-from-path couldn't handle symbolic links correctly. HOT 3
- setq-default not working for mode-line HOT 4
- anaconda-mode activates despite using (lsp +eglot)
- Void function 'envrc-global-mode-enable-in-buffers' on latest Emacs30
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doomemacs.