Buffer content is lost when opening file over network that doesn't exsist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: vim
I'm using VIM 7.1.138 (netrw v109) on Ubuntu 8.04.
The fastest way to see this bug happening seems to be this:
1) Start vim, type :e ftp://<email address hidden>
2) Enter the password - file content appears in the buffer.
3) Type :w
4) Type :sp ftp://<email address hidden>
What happens after this is:
1) 2 new buffers are opened: the first one says '/path/
2) The old buffer which had the contents of ftp://<email address hidden>
I expect that the second consequence above is a bug. If I was in a middle of editing in one buffer and opened another which would create a new file, all my work on the first one is lost - it's impossible to undo any changes, it says 'Already at oldest change', and the old buffer is cleared and not saved on the server.
description: | updated |