unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: sva-news@mygooglest.com, bzg@altern.org, 16751@debbugs.gnu.org
Subject: bug#16751: 24.3.50; Export during Org export to HTML
Date: Tue, 25 Feb 2014 20:32:59 +0200	[thread overview]
Message-ID: <83lhwzyrdw.fsf@gnu.org> (raw)
In-Reply-To: <87vbw3t6g5.fsf@gmail.com>

> From: Nicolas Goaziou <n.goaziou@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>,  Sebastien Vauban <sva-news@mygooglest.com>,  16751@debbugs.gnu.org
> Date: Tue, 25 Feb 2014 19:04:10 +0100
> 
> >> 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.
> 
>     file:path
> 
> is a valid file link type in Org. Therefore,
> 
>     file:///opt/tomcat/4/apache-tomcat-4.1.40/webapps/../user_projects/GHIJSP2/deploy/WEB-INF/sharedfiles/resources/FR/domVal.xml
> 
> is parsed as a file link with path:
> 
>     ///opt/tomcat/4/apache-tomcat-4.1.40/webapps/../user_projects/GHIJSP2/deploy/WEB-INF/sharedfiles/resources/FR/domVal.xml

But that's exactly the problem: producing a file name from a file://
URL requires to remove the "file://" prefix.  It is invalid to leave
the 2 extra slashes and remove only "file:".  Why does Org do that?

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

Now I'm confused: why are you talking about prepending "file://", when
the problem, as I understand it, happens because "file://" was not
_removed_ from it together with the 2 slashes?





  parent reply	other threads:[~2014-02-25 18:32 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14  9:17 bug#16751: 24.3.50; Export during Org export to HTML Sebastien Vauban
2014-02-14 10:06 ` Eli Zaretskii
     [not found] ` <mailman.15076.1392372434.10748.bug-gnu-emacs@gnu.org>
     [not found]   ` <mailman.15076.1392372434.10748.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2014-02-18 11:39     ` Sebastien Vauban
2014-02-18 16:18       ` Eli Zaretskii
     [not found]         ` <83ha7w75sc.fsf-mXXj517/zsQ@public.gmane.org>
2014-02-24 11:30           ` Sebastien Vauban
2014-02-24 16:24             ` Eli Zaretskii
     [not found]             ` <mailman.15924.1393259115.10748.bug-gnu-emacs@gnu.org>
     [not found]               ` <mailman.15924.1393259115.10748.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2014-02-25  9:36                 ` Sebastien Vauban
2014-02-25 16:20                   ` Eli Zaretskii
2014-02-25 17:12                     ` Bastien
     [not found]                     ` <87ob1vnml6.fsf@bzg.ath.cx>
2014-02-25 17:49                       ` Eli Zaretskii
2014-03-01 11:53                         ` Eli Zaretskii
     [not found]                         ` <83eh2muobu.fsf@gnu.org>
2014-03-21  8:17                           ` Bastien
     [not found]                           ` <87pplgdkz3.fsf__35463.6971526363$1395389941$gmane$org@bzg.ath.cx>
2014-03-28 18:36                             ` Nicolas Goaziou
     [not found]                             ` <8761myqig3.fsf__27444.2686736167$1396031811$gmane$org@gmail.com>
2014-04-10 21:03                               ` Nicolas Goaziou
     [not found]                               ` <87ob08kic1.fsf__34636.0842268497$1397163906$gmane$org@gmail.com>
2014-04-11  8:48                                 ` Bastien
2014-02-25 18:04                       ` Nicolas Goaziou
     [not found]                       ` <87vbw3t6g5.fsf@gmail.com>
2014-02-25 18:32                         ` Eli Zaretskii [this message]
2014-02-25 18:41                           ` Glenn Morris
2014-02-25 20:53                             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83lhwzyrdw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=16751@debbugs.gnu.org \
    --cc=bzg@altern.org \
    --cc=n.goaziou@gmail.com \
    --cc=sva-news@mygooglest.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).