emacs-pretest-bug
[Top][All Lists]
Advanced

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

Should not file urls use file://


From: Lennart Borgman (gmail)
Subject: Should not file urls use file://
Date: Wed, 28 Feb 2007 13:54:46 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666

`browse-url-file-url' returns an URL that looks like

  file:c:/full/path-to-file.css

at least on w32. Such an URL does not work in for example a

  <link href="..." rel="StyleSheet" />

tag in Firefox in an xhtml file. I would expect this to be a bug in Emacs and not in Firefox, but I am not sure.

To see what `browse-url-file-url' returns do this:

  (require 'browse-url)
  (browse-url-file-url "full-path-to-file.css")



In GNU Emacs 22.0.94.1 (i386-mingw-nt5.1.2600)
 of 2007-02-24




reply via email to

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