> When editing a file over a network or a removable media (USB stick) it's
> very easy to misplace the undo file.  Also, when a file is edited by
> several people, or the same person with different login names or from
> different systems, the undo file would go in the wrong place.  Also
> problems with renaming a directory, moving a directory tree, backups,
> etc.

I see many problems with this solution: more people than one can edit the same
file. So they should share the undo file?! Or there will be one undo file for
each user? And what if the user is unknown, for example on network-attached
disks where the original user (from the far computer) even does not exist on
the local one? And what about directories where it is not a good idea to create
files without a very good reason like directories exported via http,
directories under version control etc. etc. Imagine usual user of mercurial or
Novell BuildService: they use the command "addremove" quite often. And if there
was a file created automatically on the background they add it to the repository
accidentally. This is not a good idea, is it?

And there are many other examples. Status files of the editor should be in the
storage area reserved for such editor. In this case it is ~/.vim (on UN*X)
This is the (unspoken?) rule valid for decades on UN*X systems.

Yes, it means that we loose some automatic features you probably meant like
a persistent undo working over file transfer on USB key from comp1 to comp2.
But this is not what should be done by editor, at least not by default. The
list of complications is much longer and more serious than such advantage.

I vote for following standards in this case.

Milan

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

Raspunde prin e-mail lui