Encrypted file contents are destroyed, if something (e.g autocmd)
triggers write event, while user is being asked for password.

To repro:
1. have an encrypted.txt ready (:X)
2. gvim, :au focuslost * w
3. :e encrypted.txt, don't type in the password yet,
4. lose window focus, e.g via switching to another window, to trigger
   the focuslost event,

Expected:
The file hasn't changed, so it should stay unmodified,

Actual behavior:
encrypted.txt is truncated to a zero size.

Einar

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui