Bug 62654

Summary: ^T returns to beginning of tag stack, should return to previous location in tag stack
Product: [Retired] Red Hat Linux Reporter: John Kacur <jekacur>
Component: vimAssignee: wdovlrrw <brosenkr>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-04-03 20:22:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Kacur 2002-04-03 20:22:33 UTC
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):


How reproducible:
Always

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.

Additional info:

Comment 1 Karsten Hopp 2002-07-09 10:16:29 UTC
fixed in the latest rawhide version