Re: vim 7.3
On Thu, Oct 26, 2017 at 7:19 PM, tooth pikwrote: > you don't use git? > No I don't, not for Vim anyway. Somehow I understand Mercurial but not git, so given a choice between them I always choose Mercurial. (For instance, does git have a specific function to list incoming changesets, other than "git pull --dry-run"? I like the "log-style" format of "hg incoming".) This said, whichever way you use to download the sources, the compunix.htm (or, for Windows, compile.htm) on my skynet.be user site will still help you compile it. Best regards, Tony. -- -- 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/d/optout.
Re: [patch] doc fixes
Dominique wrote: > Attached patches fixes typos in vim documentation. Thanks! -- Vi beats Emacs to death, and then again! http://linuxtoday.com/stories/5764.html /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Patch 8.0.1227
Patch 8.0.1227 Problem:Undefined left shift in readfile(). (Brian 'geeknik' Carpenter) Solution: Add cast to unsigned. (Dominique Pelle, closes #2253) Files: src/fileio.c *** ../vim-8.0.1226/src/fileio.c2017-10-19 18:35:46.094557713 +0200 --- src/fileio.c2017-10-27 22:13:04.947264450 +0200 *** *** 1956,1972 { if (fio_flags & FIO_ENDIAN_L) { ! u8c = (*--p << 24); ! u8c += (*--p << 16); ! u8c += (*--p << 8); u8c += *--p; } else/* big endian */ { u8c = *--p; ! u8c += (*--p << 8); ! u8c += (*--p << 16); ! u8c += (*--p << 24); } } else/* UTF-8 */ --- 1956,1972 { if (fio_flags & FIO_ENDIAN_L) { ! u8c = (unsigned)*--p << 24; ! u8c += (unsigned)*--p << 16; ! u8c += (unsigned)*--p << 8; u8c += *--p; } else/* big endian */ { u8c = *--p; ! u8c += (unsigned)*--p << 8; ! u8c += (unsigned)*--p << 16; ! u8c += (unsigned)*--p << 24; } } else/* UTF-8 */ *** ../vim-8.0.1226/src/version.c 2017-10-27 01:34:55.093306847 +0200 --- src/version.c 2017-10-27 22:14:50.206524087 +0200 *** *** 763,764 --- 763,766 { /* Add new patch number below this line */ + /**/ + 1227, /**/ -- TALL KNIGHT: When you have found the shrubbery, then you must cut down the mightiest tree in the forest ... with a herring. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [doc][patch] Update documents
Ken Takata wrote: > The following help items describe similar things: > > :help gui-w32-cmdargs > :help win32-quotes > > I think they can be merged. Moreover, they doesn't reflect the change by > the patch 7.4.432. Please check the attached patch. > (Related: https://github.com/vim/vim/issues/670) Thanks, I'll include it. -- TALL KNIGHT: We are now no longer the Knights Who Say Ni! ONE KNIGHT: Ni! OTHERS: Sh! ONE KNIGHT: (whispers) Sorry. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[patch] doc fixes
Hi Attached patches fixes typos in vim documentation. Regards Dominique -- -- 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/d/optout. diff --git a/runtime/doc/ft_rust.txt b/runtime/doc/ft_rust.txt index 71e3027..750ba76 100644 --- a/runtime/doc/ft_rust.txt +++ b/runtime/doc/ft_rust.txt @@ -199,7 +199,7 @@ COMMANDS *rust-commands* |g:rust_playpen_url| is the base URL to the playpen, by default "https://play.rust-lang.org/;. - |g:rust_shortener_url| is the base URL for the shorterner, by + |g:rust_shortener_url| is the base URL for the shortener, by default "https://is.gd/; :RustFmt *:RustFmt* diff --git a/runtime/doc/version8.txt b/runtime/doc/version8.txt index de16d8a..f64e87f 100644 --- a/runtime/doc/version8.txt +++ b/runtime/doc/version8.txt @@ -11778,7 +11778,7 @@ Files: src/os_unix.c Patch 7.4.1915 Problem:The effect of the PopupMenu autocommand isn't directly visible. Solution: Call gui_update_menus() before displaying the popup menu. (Shane -Harper, closs #855) +Harper, closes #855) Files: src/menu.c Patch 7.4.1916 (after 7.4.1906) @@ -15398,7 +15398,7 @@ Files: src/testdir/test_undo.vim, src/undo.c Patch 8.0.0150 Problem:When the pattern of :filter does not have a separator then completion of the command fails. -Solution: Skip over the pattern. (Ozaki Kiichi, clodes #1299) +Solution: Skip over the pattern. (Ozaki Kiichi, closes #1299) Files: src/ex_docmd.c, src/testdir/test_filter_cmd.vim Patch 8.0.0151
Re: [doc][patch] Update documents
Hi, The following help items describe similar things: :help gui-w32-cmdargs :help win32-quotes I think they can be merged. Moreover, they doesn't reflect the change by the patch 7.4.432. Please check the attached patch. (Related: https://github.com/vim/vim/issues/670) Regards, Ken Takata -- -- 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/d/optout. # HG changeset patch # Parent dfdf21dd6d749f0526da4bb1e415045b93fa4f4f diff --git a/runtime/doc/gui_w32.txt b/runtime/doc/gui_w32.txt --- a/runtime/doc/gui_w32.txt +++ b/runtime/doc/gui_w32.txt @@ -382,38 +382,7 @@ Note that a menu that starts with ']' wi == 7. Command line arguments*gui-w32-cmdargs* -Analysis of a command line into parameters is not standardised in MS Windows. -Gvim has to provide logic to analyse a command line. This logic is likely to -be different from the default logic provided by a compilation system used to -build vim. The differences relate to unusual double quote (") usage. -The arguments "C:\My Music\freude.txt" and "+/Sch\"iller" are handled in the -same way. The argument "+/Sch""iller" may be handled different by gvim and -vim, depending what it was compiled with. - -The rules are: - a) A parameter is a sequence of graphic characters. - b) Parameters are separated by white space. - c) A parameter can be enclosed in double quotes to include white space. - d) A sequence of zero or more backslashes (\) and a double quote (") - is special. The effective number of backslashes is halved, rounded - down. An even number of backslashes reverses the acceptability of - spaces and tabs, an odd number of backslashes produces a literal - double quote. - -So: - " is a special double quote - \" is a literal double quote - \\" is a literal backslash and a special double quote - \\\" is a literal backslash and a literal double quote - " is 2 literal backslashes and a special double quote - \" is 2 literal backslashes and a literal double quote - etc. - -Example: > - gvim "C:\My Music\freude" +"set ignorecase" +/"\"foo\\" +\"bar\\\" - -opens "C:\My Music\freude" and executes the line mode commands: > - set ignorecase; /"foo\ and /bar\" +This part was moved to |win32-cmdargs| in the os_win32.txt. == 8. Various *gui-w32-various* diff --git a/runtime/doc/os_win32.txt b/runtime/doc/os_win32.txt --- a/runtime/doc/os_win32.txt +++ b/runtime/doc/os_win32.txt @@ -81,10 +81,45 @@ The directory of the Vim executable is a make "!xxd" work, as it is in the Tools menu. And it also means that when executable() returns 1 the executable can actually be executed. -Quotes in file names *win32-quotes* +Command line arguments *win32-cmdargs* + +Analysis of a command line into parameters is not standardised in MS Windows. +Vim and gvim used to use different logic to parse it (before 7.4.432), and the +logic was also depended on what it was compiled with. Now Vim and gvim both +use the CommandLineToArgvW() Win32 API, so they behave in the same way. + +The basic rules are: *win32-backslashes* + a) A parameter is a sequence of graphic characters. + b) Parameters are separated by white space. + c) A parameter can be enclosed in double quotes to include white space. + d) A sequence of zero or more backslashes (\) and a double quote (") + is special. The effective number of backslashes is halved, rounded + down. An even number of backslashes reverses the acceptability of + spaces and tabs, an odd number of backslashes produces a literal + double quote. -Quotes inside a file name (or any other command line argument) can be escaped -with a backslash. E.g. > +So: + " is a special double quote + \" is a literal double quote + \\" is a literal backslash and a special double quote + \\\" is a literal backslash and a literal double quote + " is 2 literal backslashes and a special double quote + \" is 2 literal backslashes and a literal double quote + etc. + +Example: > + vim "C:\My Music\freude" +"set ignorecase" +/"\"foo\\" +\"bar\\\" + +opens "C:\My Music\freude" and executes the line mode commands: > + set ignorecase; /"foo\ and /bar\" + +These rules are also described in the reference of the CommandLineToArgvW API: +https://msdn.microsoft.com/en-us/library/windows/desktop/bb776391.aspx + + *win32-quotes* +There are additional rules for quotes (which are not well documented). +As described above, quotes
Re: Patch 8.0.1220
On Do, 26 Okt 2017, Bram Moolenaar wrote: > Patch 8.0.1220 > Problem:Skipping empty statusline groups is not correct. > Solution: Also set group_end_userhl. (itchyny) > Files: src/buffer.c, src/testdir/test_statusline.vim Thanks, that fixed my airline issue. Christian -- In der Schule der Welt wie in der Schule der Liebe muß man alsbald mit der Ausübung dessen, was man zu lernen gedenkt, den Anfang machen. -- Jean Jacques Rousseau -- -- 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/d/optout.