Erik Falor wrote:

> Given the source code listed at the end of this message, and a tags file
> generated from that source, I will demonstrate that a bug in the operation
> of the :tag command has been introduced after Vim 6.3, and persists today.
> 
> When navigating the tag stack with the :tag and :pop commands, Vim is
> supposed to remember which one of many matching tags I previously
> selected, so that as I climb and descend the tag stack, I return to the
> same location I originally jumped to.
> 
> The helpfile states that the tag match number won't change when using :pop
> or :tag. (tagsrch.txt for Vim version 7.1, line 130)
> 
> However, I find that when I use the :tag command without arguments to
> climb the tag stack, the cursor jumps to the first tag entry in the match
> list instead of the one I selected.  The tag stack is updated so that the
> current entry points to the first matching tag instead of the one I chose.
> 
> The relevant documentation is located at
> :help :pop
> :help :tag
> :help :tags
> 
> I have reproduced this bug in several Vim versions ranging from 7.0 to a
> fully-patched 7.2, on both Windows XP and Linux.
> 
> Steps to reproduce:
[...]

I'll add this to the todo list.

-- 
hundred-and-one symptoms of being an internet addict:
180. You maintain more than six e-mail addresses.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui