Tuesday, July 27, 2010

Re: [Bug Report]E13 error in v73b

On 28/07/10 05:18, Ricky J. Wu wrote:
> Hello all
>
> When I was using version 7.3b to open file and write after edit, I
> encounter E13 error. I must use w! to override. Do you have the same
> problem?
>

"E13: File exists (add ! to override)"

Are you using a filename after the :w ?

":w" with no arguments should save the current file under its existing
name and (if you have write permission, and in particular if the file is
not readonly) give no error.

":w filename.ext" and ":saveas filename.ext" will fail with E13 if
filename.ext already exists: you must use ":w! filename.ext" or
":saveas! filename.ext" if you want to override an existing file.

You can also use ":wq" or ":x" (still with no arguments) to save the
file (with no name change) and close the window in one operation.


Best regards,
Tony.
--
Real computer scientists despise the idea of actual hardware. Hardware
has limitations, software doesn't. It's a real shame that Turing
machines are so poor at I/O.

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

No comments: