Felipe Nievinski wrote:

> To reproduce bug:
> - open vim
> - type some text
> - try to close vim; at this point vim asks "save changes to 'untitled'?"
> click yes.
> - select an EXISTING file in the save as dialog box
> - vim will fail to ask for confirmation, thus overwritting the existing
> file!!!
> 
> What it should do: the same as it already does when you just ask it save a
> file, without it being upon exit:
> - open vim
> - type some text
> - click on the save button
> - select an EXISTING file in the save as dialog box
> - vim will ask, "Overwrite existing file '...'?"

Yeah, I suppose most users expect that dialog.  It's a bit annoying if
you know what you are doing, but it's frustrating if you blow away a
file accidentally.

-- 
WOMAN:   Dennis, there's some lovely filth down here.  Oh -- how d'you do?
ARTHUR:  How do you do, good lady.  I am Arthur, King of the Britons.
         Who's castle is that?
WOMAN:   King of the who?
                                  The Quest for the Holy Grail (Monty Python)

 /// Bram Moolenaar -- [email protected] -- 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_dev" 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

Raspunde prin e-mail lui