I just started using Hari Krishna Dara's tagselect.vim plugin. It
captures the output of the :tjump and :tselect commands and displays
them in a buffer so that you can more easily search and navigate the
I noticed that every now and then, instead of jumping directly to a
single tag, the Tjump command would open a window containing just
the name of the command and the name of the file being jumped to.
I tracked the problem down to the test at line 14 of
" This means, there was only one hit, and Vim must have already jumped to
" the jump. Don't do anything else.
if a:cmd =~ 'jump' && results =~ '^\_s*$'
As the comment says, this test should succeed if Vim has already
jumped to the jump. However, in Vim 7.4 (and Vim 7.2), if the jump
is to a file not already opened, Vim prints the name of the opened
file after it is opened and this name goes into the 'results'
variable, causing the test to fail.
I noticed that this file name is always enclosed in double-quotes,
so I fixed the problem by changing the test to this:
if a:cmd =~ 'jump' && results =~ '^\_s*$\|^\_s*"'
A patch is attached.
I sent the above problem description to the author a week ago and
have not received a reply.
The latest version of the plugin, 1.2.0, was last changed in June of
2005 and still contains a TODO list, which suggests that the author
has stopped working on it and has probably stopped supporting it.
In fact, I haven't seen anything from Hari Krisha Dara on the
vim_use or vim_dev lists in years. He used to be a regular, active
So it seems we are back to discussing what to do with abandoned
plugins. Does anyone know what happened to Hari Krishna Dara? Any
suggestions for what should be done with tagselect.vim? Is there a
better plugin for this purpose that I've missed?
You received this message from the "vim_use" 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