Sung Pae wrote:
> In the documentation for :jumplist, it is mentioned that
>
> You can explicitly add a jump by setting the ' mark.
>
> This is true by pressing m' and m` in normal mode, but it does not work
> by calling the equivalent :call setpos("''", getpos('.')).
>
> I am unsure if this is intentional, but if not, this patch addresses
> this issue (*pos and curwin->w_cursor were compared by identity, not
> value).
>
> I could not find an appropriate test script to append, so I took the
> liberty of adding test99.in and test99.ok.
That setpos() does not change the jumplist is intentional. It's a lower
level function than using the "m" command. We can't change this without
breaking scripts.
--
I used to wonder about the meaning of life. But I looked it
up in the dictionary under "L" and there it was - the meaning
of life. It was less than I expected. - Dogbert
/// 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.