Re:A vision of a multi-threaded Emacs
by NeutralForest on Monday May 30, 2022 @03:41PM
(#31562837)
My biggest pet-peeve is Org freezing when I'm exporting to PDF.
[ Parent
| on HN ]
You can change it to export in the background:
(setq org-export-in-background 't)
https://orgmode.org/manual/The-Export-Dispatcher.html
Re:A vision of a multi-threaded Emacs
by NeutralForest on Tuesday May 31, 2022 @04:23AM
(#31567214)
Thanks for the tip, I'll try it out!
Re:A vision of a multi-threaded Emacs
by OrderlyTiamat on Monday May 30, 2022 @06:33PM
(#31564344)
I've had that fixed in the past by simply adding an ampersand to org's compile command. This does make it run in the background but makes it ring the bell a number of times. Now when I'm editing and want to see the compiled pdf side by side I just start a bash while loop that recompiles continually with latexmk.
Re:A vision of a multi-threaded Emacs
by anotherevan on Monday May 30, 2022 @09:54PM
(#31565420)
> I just start a bash while loop that recompiles continually with latexmk.
There's the -pvc option in latexmk that[1], "continuously check all input files for changes and re-compile the whole thing if needed and always display the result," depending on if your PDF viewer will refresh.
That may obviate the need for a bash while loop.
Re:A vision of a multi-threaded Emacs
by OrderlyTiamat on Saturday June 04, 2022 @12:48PM
(#31622553)
Neat, thanks!
Re:A vision of a multi-threaded Emacs
by NeutralForest on Tuesday May 31, 2022 @04:24AM
(#31567222)
That makes sense, I don't need to recompile that often but when recompiling relatively large notes (~50 pages) with lots of minted code blocks and the like, it's annoying.