1 line
2.4 KiB
Plaintext
1 line
2.4 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>I moved away from a hand-rolled configuration and switched to Doom not long ago. After several years of basic functionality, I suddenly found myself with multitudes of modules all loading much faster than my previous config. I couldn't believe I'd waited so long.</p> <p>And then it all came crashing down. I found <a href="https://github.com/thi-ng/org-spec">org-spec</a>, which I absolutely want to use professionally. But <code>ob-ditaa</code>... My understanding is that if I set a variable, <code>defcustom</code> should leave that alone. This isnt' happening. Perhaps then <code>(after! ob-ditaa ...)</code> will override the default and I'll be able to export.</p> <p>Please, help me set this in Doom so I don't have to evaluate it each time.</p> <p>I have tried this:</p> <p><code> (after! ob-ditaa ;; I've tried org here as well (setq org-ditaa-jar-path (dt/trim-last-newline (shell-command-to-string "which ditaa")))) </code></p> <p>And, actually, ditaa is on my path, so I've done this as well:</p> <p><code> (setq org-ditaa-jar-path "ditaa") </code></p> <p>This is in my <code>.doom.d/config.el</code>. And when Emacs starts, that's what it is set to, but when I dispatch to export, it's set back to the <code>defcustom</code> specified in <code>ob-ditaa.el</code>.</p> <p>I did search far and wide for someone with a config that has this. I've found a few, but nothing seems to work.</p> <ul> <li><a href="https://emacs.stackexchange.com/questions/20731/setting-up-ditaa-in-org-mode">https://emacs.stackexchange.com/questions/20731/setting-up-ditaa-in-org-mode</a></li> <li><a href="https://github.com/hlissner/doom-emacs/blob/develop/modules/lang/org/config.el#L310-L314">https://github.com/hlissner/doom-emacs/blob/develop/modules/lang/org/config.el#L310-L314</a></li> <li><a href="https://github.com/nmartin84/.doom.d/blob/master/config.el#L893">https://github.com/nmartin84/.doom.d/blob/master/config.el#L893</a></li> </ul> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/factotvm"> /u/factotvm </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/pp3sye/from_the_ecstasy_to_the_agony_a_story_of_doom/">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/pp3sye/from_the_ecstasy_to_the_agony_a_story_of_doom/">[comments]</a></span> |