Grant Rettke writes: > On Sun, Aug 9, 2015 at 2:44 AM, Nicolas Goaziou wrote: >> Anyway, the following should do: > > That works perfectly. Thank you. > > Tempted to run it in a on-save hook just to ensure that the document > *always* has IDs. At least for tangle comments. > You might try setting `org-id-link-to-org-use-id' to either t or 'create-if-interactive. I believe I have it set to t, and I get ids generated when I tangle. HTH, Sam -- Samuel W. Flint 4096R/266596F4 (9477 D23E 389E 40C5 2F10 DE19 68E5 318E 2665 96F4) (λs.s s) λs.s s