Red Hat Bugzilla – Bug 62654
^T returns to beginning of tag stack, should return to previous location in tag stack
Last modified: 2007-04-18 12:41:39 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.9-13 i686)
Description of problem:
When using ctags with vim, ^T should cause you to jump to the previous location
in the tag stack, and this worked correctly with earlier versions of vim.
However, with vim-6.0-7.13, it cause you to jump to the beginning of the tag
stack and skip everything in between. I have tested this on ia64, it is
potentially a problem on other platforms such as ia32 but I haven't tested the
newer vim there.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Generate a tags file for c source code, ie "ctags -R *"
2.Start vim or gvim and do :set tags
3. Pick a symbol, eg. tag my_funcName (choose one that is declared in more than
one place, say with a function prototype and in the actual location for example)
4. Do ":tn" to go to the next location of the tag name and thus generate at
least two slots in your tag stack
5. Do " ^T". You should jump to the previous location in the tag stack, but will
instead jump to the beginning of the tag stack.
Actual Results: You will jump to the start of the tag stack.
Expected Results: You should jump to the previous location in the tag stack.
fixed in the latest rawhide version