Patch 7.4.1982 Problem: Viminfo file contains duplicate change marks. Solution: Drop duplicate marks. Files: src/mark.c
*** ../vim-7.4.1981/src/mark.c 2016-06-17 22:38:41.404177210 +0200 --- src/mark.c 2016-07-02 19:11:10.040689968 +0200 *************** *** 1859,1865 **** #ifdef FEAT_JUMPLIST /* changelist positions are stored oldest first */ for (i = 0; i < buf->b_changelistlen; ++i) ! write_one_mark(fp_out, '+', &buf->b_changelist[i]); #endif for (i = 0; i < NMARKS; i++) write_one_mark(fp_out, 'a' + i, &buf->b_namedm[i]); --- 1859,1870 ---- #ifdef FEAT_JUMPLIST /* changelist positions are stored oldest first */ for (i = 0; i < buf->b_changelistlen; ++i) ! { ! /* skip duplicates */ ! if (i == 0 || !equalpos(buf->b_changelist[i - 1], ! buf->b_changelist[i])) ! write_one_mark(fp_out, '+', &buf->b_changelist[i]); ! } #endif for (i = 0; i < NMARKS; i++) write_one_mark(fp_out, 'a' + i, &buf->b_namedm[i]); *** ../vim-7.4.1981/src/version.c 2016-07-02 18:25:15.724879148 +0200 --- src/version.c 2016-07-02 19:19:21.273451072 +0200 *************** *** 760,761 **** --- 760,763 ---- { /* Add new patch number below this line */ + /**/ + 1982, /**/ -- hundred-and-one symptoms of being an internet addict: 182. You may not know what is happening in the world, but you know every bit of net-gossip there is. /// 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.