On Monday, October 12, 2015 at 1:45:06 AM UTC+9, mattn wrote:
> > 2 should be following patch.
> > 
> > diff --git a/src/fileio.c b/src/fileio.c
> > index 0f3f148..b4480d0 100644
> > --- a/src/fileio.c
> > +++ b/src/fileio.c
> > @@ -7555,6 +7555,8 @@ forward_slash(fname)
> >  {
> >      char_u *p;
> >  
> > +    if (path_with_url(fname))
> > +   return;
> >      for (p = fname; *p != NUL; ++p)
> >  # ifdef  FEAT_MBYTE
> >     /* The Big5 encoding can have '\' in the trail byte. */
> > diff --git a/src/os_win32.c b/src/os_win32.c
> > index 5114863..3c6cdbe 100644
> > --- a/src/os_win32.c
> > +++ b/src/os_win32.c
> > @@ -2731,6 +2731,8 @@ fname_case(
> >      flen = (int)STRLEN(name);
> >      if (flen == 0)
> >     return;
> > +    if (path_with_url(name))
> > +   return;
> >  
> >      slash_adjust(name);
> 
> seems still not. :e works fine but 
> 
> C:\>vim http://www.google.com/index.html
> 
> This doesn't work.

Fixed.

diff --git a/src/fileio.c b/src/fileio.c
index 0f3f148..b4480d0 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -7555,6 +7555,8 @@ forward_slash(fname)
 {
     char_u     *p;
 
+    if (path_with_url(fname))
+       return;
     for (p = fname; *p != NUL; ++p)
 # ifdef  FEAT_MBYTE
        /* The Big5 encoding can have '\' in the trail byte. */
diff --git a/src/os_mswin.c b/src/os_mswin.c
index b50b86c..29a1491 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -486,6 +486,8 @@ mch_isFullName(char_u *fname)
 slash_adjust(p)
     char_u  *p;
 {
+    if (path_with_url(p))
+       return;
     while (*p)
     {
        if (*p == psepcN)

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui