all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stuart D. Herring" <herring@lanl.gov>
Cc: emacs-devel@gnu.org
Subject: Re: [jidanni@jidanni.org: browse-url-of-dired-file vs. .gz]
Date: Thu, 29 Jun 2006 12:08:14 -0700 (PDT)	[thread overview]
Message-ID: <36341.128.165.123.18.1151608094.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <44A314E2.8040409@gnu.org>

> However, I just reviewed the relevant  RFCs, and there is no mention of
> a server-less version of the file: URL scheme, so file:/// does appear
> be more correct than file:/, at least in theory.

Page 21 of RFC 3986 states that

                                 For example, the "file" URI
   scheme is defined so that no authority, an empty host, and
   "localhost" all mean the end-user's machine, ...

"No authority" means that the "//host" part of the URI is omitted
entirely, whereas "an empty host" means that the "//" has no text between
it and the following "/" that begins the path (which, with an authority
present, even if it's an empty host, must begin with a slash).  So
file:/// and file:/ and file://localhost/ all mean exactly the same thing,
whether or not they are followed by anything (which must be an absolute
file name without its leading /).  My apologies for reporting the "bug"
that did not in fact exist, but perhaps file:/// should be used anyway if
it's more compatible?

Davis


-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.

  reply	other threads:[~2006-06-29 19:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-27 16:16 [jidanni@jidanni.org: browse-url-of-dired-file vs. .gz] Richard Stallman
2006-06-27 16:48 ` Chong Yidong
2006-06-28 17:01 ` Stuart D. Herring
2006-06-28 17:22   ` Lennart Borgman
2006-06-28 21:56   ` Jason Rumney
2006-06-28 23:09     ` Lennart Borgman
2006-06-28 23:46       ` Jason Rumney
2006-06-29 19:08         ` Stuart D. Herring [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-06-13 15:44 Richard Stallman
2006-06-06 14:13 Richard Stallman
2006-06-13 16:06 ` Chong Yidong

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=36341.128.165.123.18.1151608094.squirrel@webmail.lanl.gov \
    --to=herring@lanl.gov \
    --cc=emacs-devel@gnu.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.