Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 219 by [email protected]: Noticed 2 issues with netrw v151
http://code.google.com/p/vim/issues/detail?id=219

Noticed 2 netrw issues in the new update of vim with netrw V151.

  1. Got an error E382 when trying to save a remote-editing file.

     This is caused by 'buftype' being set to 'nofile'.
     The culprit is in s:NetrwSafeOptions().  (Not sure if this is
     intentional.)

  2. Encountering bad hostname error while listing/editing remote
     file.

     Concretely, ':tabe scp://[email protected]/boringpath/' would
     get an error saying bad hostname 'jdoefoobar.com'.

     This is due to netrw stripping the '@' between user and
     machine.
     The culprit is in s:RemotePathAnalysis().


Hacked together a fix for these 2 issues.
Not able to find bug tracking repo for netrw.
So, I uploaded the patch to pastebin and leave the link here for those who are
interested.

   [netrw patch](http://pastebin.com/eBCcXgWv)



Attachments:
        netrw.vim.patch  2.9 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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