[Patch] Named marks can be lost after delete-undo-redo

2015-02-14 Thread Olaf Dabrunz
Hello, to reproduce this: Edit a text with a few lines. (This does not work on only one line, as a buffer must contain at least one line, and the mark won't be deleted.) textline A textline B textline C Navigate to the second line and set a named mark, for ex

Re: [Patch] Named marks can be lost after delete-undo-redo

2015-02-15 Thread Bram Moolenaar
Olaf Dabrunz wrote: > to reproduce this: > > Edit a text with a few lines. (This does not work on only one line, as a > buffer must contain at least one line, and the mark won't be deleted.) > > textline A > textline B > textline C > > Navigate to the second

Re: [Patch] Named marks can be lost after delete-undo-redo

2015-02-16 Thread Olaf Dabrunz
On 15-Feb-15, Bram Moolenaar wrote: > If you have some time, it's always good to have a test that checks the > problem is fixed. This did not seem to fit well into any existing test. So I wrote a test_marks.in, which can also be a place to add more tests for marks. diff -r eaf81729ef02 src/Makef

Re: [Patch] Named marks can be lost after delete-undo-redo

2015-02-16 Thread Olaf Dabrunz
On 17-Feb-15, Olaf Dabrunz wrote: > +maddu u The CTRL-R did not survive in the inline patch. Resending the patch in an attachment. -- Olaf Dabrunz (oda fctrace.org) -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying t

Re: [Patch] Named marks can be lost after delete-undo-redo

2015-02-17 Thread Bram Moolenaar
Olaf Dabrunz wrote: > On 15-Feb-15, Bram Moolenaar wrote: > > If you have some time, it's always good to have a test that checks the > > problem is fixed. > > This did not seem to fit well into any existing test. So I wrote a > test_marks.in, which can also be a place to add more tests for marks