First of all, not encoding nor fileencoding will work on modelines because
the file was already loaded. See ':h encoding' and ':h fileencoding' for
that.

In my opinion, there is no bad design. You disabled write backups. That is
the way Vim keeps your original file safe.

Sorry for your lost.
Em 13/05/2012 05:10, "Toddintr" <[email protected]> escreveu:

> For the first time ever since I started using Vim, I lost a file.  I had a
> modeline that specified an "encoding" setting for a Python script.  Vim
> complained when opening the file.  I googled for a solution, decided to try
> fileencoding instead of encoding.  When saving the file, I saw some
> error/warning messages, but went ahead with a ZZ or w! (don't quiet
> remember).  Result: File length of zero.  (Had backups disabled.)
>
> My point: I *LOVE* Vim.  However, this sort of design decision is
> unacceptable.  It seems to be a design decision because it was not a bug or
> a crash.
>
> My two-cents' worth.
>
> Todd
>
> --
> You received this message from the "vim_use" 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 from the "vim_use" 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

Reply via email to