I use a literate configuration, so my init.el file gets overwritten every time I tangle; how does this play together with org-agenda-file-to-front?;)
Maybe add a separate file to hold the included org files?
I use a literate configuration, so my init.el file gets overwritten every time I tangle; how does this play together with org-agenda-file-to-front?;)
Maybe add a separate file to hold the included org files?
I don't know about org-agenda-file-to-front
but instead of tangling from your org file, you could put the following code in your .emacs
. Where PATH is the path to your org file.
(require 'org)
(org-babel-load-file "PATH")
Read this question for more details.
emacs -q -l PATH/init.el
– crocefisso Mar 26 '23 at 13:15