Hello, and thanks a lot for making your amazing config this readable and friendly :)
I am learning a lot but I am still struggling on the "Systemd daemon" part with no success.
Although I understood how you leveraged the org-mode literate programming powers, I noticed a weird behavior with a source block:
Basically, this one tangles systemctl --user enable emacs.service to setup.sh only if the service is not already enabled, and that works well to create setup.sh the first time.
But then, when I save my config.org after an edit and look at config.el, this very code block was tangled to:
;; [[file:config.org::*prompt to run setup script][prompt to run setup script:2]]
- ;; Setup script is empty
;; prompt to run setup script:2 ends here
and the "-" causes a (void-variable -) error at the next reboot.
Note: I have not incorporated your "Asynchronous config tangling" part.
Strangely, when I run doom sync, the tangling of this block becomes:
;; [[file:config.org::*prompt to run setup script][prompt to run setup script:2]]
nil
;; prompt to run setup script:2 ends here
Do you have any idea why and how it could be avoided?
If so, could you please demystify this for me? :)
Hello, and thanks a lot for making your amazing config this readable and friendly :) I am learning a lot but I am still struggling on the "Systemd daemon" part with no success.
Although I understood how you leveraged the org-mode literate programming powers, I noticed a weird behavior with a source block:
Basically, this one tangles
systemctl --user enable emacs.service
tosetup.sh
only if the service is not already enabled, and that works well to createsetup.sh
the first time.But then, when I save my
config.org
after an edit and look atconfig.el
, this very code block was tangled to:and the "
-
" causes a(void-variable -)
error at the next reboot. Note: I have not incorporated your "Asynchronous config tangling" part.Strangely, when I run
doom sync
, the tangling of this block becomes:Do you have any idea why and how it could be avoided? If so, could you please demystify this for me? :)