From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: HTML export ignoring CUSTOM_ID properties Date: Sun, 19 Apr 2015 01:08:57 +0200 Message-ID: <87egnhm3ue.fsf@nicolasgoaziou.fr> References: <871tjhwnd0.fsf@gmx.us> <877ft9cmyk.fsf@jack.tftorrey.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yjbpq-0000BE-G7 for emacs-orgmode@gnu.org; Sat, 18 Apr 2015 19:07:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yjbpp-0007mc-CI for emacs-orgmode@gnu.org; Sat, 18 Apr 2015 19:07:38 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:36816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yjbpp-0007mX-5r for emacs-orgmode@gnu.org; Sat, 18 Apr 2015 19:07:37 -0400 In-Reply-To: <877ft9cmyk.fsf@jack.tftorrey.com> (T. F. Torrey's message of "Sat, 18 Apr 2015 11:26:11 -0700") 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: "T.F. Torrey" Cc: emacs-orgmode@gnu.org, Rasmus Hello, tftorrey@tftorrey.com (T.F. Torrey) writes: > Links may work from inside Org, but the original intent of CUSTOM_ID was > to produce a stable ID for the HTML export that could be linked to from > outside Org. With the changed functionality, all existing links to > presidents.html#clinton are broken, because the usage of CUSTOM_ID has > changed. Any custom CSS is also broken, for the same reason. > > With the new usage, CUSTOM_ID and ID have virtually the same > functionality. Good point. > The code on master is *supposed* to work as advertised. It identifies > itself as 8.3 beta. Changes that break functionality in exploratory > ways are alpha changes. "beta" is indeed misleading. I suggest to ignore it. As Rasmus pointed out, master is where development happens. Some changes introduced here may break Org. If one such change makes Org unusable for you, you can easily revert Org to an earlier, working, commit, without fuss. Of course, we appreciate if you report the problem encountered beforehand. > Ha ha. There are many tools capable of exporting plain-text documents > to HTML with predictable and stable ID's. Considering that not any string is eligible as HTML id (e.g., forbidden characters), either these tools are putting restrictions on chosen IDs or they are lying. > As you said, they aren't your changes and it isn't your decision. I overlooked the problem in HTML and made a mistake. It happens, more often than I would like. However, you are not required to be obnoxious about it. It helps no one. The problem should be fixed in 0449b785b4b58ec16e1aac126634de70eee519a4. Thank you for reporting it. Regards, -- Nicolas Goaziou