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.
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/20200815203124.GA20476%40phoenix.
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index b463e75c4..ebfb2bb56 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -2733,8 +2733,9 @@ A jump table for the options with a short description can
be found at |Q_op|.
is replaced with the path name of the edited file.
- 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. This will
- ensure file name uniqueness in the preserve directory.
+ with the colon following the drive letter on Win32 and all path
+ separators replaced by percent '%' signs. This will ensure file name
+ uniqueness in the preserve directory.
On Win32, it is also possible to end with "\\". However, When a
separating comma is following, you must use "//", since "\\" will
include the comma in the file name. Therefore it is recommended to