I am using Doom Emacs with Emacs 27, and cannot get org-modern-mode to install/load properly.
When just adding (package! org-super-agenda) to packages.el I get:
-*- mode: compilation; default-directory: "~/emacs-configs/doom/" -*-
Comint started at Wed Dec 7 13:03:01
"/Users/meee/emacs-configs/doom/bin/doom" sync -e
> Executing 'doom sync -e' with Emacs 27.2 at 2022-12-07 13:03:01
> Synchronizing your config with Doom Emacs...
x There was an unexpected error
Message: error
Error: (error "Could not find package org-modern-mode. Updating recipe repositories: (org-elpa melpa gnu-elpa-mirror el-get emacsmirror-mirror) with ‘straight-pull-recipe-repositories’ may fix this")
Backtrace:
(signal error ("Could not find package org-modern-mode. Updating recipe re...
(error "Could not find package %S. Updating recipe repositories: %S with `...
(if (straight--package-built-in-p melpa-style-recipe) (throw '--cl-block-s...
(or (straight-recipes-retrieve melpa-style-recipe nil cause) (if (straight...
(if recipe-specified-p melpa-style-recipe (or (straight-recipes-retrieve m...
(let* ((recipe-specified-p (listp melpa-style-recipe)) (full-melpa-style-r...
(or (and (symbolp melpa-style-recipe) (gethash (symbol-name melpa-style-re...
(catch '--cl-block-straight--convert-recipe-- (if (memq melpa-style-recipe...
(straight--convert-recipe org-modern-mode nil)
(let ((recipe (straight--convert-recipe (or (straight--get-overridden-reci...
! Extended backtrace logged to .local/doom.error.log
Comint exited abnormally with code 255 at Wed Dec 7 13:03:02
updating via straight-pull-recipe-repositories did not solve this.
I then tried this in packages.el:
(```
package! org-modern-mode
:recipe (:host github :repo "minad/org-modern"
:files ("org-modern-mode.el")))
which seems to load somehow (org-modern-mode shows up in list-packages)
But does not work when called in the hook:
`Error (org-mode-hook): Error running hook "org-modern-mode" because: (void-function org-modern-mode)`
Any suggestions on how to troubleshoot this further?
I am using Doom Emacs with Emacs 27, and cannot get org-modern-mode to install/load properly. When just adding (package! org-super-agenda) to packages.el I get:
updating via straight-pull-recipe-repositories did not solve this.
I then tried this in packages.el: (``` package! org-modern-mode :recipe (:host github :repo "minad/org-modern" :files ("org-modern-mode.el")))