HI, all.

I find a bug that opens an encrypted file would confuse the text in a
no-name buffer.
I use windows xp, vim 7.3.3 big version with gui.

We can reproduce it by the following steps.

1. create an encrypt text file
gvim -u NONE a.txt
i
abcde
:X
:w

2. start vim without filename
gvim -u NONE

3. input some texts
i
12345
67890

4. set "hidden" option
:set hidden

5. open the encrypted text file
:e a.txt

6. When vim ask you for the password, click the "close button" in the top right.

7. In the "Save changes to Untitled" dialog, click "cancel"

8. Then input the right password.

9. Then we will see the text in no-name buffer
"12345
 67890"
is replace by
"abcde
 12345".
and no any text in the a.txt buffer.

This bug seems not related to encrypt_method.
Any ideas?

Juanjie.Xi

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