On Thu, Jun 30, 2016 at 6:07 PM, Ingo Karkat <[email protected]> wrote: > My automated tests caught a regression caused by > > Date: 2016-06-04 20:14:07 +0200 > patch 7.4.1896 > Problem: Invoking mark_adjust() when adding a new line below the last line > is pointless. > Solution: Skip calling mark_adjust() when appending below the last line. > > Beforehand, :insert on an empty buffer positioned the jump mark from line 1 > to (invalid) line 5, now it's positioned on line 2 (i.e. right in the middle > of the edit, which doesn't make sense!) > > Reproduce > > Create a file record: > > :insert > foo > bar > baz > quux
When reporting a problem, please check beforehand if it still exists in the latest version. See http://ftp.vim.org/pub/vim/patches/7.4/README (or the same over ftp://...) for a one-line summary of every patch published so far for Vim 7.4. I cannot reproduce this in gvim 7.4.1967 (Huge, with GTK2/Gnome GUI) i.e. 71 patchlevels later. When I terminate the :insert command by entering a line consisting only of a period, the cursor is now positioned on the last line i.e. on the q of quux. 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
