emacs/var/elfeed/db/data/5a/5a4f65928bad1c700a3276bfa5adb8b004897080
2022-01-03 12:49:32 -06:00

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&#39;t believe I&#39;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&#39; happening. Perhaps then <code>(after! ob-ditaa ...)</code> will override the default and I&#39;ll be able to export.</p> <p>Please, help me set this in Doom so I don&#39;t have to evaluate it each time.</p> <p>I have tried this:</p> <p><code> (after! ob-ditaa ;; I&#39;ve tried org here as well (setq org-ditaa-jar-path (dt/trim-last-newline (shell-command-to-string &quot;which ditaa&quot;)))) </code></p> <p>And, actually, ditaa is on my path, so I&#39;ve done this as well:</p> <p><code> (setq org-ditaa-jar-path &quot;ditaa&quot;) </code></p> <p>This is in my <code>.doom.d/config.el</code>. And when Emacs starts, that&#39;s what it is set to, but when I dispatch to export, it&#39;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&#39;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 --> &#32; submitted by &#32; <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> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/pp3sye/from_the_ecstasy_to_the_agony_a_story_of_doom/">[comments]</a></span>