[Bug 253576] Re: Buffer content is lost when opening file over network that doesn't exsist
Launchpad Bug Tracker
253576 at bugs.launchpad.net
Sun Feb 4 04:17:46 UTC 2024
[Expired for vim (Ubuntu) because there has been no activity for 60
days.]
** Changed in: vim (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/253576
Title:
Buffer content is lost when opening file over network that doesn't
exsist
Status in vim package in Ubuntu:
Expired
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://user@domain.xxx//path/to/existing/file
2) Enter the password - file content appears in the buffer.
3) Type :w
4) Type :sp ftp://user@domain.xxx//path/to/NOT/existing/file
What happens after this is:
1) 2 new buffers are opened: the first one says '/path/to/NOT/existing/file: No such file or directory', and the second is the buffer for that file. You can edit that buffer and save it, so a new file is created on the server.
2) The old buffer which had the contents of ftp://user@domain.xxx//path/to/existing/file is empty.
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/253576/+subscriptions
More information about the foundations-bugs
mailing list