GithubHelp home page GithubHelp logo

Comments (4)

dkogan avatar dkogan commented on July 23, 2024

Stephen Crane [email protected] 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?

from xcscope.el.

rinon avatar rinon commented on July 23, 2024

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.

from xcscope.el.

rinon avatar rinon commented on July 23, 2024

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).

from xcscope.el.

dkogan avatar dkogan commented on July 23, 2024

Stephen Crane [email protected] 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

from xcscope.el.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.