Christian Brabandt wrote:

> On Di, 21 Aug 2018, Bram Moolenaar wrote:
> 
> > 
> > Patch 8.1.0313
> > Problem:    Information about a swap file is unavailable.
> > Solution:   Add swapinfo(). (Enzo Ferber)
> > Files:          runtime/doc/eval.txt, src/evalfunc.c, src/memline.c,
> >             src/proto/memline.pro, src/testdir/test_swap.vim
> 
> Is this information valid when the SwapFileExists autocommand triggers?

It directly reads the swap file, thus it should always be valid.
Only thing is that on MS-Windows an exclusive read could block it.

-- 
Hanson's Treatment of Time:
        There are never enough hours in a day, but always too
        many days before Saturday.

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

--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui