Comments (4)
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.
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.
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.
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)
- xcscope.el and user-reserved keybindings collision HOT 3
- "display-buffer" fallbacks to "display-buffer-fallback-action" HOT 1
- cscope-index-files doesn't work with paths using whitespaces HOT 5
- MacOS: xcscope.el can't be run within emacs 22.1.1 HOT 2
- "Cscope" does not show in the menu bar of Emacs 26.1 or Emacs 25.3.1 HOT 3
- How to change the default bindings of xcscope HOT 2
- multiple "cscope: cannot find file ..." in *cscope* buffer HOT 1
- "<file> is not readable or exists" when using xcscope over TRAMP HOT 6
- Completion for input tag HOT 3
- Tramp support HOT 2
- Support for inline functions HOT 1
- How to change the behavior of quitting cscope display buffer HOT 5
- failed to parse filename HOT 14
- xcscope don't work with sub-directories HOT 7
- Add multiple databases to search list. HOT 2
- xcscope have problem on emacs-w32, on windows, compiled by MinGW. HOT 6
- Getting nonsense results HOT 11
- does xcscope support symbolic link file ? HOT 1
- search bug in *cscope* buffer with multiple cscope databases HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcscope.el.