Commit graph

10 commits

Author SHA1 Message Date
Tu Do 3e798cfdb8 Enable Helm Gtags on compilation-mode and shell-mode
Since we can use helm-gtags to jump to any valid symbol on
shell/compilation buffer. For example, if a test case fails and it
outputs a function where the failure occurs, we can move point on that
failed function and jump directly to it.
2015-06-22 23:29:55 -04:00
Tu Do 38ce1ea4bd Fix ggtags eldoc integration
- ggtags eldoc works only if we enable ggtags-mode.
- For that reason, move the code that enable eldoc into its own
function.
- Also enable gtags for some other modes that have no layer.
2015-04-26 00:45:58 -04:00
syl20bnr ad06363b39 Modularize ggtags with eldoc configuration
See PHP layer packages.el for an example
2015-04-22 00:53:57 -04:00
Tu Do 9aef93cb15 Don't globally enable ggtags in prog-mode
Instead enable it along with helm-gtags, except for a few modes.
2015-04-22 00:24:55 -04:00
Tu Do baeb4b1d2d M-* should use helm-gtags-pop-stack 2015-04-22 00:24:53 -04:00
Tu Do f869d650e9 Add missing modes that should have gtags enabled 2015-04-22 00:24:50 -04:00
syl20bnr fdd4e944ef Reload dotfile and layer anywhere with SPC f e R
Replace `SPC m c c` and `C-c C-c` in the dotfile

Resolve #1210
2015-04-18 23:40:24 -04:00
syl20bnr afddfec611 gtags layer: remove helm-gtags global hook 2015-04-16 00:13:14 -04:00
syl20bnr 145bf065f4 helm-gtags: more conventional way to add helm-gtags support to a mode 2015-04-16 00:01:42 -04:00
Tu Do 53f84f9013 feature: add gtags layer and remove helm-gtags layer
helm-gtags and ggtags are clients for GNU Global. GNU Global is a source
code tagging system that allows querying symbol locations in source
code, such as definitions or references. Currently, helm-gtags with GNU
Global is faster than anything else in Emacs for retrieving a large
amount of candidates (even more than 10000 candidates, the list appears
in an instant) and offers more features for language that GNU Global
directly: C, C++, Yacc, Java, PHP4 and assembly.

ggtags is nice for its eldoc support such as display variable/function
definition retrieved from the tag database. However, we disable ggtags
in some modes because those modes have better eldoc integration
already. We add ggtags for this feature alone.
2015-04-15 22:38:47 -04:00