tecosaur / emacs-config

My configuration for Doom Emacs. Mirror of https://git.tecosaur.net/tec/emacs-config.
MIT License
1.04k stars 118 forks source link

Can't run second step of the installation. #41

Closed JxJxxJxJ closed 2 years ago

JxJxxJxJ commented 2 years ago

After

emacs --batch --eval "(progn (require 'org) (setq org-confirm-babel-evaluate nil) (org-babel-tangle-file \"~/.config/doom/config.org\"))"

This happens : https://pastebin.com/R5xiMbe0

Previously, as I thought this only tangled the files so the *.el files could get generated, I did it manually. But maybe I should have started questioning why I could not run this in the first place.

Trying to see if I have something bad in my end.

tecosaur commented 2 years ago

It's because the Emacs-bundled Org version is too old for what I'm doing during tangle. I would have thought the bootstrap would have triggered, but this may be related to what you did in #40.

I'd also like to take this opportunity to highlight an excerpt from https://tecosaur.github.io/emacs-config/config.html#notes-unwary-adventurer

image

JxJxxJxJ commented 2 years ago

I see. Unfortunately copying chunks lead to more undesired effects since the bits are often times communicating with other bits of the config, often times one is leading with errors or weird functionalities still because of that. I'm trying to go through a different approach this time

JxJxxJxJ commented 2 years ago

As a suggestion, wouldn't a 'list of dependencies' or some sort be nice information to have?

Oh and just in case, this was made just after cloning the repo with everything fresh. The snippet in #40 was still in config.org.