Sunday, August 5, 2012

Re: error message issue

Shawn Wilson wrote:

> so, i go to open a file:
> :o t2.pl
> E37: No write since last change (add ! to override)
>
> ok, fine:
> :o! t2.pl
> E477: No ! allowed
>
> so, what is the issue and shouldn't the error be better / more descriptive?

Look up the help for :open and you will see that it's not acutally
supported. It's an outdated Vi command. Perhaps you want to use :edit ?

--
hundred-and-one symptoms of being an internet addict:
213. Your kids start referring to you as "that guy in front of the monitor."

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

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