Bram Moolenaar wrote:
> If a user switches off 'writebackup' he must be prepared for
> losing work.  Perhaps this is not sufficiently clear to the
> user?
>
> Considering how very few times this problem occurs I don't
> think it is justified to do any work on this.  Except perhaps
> a better explanation in the docs in some place.

How about twweaking the error message?

Vim currently shows:
    "bad.tmp" E513: write error, conversion failed
        (make 'fenc' empty to override)
    WARNING: Original file may be lost or damaged don't
    quit the editor until the file is successfully written!

I suggest:
    "bad.tmp" E513: write error, conversion failed
    WARNING: The file on disk has probably been corrupted.
    Do not quit until the file is successfully written!
    Try saving it again after entering (nothing after "="):
    :set fenc=

Or, when writebackup is switched off, issue a clear warning?

John

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