[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] bug#16751: 24.3.50; Export during Org export to HTML

From: Nicolas Goaziou
Subject: [O] bug#16751: 24.3.50; Export during Org export to HTML
Date: Tue, 25 Feb 2014 19:04:10 +0100


Bastien <address@hidden> writes:

>> Ugh.  Bastien, could you (or someone else of Org developers) please
>> look into this?  Why does the URI above causes the recent version of
>> Org to pass an invalid file name such as
>>    ///opt/tomcat/4/apache-tomcat-4.1.40/... to expand-file-name
> I will look into this, but I can't promise anything before next week.
> Thanks for the heads up,

A quick analysis.


is a valid file link type in Org. Therefore,


is parsed as a file link with path:


This path passes `file-name-absolute-p' predicate, so "ox-html.el"
concatenates "file://" to

  (expand-file-name path)

Since path is absolute, per `file-name-absolute-p', `expand-file-name'
is probably needed for its "and canonicalize it" part.

Note that other export back-ends, like, "ox-md.el", also use this

FWIW, I don't see any wrong behaviour here (except that "file://" should
probably not be prepended to path in this case).


Nicolas Goaziou

reply via email to

[Prev in Thread] Current Thread [Next in Thread]