Roland Eggner wrote: > How to reproduce > ---------------- > > printf '%s\n' 'line 2' 'line 3' > example.txt > LC_ALL=C vim -u NONE + -c 'norm mam"ggOline 1' example.txt > > > > Observed result > --------------- > > :marks > mark line col file/text > ' 3 0 line 3 > a 3 0 line 3 > " 2 0 line 2 > > > Expected result > --------------- > > Mark " should refer to line 3, similarily as mark a . This would be > useful when file enter position has been set by a last-position-jump > BufRead-autocommand, and after some editing work I want to jump back > to this “last-position”.
So: when inserting lines most marks get adjusted, but the " mark isn't. Looks like a bug. -- A hamburger walks into a bar, and the bartender says: "I'm sorry, but we don't serve food here." /// Bram Moolenaar -- [email protected] -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
