From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Clemente Subject: custom IDs not exported Date: Sun, 12 Jun 2011 00:42:31 +0200 Message-ID: <87hb7wq9bc.wl%n142857@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVWt2-0000d5-HM for emacs-orgmode@gnu.org; Sat, 11 Jun 2011 18:42:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QVWt1-00062Z-N8 for emacs-orgmode@gnu.org; Sat, 11 Jun 2011 18:42:36 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:54153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QVWt1-00062N-It for emacs-orgmode@gnu.org; Sat, 11 Jun 2011 18:42:35 -0400 Received: by wwb39 with SMTP id 39so3169830wwb.30 for ; Sat, 11 Jun 2011 15:42:34 -0700 (PDT) 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: org-mode Mailinglist Cc: nick@dokosmarshall.org Commit 438536f6157794101ce0957e39cad6bf70580751 (=E2=80=9EChange undersco= res to hyphens in section labels=E2=80=9C) broke the export of CUSTOM_IDs. Take for instance this file: ----------------------- #+TITLE: Cosas por hacer * Programas :PROPERTIES: :CUSTOM_ID: programas :END: ** emacs :PROPERTIES: :CUSTOM_ID: emacs :END: Editor de textos ------------------------ When exporting (C-c C-e H) you get this table of contents: ------------------------ ------------------------- The first one is correct because it is first-level. All non-first-level g= et #sec-NUMBERS instead of the custom ID. Not only the table of contents; the header's ID is also wrong:

1.1 emacs

Tested with current org-mode.=20 Greetings, Daniel