reddit / emacs

Is there a workaround for symbolic links breaking org-babel-tangle?

altamextupla · 2022-02-07 16:27
I have my emacs config.org set to tangle to init.el automatically with the after-save-hook. I want to symbolically link all my org files to one org folder, but it seems like this breaks my auto-tangle setup. The strangest part to me is, when I navigate to /.emacs.d/ to open the original file, that won't tangle either. So its not just using link that's the problem. Its like having a link pointing to that file at all prevents tangle from working on that file. When I remove the link it goes right back to tangling. Does anyone know of a solution off hand?
Thanga-Ayyanar · 2022-02-07 16:44
I faced similar problem when backing up emacs.org which is a link file in emacs.d dir. I found the following pr trick fixed my issue https://github.com/daviwil/emacs-from-scratch/pull/39
altamextupla · 2022-02-07 21:36
Thank you! Its working how I want now, I appreciate the help.