Re: Patch 8.0.1570
I know what you want, this plugin: http://vimuiex.sourceforge.net/ The plugin uses python + curses library in terminal to provide ui extension, but requires a patch for gvim. If you use terminal vim only, it doesn't require any modification. -- -- 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 8.0.1587
* Bram Moolenaar[2018-03-07 22:09 +0100]: > > Elimar Riesebieter wrote: > > > * Bram Moolenaar [2018-03-06 19:51 +0100]: > > > > > > > > Patch 8.0.1587 > > > Problem:inserting from the clipboard doesn't work literally > > > Solution: When pasting from the * or + register always assume literally. > > > Files: src/ops.c, src/proto/ops.pro, src/edit.c, src/ops.c, > > > src/testdir/test_paste.vim > > > > > > > > [...] > > > *** > > > *** 66,71 > > > --- 66,82 > > > bwipe! > > > endfunc > > > > > > + func Test_paste_clipboard() > > > + if !has('clipboard') > > > + return > > > + endif > > > + let @+ = "nasty\:!ls\command" > > > + new > > > + exe "normal i\+\" > > > + call assert_equal("nasty\:!ls\command", getline(1)) > > > + bwipe! > > > + endfunc > > > + > > > func Test_paste_cmdline() > > > call feedkeys(":a\[200~foo\bar\[201~b\\"\", > > > 'xt') > > > call assert_equal("\"afoo\barb", getreg(':')) > > > > Building gtk version on TERM=tmux-256color I get: > > > > From test_paste.vim: > > Found errors in Test_paste_clipboard(): > > function RunTheTest[38]..Test_paste_clipboard line 7: Expected > > 'nasty\e:!ls\rcommand' but got 'nasty' > > TEST FAILURE > > Strange. It works fine for me, and Travis also passes. > Why would it fail for you? Using single quotes instead of double quotes succeeded the test. I am building in $SHADOWDIR's and not sure whether the attached patch is correct, though >From 556dfb84dfda8b2a48d55583905ba7351cfb75b1 Mon Sep 17 00:00:00 2001 From: Elimar Riesebieter Date: Wed, 7 Mar 2018 23:56:02 +0100 Subject: [PATCH] Use single quotes in test_paste.vim --- src/testdir/test_paste.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/testdir/test_paste.vim b/src/testdir/test_paste.vim index 6450989ec..e846fa62f 100644 --- a/src/testdir/test_paste.vim +++ b/src/testdir/test_paste.vim @@ -70,10 +70,10 @@ func Test_paste_clipboard() if !has('clipboard') return endif - let @+ = "nasty\:!ls\command" + let @+ = 'nasty\:!ls\command' new exe "normal i\+\" - call assert_equal("nasty\:!ls\command", getline(1)) + call assert_equal('nasty\:!ls\command', getline(1)) bwipe! endfunc -- 2.16.2 Thanks Elimar -- On the keyboard of life you have always to keep a finger at the escape key;-) -- -- 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.1589
Patch 8.0.1589 Problem:Error for setting 'modifiable' when resetting it. Solution: Check if 'modifiable' was actually set. Files: src/option.c *** ../vim-8.0.1588/src/option.c2018-03-04 20:14:08.252064314 +0100 --- src/option.c2018-03-07 23:01:39.226681609 +0100 *** *** 8190,8197 { # ifdef FEAT_TERMINAL /* Cannot set 'modifiable' when in Terminal mode. */ ! if (term_in_normal_mode() !|| (bt_terminal(curbuf) && !term_is_finished(curbuf))) { curbuf->b_p_ma = FALSE; return (char_u *)N_("E946: Cannot make a terminal with running job modifiable"); --- 8190,8197 { # ifdef FEAT_TERMINAL /* Cannot set 'modifiable' when in Terminal mode. */ ! if (curbuf->b_p_ma && (term_in_normal_mode() || (bt_terminal(curbuf) ! && curbuf->b_term != NULL && !term_is_finished(curbuf { curbuf->b_p_ma = FALSE; return (char_u *)N_("E946: Cannot make a terminal with running job modifiable"); *** ../vim-8.0.1588/src/version.c 2018-03-07 22:09:06.780257074 +0100 --- src/version.c 2018-03-07 22:57:51.768245446 +0100 *** *** 768,769 --- 768,771 { /* Add new patch number below this line */ + /**/ + 1589, /**/ -- Lower life forms have more fun! /// 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.
Vim charity: financial report 2017
Hello Vimmers, Vim users are asked to support a project in Uganda, and many have donated money in 2017. The ICCF foundation takes care of this and the financial report is now available, see the attachment. Also available in Dutch: http://www.iccf.nl/jaarrekening2017nl.pdf I am very thankful for the support! The amount went up a bit compared to the previous year, and we managed to lower the cost down to 0.5%. The donations are used to keep the school and clinic running and make sure the children are healthy and complete their education. We continue to support children from very young, in nursery school, until they complete their education. Some finished university last year, while others only just started to learn to read and write. -- Are leaders born or made? And if they're made, can we return them under warranty? (Scott Adams - The Dilbert principle) /// 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. jaarrekening2017en.pdf Description: Binary data
Re: Patch 8.0.1587
Elimar Riesebieter wrote: > * Bram Moolenaar[2018-03-06 19:51 +0100]: > > > > > Patch 8.0.1587 > > Problem:inserting from the clipboard doesn't work literally > > Solution: When pasting from the * or + register always assume literally. > > Files: src/ops.c, src/proto/ops.pro, src/edit.c, src/ops.c, > > src/testdir/test_paste.vim > > > > > [...] > > *** > > *** 66,71 > > --- 66,82 > > bwipe! > > endfunc > > > > + func Test_paste_clipboard() > > + if !has('clipboard') > > + return > > + endif > > + let @+ = "nasty\:!ls\command" > > + new > > + exe "normal i\+\" > > + call assert_equal("nasty\:!ls\command", getline(1)) > > + bwipe! > > + endfunc > > + > > func Test_paste_cmdline() > > call feedkeys(":a\[200~foo\bar\[201~b\\"\", > > 'xt') > > call assert_equal("\"afoo\barb", getreg(':')) > > Building gtk version on TERM=tmux-256color I get: > > From test_paste.vim: > Found errors in Test_paste_clipboard(): > function RunTheTest[38]..Test_paste_clipboard line 7: Expected > 'nasty\e:!ls\rcommand' but got 'nasty' > TEST FAILURE Strange. It works fine for me, and Travis also passes. Why would it fail for you? -- Scientists decoded the first message from an alien civilization: SIMPLY SEND 6 TIMES 10 TO THE 50 ATOMS OF HYDROGEN TO THE STAR SYSTEM AT THE TOP OF THE LIST, CROSS OFF THAT STAR SYSTEM, THEN PUT YOUR STAR SYSTEM AT THE BOTTOM OF THE LIST AND SEND IT TO 100 OTHER STAR SYSTEMS. WITHIN ONE TENTH GALACTIC ROTATION YOU WILL RECEIVE ENOUGH HYDROGREN TO POWER YOUR CIVILIZATION UNTIL ENTROPY REACHES ITS MAXIMUM! IT REALLY WORKS! /// 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.1588
Patch 8.0.1588 Problem:Popup menu hangs after typing CTRL-C. Solution: Make CTRL-C exit the loop. (Ozaki Kiichi, closes #2697) Files: src/popupmnu.c *** ../vim-8.0.1587/src/popupmnu.c 2018-03-06 11:43:00.327652783 +0100 --- src/popupmnu.c 2018-03-07 22:06:57.377123226 +0100 *** *** 1175,1181 out_flush(); c = vgetc(); ! if (c == ESC) break; else if (c == CAR || c == NL) { --- 1175,1181 out_flush(); c = vgetc(); ! if (c == ESC || c == Ctrl_C) break; else if (c == CAR || c == NL) { *** *** 1211,1217 } else if (c == K_LEFTDRAG || c == K_RIGHTDRAG || c == K_MOUSEMOVE) { ! /* mouse moved: selec item in the mouse row */ pum_select_mouse_pos(); } else if (c == K_LEFTMOUSE || c == K_LEFTMOUSE_NM || c == K_RIGHTRELEASE) --- 1211,1217 } else if (c == K_LEFTDRAG || c == K_RIGHTDRAG || c == K_MOUSEMOVE) { ! /* mouse moved: select item in the mouse row */ pum_select_mouse_pos(); } else if (c == K_LEFTMOUSE || c == K_LEFTMOUSE_NM || c == K_RIGHTRELEASE) *** ../vim-8.0.1587/src/version.c 2018-03-06 19:51:09.142529920 +0100 --- src/version.c 2018-03-07 22:08:15.712598710 +0100 *** *** 768,769 --- 768,771 { /* Add new patch number below this line */ + /**/ + 1588, /**/ -- The word "leader" is derived from the word "lead", as in the material that bullets are made out of. The term "leader" was popularized at about the same time as the invention of firearms. It grew out of the observation that the person in charge of every organization was the person whom everyone wanted to fill with hot lead. I don't recomment this; it's just a point of historical interest. (Scott Adams - The Dilbert principle) /// 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: [vim/vim] a symbol disappears and reappears when the cursor passes over it (#2696)
On Wednesday, March 7, 2018 at 11:39:36 AM UTC+13, lkintact wrote: > Copy this text into the buffer: Тٌам (these are Cyrillic letters with an Arab > symbol above the "а", probably a result of a poor OCR) > Move the cursor from "м" to "Т" and back several times. The Arab symbol > appears and disappears. In my experience these behaviours are because the font doesn't work with vim for those characters. I normally use Liberation Mono, and if I make the font large enough to see the symbol clearly it's fine. But if I change to Latin Modern Mono (a random choice) I get the behaviour you describe; also the "м" loses the right stem sometimes. Your :set all shows guifont= so you haven't chosen a font; if I run gvim -u NONE I get guifont= similarly, but if I run :set guifont=* I see that the font is called "Monospace". That's some generic alias from KDE, Ubuntu, debian or Linux, I don't know, but it also displays "Тٌам" correctly. Vim is picky about the font, and fonts that have characters that extend outside the cell have problems, like the results depending on the direction the cursor moves past the letter. Leftover artifacts is another problem. There's a world of issues, all I know is that I don't know much about that world. So, I suggest finding a better font to use with vim. If you tell us your OS (and GUI if that OS has several) I sure you'll get recommendations. Fonts vary a lot in how much of Unicode they support, you might mention which scripts you need. You can set the guifont in your .gvimrc. -- -- 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.