Re: In vim getting the message: Error: global command failed

Lior Margalit <[email protected]> Fri, 7 Dec 2012 08:49:33 +0200
Newsgroups gmane.comp.gnu.global.general
Message-ID <CAOamSPxxqhmnPKqLrjqT9w9N_FtkGQXzMh=qV75=yywpLSbz5A@mail.gmail.com>
Thank you for the prompt reply.
The result of !global --result=ctags-mod -qe 'XXX' was:
global: Command not found.

shell returned 1

The above gave me a hint: I went to the gtags.vim and found that it uses
GTAGSGLOBAL.
After setting it, the :Gtags XXX works in vim, but returns bad result:
When running global XXX in the command line, it reported 2 places.
When running Gtags XXX in vim, it reported the same place (the first one)
twice.

By the way, now when running !global --result=ctags-mod -qe 'XXX' it still
returns the same result.

2012/12/7 Shigio YAMAGUCHI <[email protected]>
>
> !global --result=ctags-mod -qe 'XXX'

_______________________________________________
Help-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-global