arnested / drupal-mode

Advanced Emacs minor mode for Drupal development
https://melpa.org/#/drupal-mode
GNU General Public License v3.0
32 stars 14 forks source link

Add interface with gtags via `ggtags.el' #44

Closed joddie closed 10 years ago

joddie commented 10 years ago

I recently discovered the Emacs ggtags plugin after getting increasingly frustrated with regular ctags/gtags. It's great, and better, it's maintained in GNU ELPA (whereas the gtagsplugin seems older, and is only in Marmalade).

This is a very simple patch to integrate drupal-mode with ggtags.el for its symbol completion. However, this may not be the best way to do it. It would probably be better to merge drupal/gtags.el and drupal/ggtags.el together, since the new file is almost an exact copy of the old one with minor changes, and the dependencies are not complex. Let me know if you'd prefer that and I can make a different patch.

arnested commented 10 years ago

I been curious about ggtags myself but never found the time to look into it.

I'll merge the pull request. I haven't tried it but since it looks very much like drupal/gtags.el I'll just trust you :smile:

It would probably make sense to integrate it with drupal/gtags.el at some point but right now I think it's better to just include it and integrate the two later. Also I have some ideas for rewriting parts of drupal/gtags.el so maybe that will be a good time to integrate them.

arnested commented 10 years ago

Oh.. And thanks again!