Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GNU Global support requires version 5.9 #7

Closed
rinon opened this issue Sep 16, 2014 · 4 comments
Closed

GNU Global support requires version 5.9 #7

rinon opened this issue Sep 16, 2014 · 4 comments

Comments

@rinon
Copy link

rinon commented Sep 16, 2014

It seems that GNU Global support doesn't work over TRAMP... gtags-cscope works fine locally, but when I set the active directory to the same project (with a GTAGS file) remotely no results are returned.

I'll try to dig down into this later when I have some time, but I wanted to at least make a note here in the mean time.

@dkogan
Copy link
Owner

dkogan commented Sep 16, 2014

Stephen Crane notifications@github.com writes:

It seems that GNU Global support doesn't work over TRAMP...
gtags-cscope works fine locally, but when I set the active directory
to the same project (with a GTAGS file) remotely no results are
returned.

I'll try to dig down into this later when I have some time, but I
wanted to at least make a note here in the mean time.

Hi. I just tested this and it works fine, so there's something odd about
your particular situation. I'm happy to help you debug.

  • Does plain cscope work over TRAMP (i.e. does your issue apply only to
    GNU Global)?
  • What does "doesn't work" mean?

@rinon
Copy link
Author

rinon commented Sep 16, 2014

Thanks so much for the quick response, guess it's on my end. Yes, cscope works fine. I don't see any results for any searches when using global instead of cscope.

It looks like this is a version problem. Remote Ubuntu has global version 5.7.1, while locally I have 6.3.1. I'm assuming 5.7.1 is too archaic to be compatible? After playing with this some more, I noticed that emacs shows an error that gtags-cscope can't take both -s and -r options.

Sorry to bother you, I'll update the remote global and I'm guessing that will resolve this.

@rinon rinon changed the title Global support over tramp GNU Global support requires version 5.9 Sep 16, 2014
@rinon
Copy link
Author

rinon commented Sep 16, 2014

Yep, that was it. Since xcscope uses both -s and -r at the same time, it requires at least Global version 5.9 (https://lists.gnu.org/archive/html/info-global/2010-06/msg00000.html).

@rinon rinon closed this as completed Sep 16, 2014
@dkogan
Copy link
Owner

dkogan commented Sep 16, 2014

Stephen Crane notifications@github.com writes:

Yep, that was it. Since xcscope uses both -s and -r at the same time,
it requires at least Global version 5.9
(https://lists.gnu.org/archive/html/info-global/2010-06/msg00000.html).

OK, good to know. GNU Global 5.9 is ancient, so I think this is fine. I
do know that Debian ships an ancient version of GNU Global, and this is
the issue you hit. The Global maintainer really needs to come to some
sort of an agreement with the Debian maintainer, however for this to be
fixed.

dima

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants