Re: Help! Need to display shorter paths in emacs using gtags-mode...
Marco Gidde <[email protected]>
| Newsgroups | gmane.comp.gnu.global.general |
|---|---|
| Organization | Linux Private Site |
| Message-ID | <[email protected]> |
Hi, thank you for your interest in this package and special thanks for maintaining GLOBAL. Shigio Yamaguchi <[email protected]> writes: >> my opinion superior to gtags.el I took gtags.el and rewrote it almost >> completely. If you are (or anybody else here is) interested in testing >> it, I might send the resulting xgtags.el either as a private email or >> maybe directly to this list. > > It's great. > If you send it to this list, it will become great help for GLOBAL users. > If you upload the file to somewhere like http://savannah.gnu.org/, > I want to link the site from GLOBAL's home page. since I still have to decide where to make the package available on the net, as a first step I send it to this list, so that emacs/global users can play with it and maybe give me some responses whether it's useful or what should be changed. Some short advice: - add the package to some place where emacs can find it, if necessary add your path to the load-path variable - add (require 'xgtags) to .emacs - toggle the minor mode with the interactive command xgtags-mode - to turn it on for all c-sources add something like (add-hook 'c-mode-common-hook (lambda () (xgtags-mode 1))) to .emacs; other (programming) modes provide similar hooks - per default the bindings for M-. and M-* are overwritten by xgtags; some more bindings are provided with the prefix C-c w and can be viewed with describe-mode when xgtags-mode is on, or with describe-function xgtags-mode - part of xgtags behavior can be customized; especially several things that I disliked with gtags.el can be turned of ;-) - have fun :-) I hope the default configuration will work, since I do not use xgtags that way. I'm especially uncertain about the rootdir stuff. So if there are any questions and/or problems, just contact me I will try to give the necessary information or fix the bugs. Regards, Marco _______________________________________________ Help-global mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-global
xgtags.el
(application/emacs-lisp, 31.8 KB) - not displayed