[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cygwin patches
From: |
Chong Yidong |
Subject: |
Re: Cygwin patches |
Date: |
Sun, 22 Nov 2009 20:50:29 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Ken Brown <address@hidden> writes:
> So are you saying that "file:" (with no slashes) is added by design?
> It doesn't work for me. (After the call to cygpath, I have a path of
> the form C:/blah/blah/blah.html; I need to add "file://", since
> otherwise only "file:" gets added and I don't have a valid URL.)
Does this change (instead of the other patches we've been considering)
do the right thing on Cygwin?
*** emacs/lisp/net/browse-url.el.~1.86.~ 2009-11-22 18:00:33.000000000
-0500
--- emacs/lisp/net/browse-url.el 2009-11-22 20:49:42.000000000 -0500
***************
*** 443,449 ****
;; it in anonymous cases. If it's not anonymous the next regexp
;; applies.
("^/\\([^:@address@hidden)?\\([^:]+\\):/*" . "ftp://\\1\\2/")
! ,@(if (memq system-type '(windows-nt ms-dos cygwin))
'(("^\\([a-zA-Z]:\\)[\\/]" . "file:\\1/")
("^[\\/][\\/]+" . "file://")))
("^/+" . "file:///"))
--- 443,449 ----
;; it in anonymous cases. If it's not anonymous the next regexp
;; applies.
("^/\\([^:@address@hidden)?\\([^:]+\\):/*" . "ftp://\\1\\2/")
! ,@(if (memq system-type '(windows-nt ms-dos))
'(("^\\([a-zA-Z]:\\)[\\/]" . "file:\\1/")
("^[\\/][\\/]+" . "file://")))
("^/+" . "file:///"))
- Re: Cygwin patches, (continued)
- Re: Cygwin patches, Eli Zaretskii, 2009/11/21
- Re: Cygwin patches, Ken Brown, 2009/11/21
- Re: Cygwin patches, Eli Zaretskii, 2009/11/21
- Re: Cygwin patches, Davis Herring, 2009/11/22
- Re: Cygwin patches, Ken Brown, 2009/11/22
- Re: Cygwin patches, Chong Yidong, 2009/11/22
- Re: Cygwin patches, Ken Brown, 2009/11/22
- Re: Cygwin patches, Lennart Borgman, 2009/11/22
- Re: Cygwin patches, Ken Brown, 2009/11/22
- Re: Cygwin patches, Lennart Borgman, 2009/11/22
- Re: Cygwin patches,
Chong Yidong <=
- Re: Cygwin patches, Ken Brown, 2009/11/22
- Re: Cygwin patches, Ken Brown, 2009/11/23
- Re: Cygwin patches, Chong Yidong, 2009/11/23
Re: Cygwin patches, Angelo Graziosi, 2009/11/20