Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The tag has no usage guidance.

0
votes
0answers
18 views

Too much time spent for emacs to open cpp in the project

I use ggtags in order to improve my efficiency. I follow the manual to setup emacs environment. https://tuhdo.github.io/c-ide.html However, during editing the cpp files in the projects. Chance are ...
0
votes
0answers
16 views

How to make gtags load /usr/src

I have libpam sources in /usr/src/ at /usr/src/debug/sys-libs/pam-1.3.0-r2/Linux-PAM-1.3.0/. I've installed gtags, ggtags, rtags, cmake-ide. I've set rtags to fallback to gtags. tags-find-symbol-at-...
0
votes
1answer
49 views

How to find where a given function is called from in gtags

I am using gtags and can jump to where a function is defined. Howeve I am not able to find inside a function where it is begin called from. Is there anyway to find where a function is called from?
0
votes
0answers
42 views

ivy-mode conflicts with gtags-find-tag command

when I have ivy mode on, gtags-find-tag hangs, takes a long time to finish and give irrelevant results. Any ideas why? If I turn off ivy-mode, gtags-find-tag works fine.
0
votes
1answer
28 views

M-* interpreted as M-8

I use gtags. I do M-. to go to the function definition, but then when doing M-* to go back to where I was nothing happen and the minibuffer shows as if I did M-8 . My configuration is here
1
vote
0answers
31 views

Parsing non-standard C with gtags

I'm working with a codebase that's meant to be built with a proprietary C compiler using tons of esoteric language extensions. Ideally, I'd like to stick to my chosen environment as much as possible, ...
2
votes
1answer
50 views

Using ggtags tag lookup along with centered-cursor-mode

I am using centered-cursor-mode to center the cursor at 10 lines above center at all times. I am trying to have ggtags respects this setup after each tag lookup. When I have the cursor at any point ...
8
votes
1answer
856 views

what is the difference between gtags-mode and ggtags-mode

In my emacs (24.5.1) I have both and I'm not sure which is what. ggtags was installed through list-packages from melpa.
2
votes
1answer
650 views

Jump to definition of function or class in one of the include files?

Take the following sample code: #include <cmath> int main() { double a = -10; double b = std::abs(a); return 0; } When I place the cursor over abs, for example between b and s, I ...
1
vote
0answers
143 views

Company duplicates

I use gtags, jedi and dabbrev for python. Sometimes the duplicates get a bit annoying. I read that using :with should sort out the duplicates problem. However, it does not... Is there a better ...
3
votes
1answer
293 views

Smarter company/auto-complete

I have moved to Emacs due to its diversity and yes...it simply Rocks! I have one final thing to resolve. I mostly program in python and it is a great feature to auto complete a function with its ...
3
votes
1answer
3k views

GNU Global + ggtags and helm + helm+gtags

In http://tuhdo.github.io/c-ide.html#orgheadline2 which is about "Prerequisite" Or, helm + helm-gtags. What does "Or" imply as the alternative to the combination "helm + helm+gtags"? Is the ...
1
vote
1answer
651 views

Completion for variables in C using company-gtags, or not Semantic

I have a working C IDE without Semantic (too slow for me), from instructions here, with completion provided by company-gtags (I think. Maybe clang does something too?). Completion at point works for ...
3
votes
0answers
516 views

How can I use ggtags as a company-mode backend?

I'm working on a project that doesn't play nice with clang. It also doesn't play nice with ctags because the TAGS file is ~180 MB and it chokes up whenever I do anything moderately intensive with it. ...
1
vote
0answers
24 views

How can I have C functions coloured based on whether they are defined?

Colleague of mine showed me a cool feature of gnome-builder which does colour symbols based on whether they are defined or not and I was wondering whether it is possible in Emacs as well. And by that ...
3
votes
1answer
296 views

Include vendor's tags for ruby-mode and ggtags

I'm trying to install and configure the ggtags package. Primarily, I use it for a ruby on rails projects (enh-ruby-mode). I can generate ctags including all vendor's files for my project with the ...
1
vote
2answers
861 views

evil mode with ggtags

I want to use evil mode with ggtags but evil mode keeps taking some of the bindings such as M-.. I'm new to emacs and I'm interested in learning what's going on. At first I tried explicitly setting ...
6
votes
2answers
2k views

Find external definition with gtags or ggtags

Using gtags.el or ggtags.el. I have a project A depending on project B. While in a buffer belonging to A, I want to jump to a definition in B. How do I do this with ggtags-mode ? M-. simply lists ...