On 2020-08-15, Bram Moolenaar wrote:
> Gary Johnson wrote:
> 
> > The help entry for 'directory' doesn't say anything about the colon
> > following the drive letter in the swap file name being replaced by
> > a percent sign.
> > 
> > I propose that the sentence describing the swap file name
> > construction be changed from
> > 
> >     - For Unix and Win32, if a directory ends in two path separators "//",
> >       the swap file name will be built from the complete path to the file
> >       with all path separators substituted to percent '%' signs.
> > 
> > to
> > 
> >     - For Unix and Win32, if a directory ends in two path separators "//",
> >       the swap file name will be built from the complete path to the file
> >       with the colon following the drive letter on Win32 and all path
> >       separators replaced by percent '%' signs.
> > 
> > I also improved the grammar.  A patch based on 8.2.1462 is attached.
> 
> Thanks.  Starting the sentence mentioning the colon for Win32 makes it a
> bit long.  Since the colon is a specific instance of the path separator,
> I think it reads a bit easier like this:
> 
>       - For Unix and Win32, if a directory ends in two path separators "//",
>         the swap file name will be built from the complete path to the file
>         with all path separators replaced by percent '%' signs (including
>         the colon following the drive letter on Win32). This will ensure
>         file name uniqueness in the preserve directory.

That works.

Regards,
Gary

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20200815210936.GB20476%40phoenix.

Raspunde prin e-mail lui