Re: Running in-line babel code at auto-insert template file open

2020-02-26 Thread Lawrence Bottorff
Got a good answer over at emacs.stackexchange that uses Emacs text-buffer lore. Still, it seems like org-mode should be able to auto-run in-line code just like the solution does. Alas, someday I hope

Running in-line babel code at auto-insert template file open

2020-02-24 Thread Lawrence Bottorff
Let's say I have a standard org file I want to have created multiple times. I've created a template file and told Emacs autoinsert where it is. Here's the relevant in my init (use-package autoinsert :ensure t ... :config (define-auto-insert "poolchem.org?$" "poolchem.org")) So in this