Hi Toddintr!

(Please don't top poste and please wrap to 75 columns)

On So, 13 Mai 2012, Toddintr wrote:

> I am assuming that prior to attempting to write the file and failing,
> Vim had a valid copy in the buffer.  It should restore that copy.
>
> Otherwise, if it is going to attempt something that is not reversible,
> it should never attempt it.  It is one of the fundamentals of software
> systems design as I know it.  Losing a file is the worst thing that an
> editor can do.

The copy is still in the buffer. It is valid. The problem is, that 
writing failed because converting to your desired fileencoding failed.

The problem is probably, that Vim opened the file for writing, truncated 
it and when writing noticed the error. But at this time, the old 
contents are already gone.

Besides, big red warning messages should always be read, because they 
don't usually happen.

regards,
Christian
-- 

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