From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Pere_Quintana_Segu=ED?= Subject: Re: Use id property as anchor in the Table of Contents Date: Thu, 15 Sep 2011 13:52:43 +0200 Message-ID: References: <87zkifx45t.fsf@norang.ca> <87hb4geozv.fsf@rat.lan> <87zki69n9d.fsf@rat.lan> Reply-To: pquintana@obsebre.es Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4AVS-0001kS-Cd for emacs-orgmode@gnu.org; Thu, 15 Sep 2011 07:53:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4AVQ-0007gK-Th for emacs-orgmode@gnu.org; Thu, 15 Sep 2011 07:53:26 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:41957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4AVQ-0007eL-QH for emacs-orgmode@gnu.org; Thu, 15 Sep 2011 07:53:24 -0400 Received: by gya6 with SMTP id 6so2421678gya.0 for ; Thu, 15 Sep 2011 04:53:23 -0700 (PDT) In-Reply-To: <87zki69n9d.fsf@rat.lan> 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: Olaf Dietsche Cc: emacs-orgmode@gnu.org 2011/9/15 Olaf Dietsche : >> 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-...". Ok, perfect. Thanks.