all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
Subject: Re: URL filename syntax?
Date: Fri, 18 Apr 2003 11:51:58 +0900	[thread overview]
Message-ID: <874r4w7c1d.fsf@tleepslib.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <848yu9p40z.fsf@lucy.is.informatik.uni-duisburg.de> (kai.grossjohann@gmx.net's message of "Thu, 17 Apr 2003 16:55:24 +0200")

>>>>> "Kai" == Kai Großjohann <kai.grossjohann@gmx.net> writes:

    Kai> Okay.  It seems that ftp://user@host//foo is an illegal URL,
    Kai> so I can assign any meaning to it that I like.

It's not.  (If you're referring to my statement on another channel, it
was incorrect, and I tried to admit that; if it was unclear, my
apologies.)

Empty components in the url-path are legal in general (non-opaque)
schemes (such as FTP, cf RFC 2396 Appendix A).  In particular, they're
legal in FTP URLs as well as defined in RFC 1738, Sec. 3.2.2.

    Kai> Hence, I'll define it to mean the same thing as
    Kai> ftp://user@host/%2Ffoo.

    Kai> Do you object?

Do you intend to ensure that that definition is consistent throughout
all the possible ways of exporting URLs from Emacs to other apps?
(Eg, fix shell-mode and comint to recognize and convert Tramp URLs
being passed to wget and the X selection mechanism to recognize and
convert "Tramp URLs" in case of pasting to Mozilla!)

I consider that property very desirable.  Exactly those users who
don't grok %2F are going to be the ones who _need_ those conversions.
I think that that is what Ehud wants, too.

Kai said:

    >>> (And Tramp is incompatible with the standard anyway, since it
    >>> mostly supports URL schemes like ssh, scp, su, smb, and rsync,
    >>> which are not standardized.)

Ehud replied:

    >> If there is no standard - there is no incompatibility.

RFC 2396 and RFC 2718 should be considered carefully.  Especially
since one way to prevent schemes from being defined incompatibly later
is to register them.


-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.

      reply	other threads:[~2003-04-18  2:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-14 11:51 URL filename syntax? Kai Großjohann
2003-04-14 15:05 ` Kim F. Storm
2003-04-14 14:29   ` Stefan Monnier
2003-04-14 19:50   ` Oliver Scholz
2003-04-15 16:26 ` Ehud Karni
2003-04-15 19:19   ` Kai Großjohann
2003-04-15 21:20     ` Ehud Karni
2003-04-17 14:55       ` Kai Großjohann
2003-04-18  2:51         ` Stephen J. Turnbull [this message]

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

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

  git send-email \
    --in-reply-to=874r4w7c1d.fsf@tleepslib.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.