From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Export to html fails when link to header in non existing file in document present Date: Thu, 07 May 2015 01:04:16 +0200 Message-ID: <87k2wls3yn.fsf@nicolasgoaziou.fr> References: <87oalyc7kp.fsf@gmx.us> <874mnpddcp.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq8L8-000051-Cf for emacs-orgmode@gnu.org; Wed, 06 May 2015 19:02:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yq8L7-0002my-93 for emacs-orgmode@gnu.org; Wed, 06 May 2015 19:02:54 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:42565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq8L7-0002l6-3S for emacs-orgmode@gnu.org; Wed, 06 May 2015 19:02:53 -0400 In-Reply-To: <874mnpddcp.fsf@gmx.us> (rasmus@gmx.us's message of "Wed, 06 May 2015 15:50:30 +0200") 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: Rasmus Cc: emacs-orgmode@gnu.org Hello, Rasmus writes: > Actually, the error you found is more interesting than what I first > though, as any link with anchors will trigger the error, it seems. > org-publish-cache must be non-nil, which seems to linger on publishing a > project. Correct. External references can only be solved using publishing. > From 8e1dd6c43e8a358a85a8034825c475199bd2ffb7 Mon Sep 17 00:00:00 2001 > From: Rasmus > Date: Wed, 6 May 2015 15:44:26 +0200 > Subject: [PATCH] ox-html: Improve links with search > > * ox-html.el (org-html-link): Handle links with search when > not using Publish. Thank you. However, I "fixed" it at ox-publish.el's level in e42c1611094a689f77f09cc66c5a50fb1e3ac7bb instead, and throw an error instead of a warning. Regards, -- Nicolas Goaziou