From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Dietsche Subject: Re: Use id property as anchor in the Table of Contents Date: Thu, 15 Sep 2011 11:18:54 +0200 Message-ID: <87zki69n9d.fsf@rat.lan> References: <87zkifx45t.fsf@norang.ca> <87hb4geozv.fsf@rat.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4866-0004dj-Fo for emacs-orgmode@gnu.org; Thu, 15 Sep 2011 05:19:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4864-00036E-J2 for emacs-orgmode@gnu.org; Thu, 15 Sep 2011 05:19:06 -0400 Received: from www85.your-server.de ([213.133.104.85]:48414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4864-00035G-EP for emacs-orgmode@gnu.org; Thu, 15 Sep 2011 05:19:04 -0400 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: pquintana@obsebre.es Cc: emacs-orgmode@gnu.org Pere Quintana Segu=C3=AD writes: > 2011/9/13 Olaf Dietsche : >> How did you create ID properties for all entries? Have you exported your >> org-files to icalendar? > > Most of them have ID properties because I often link them internally. > When I create the link with C-c l, org adds the id. > > For those that do not have ID, I'll create them manually with > org-id-get-create. With a keyboard macro this will be fast. Ok, thanks for this explanation. > With this patch, what happens if there is no id in a heading, does it > create it automatically? It is supposed to use the CUSTOM_ID, if set. Next, it tries the ID property. At last, it falls back to "sec-...". > At work I'm using stable versions of Org-mode. This weekend I'll try > the git version at home and test your patch. Regards, Olaf