Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231410 - app-vim/taglist-4.5 does not display anything though ctags is installed
Summary: app-vim/taglist-4.5 does not display anything though ctags is installed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-10 13:34 UTC by Jürgen Geuter
Modified: 2008-07-23 21:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jürgen Geuter 2008-07-10 13:34:36 UTC
app-vim/taglist is a plugin for vim that displays the structure of source code in vim (as in classes, functions and the likes).

I have app-editors/vim-7.1.319  (acl bash-completion cscope gpm nls perl python -minimal -ruby -vim-pager -vim-with-x) and app-editors/vim-core-7.1.319 (acl bash-completion nls -livecd) installed and while the plugin itself does work (":TlistToggle" triggers the taglist for example) but they never display anything. The taglist homepage and the docs say that 

"The taglist plugin uses the Vim system() function to invoke the exuberant
ctags utility. If Vim is compiled without the system() function then you
cannot use the taglist plugin. Some of the Linux distributions (Suse) compile
Vim without the system() function for security reasons."
(http://vim-taglist.sourceforge.net/manual.html)

If Gentoo disables the system() call of vim, the taglist ebuild should be removed or at least masked, the preferred way might be to add a USEflag to vim that allows people to activate the system() call though it being probably insecure.



Reproducible: Always

Steps to Reproduce:
1. Edit some source code
2. enter :TlistToggle
3. TagList is displayed but without the proper listing of structures.

Actual Results:  
No structures

Expected Results:  
Structures being properly displayed.

With the same vim profile on a ubuntu box it works so it's not a configuration within my ~/.vim*
Comment 1 Jürgen Geuter 2008-07-23 21:15:20 UTC
It's not actually a bug in the taglist plugin, it is the ctags utility that has the bug, I filed it under http://bugs.gentoo.org/show_bug.cgi?id=232787.