Literate config, erases config.el? Where to get clean config.el?

What happened?

Turned on literate config, it appears to have deleted the data in config.el and overwrote the whole thing with config.org

What did you expect to happen?

To have the config.org added to the end of config.el

I have done some searching about this, and haven’t seen this commented about. I guess my questions boil down to:

  1. Is there a way to use config.el for the base doom file and have config.org added to the end?
  2. Is there a place I can get the base doom config.el file? I’m fine getting it added back as I didn’t have much tweaked. I am good adding it to my config.org. I just can’t find a clean version.

Either option would work for me here!

Steps to reproduce

  1. Enable literate config in init.el
  2. Create a config.org

System information

Note, it says a new user can only add 3 links to a post. It counted my dump below as links? I had to delete it then submit then edit. That’s why there’s no . above!


Loading data dump...

That’s just how it works. It “compiles” your config.org to config.el (and whatever other files you instruct it to tangle to). There is no way to preserve a pre-existing config.el, except to move its contents into your config.org, OR to move it to, say, extra.el and then add (load! "extra") to your config.org.

Is there a place I can get the base doom config.el file? I’m fine getting it added back as I didn’t have much tweaked. I am good adding it to my config.org. I just can’t find a clean version

You can find the config.el template here.

Thank you, this is what I was expecting. Good to have confirmation.

You can find the config.el template here.

I was hoping for one that was basically like a fresh install to work on transferring it over to config.org or extra.el. I may just have to turn off literate for the moment and try to rebuild or run doom doctor.

Edit: Got it. Removed config.el turned off literate. Ran Doom install. Thanks again!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.