From mboxrd@z Thu Jan 1 00:00:00 1970 From: swflint@flintfam.org (Samuel W. Flint) Subject: Re: org-element approach to modify or add ID to every headline Date: Fri, 14 Aug 2015 20:54:42 -0500 Message-ID: <87614huxi5.fsf@turing.flintfam.org> References: <87si7saou1.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQQgP-0008PD-Jb for emacs-orgmode@gnu.org; Fri, 14 Aug 2015 21:54:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQQgM-0006U4-9e for emacs-orgmode@gnu.org; Fri, 14 Aug 2015 21:54:53 -0400 Received: from flintfam.org ([50.116.25.174]:51321 helo=mail.flintfam.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQQgM-0006Sm-4H for emacs-orgmode@gnu.org; Fri, 14 Aug 2015 21:54:50 -0400 In-Reply-To: (Grant Rettke's message of "Sun, 9 Aug 2015 20:23:25 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Grant Rettke Cc: "emacs-orgmode@gnu.org" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 =2D-=20 Samuel W. Flint 4096R/266596F4 (9477 D23E 389E 40C5 2F10 DE19 68E5 318E 2665 96F4) (=CE=BBs.s s) =CE=BBs.s s --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVzpvjAAoJEGjlMY4mZZb0IRMQAK7cu00S2z/VzVGd9ABzoF1I +pPNsXDvWeDGepMuFJOuChxg1uwFWcZJN+4X09tB/FoA5XxGr9TsYP4ymyBJ+PQd sqdYs0KIuUhjhgt2A2bKrRbo+Ut3pEamUfU0P7A7C8F7AoB2E0FPmtyMgw2k1Zsb Vt1ofScn8510V8cYD++cUW1PsiM8tVmFv+iYRh9/lDIFxeJ/Yl4bSItLw98EH9zX ddcGHuqY+1b4D/xvVF8X17OmMV7+oFGd4ry8u9ljE4s3yTZKYkQaoiD5CDSVcCEi 4X0p4hP9zENoVIxmi8FgZu9LA7cofaqBX5Q9OIYTCvuwI1hWdTxQJcJk5TzBGJ5Q hU1XWaGXGx8p0/vtL98SDok8YcgQlRRGF6l8ULr+siFfn7veh2/mEuImawAthaed 7aBWMuN8J8yZfGGK48vWabJbT7Fi0iSD1CO5/+0DE3Pj4NIVY++0XG2Jckg+cmOW vDZ7k1HVqtU3l7j/xVUhbxNejAso3+BYrCcSHiIDUmGXOEqeex8uyXgGCGCec0cb GNUVxW9JCjzzXeM+1kuYhF/pusjgDZjr7gyoBPHKHcxWzJoser/sIH5HMwXT2Dwt pkE7uWHMbGqlYOyzam1nWGoKj6U+eZ3IRYWSQC2gzEAyzu9x/BBu6ufN18vBaSQk cQfmn5x+adXhSofM0T2B =FFOQ -----END PGP SIGNATURE----- --=-=-=--