tag:blogger.com,1999:blog-3992530807750384868.post981161207843022830..comments2022-03-28T08:42:20.497+03:00Comments on emacs-fu: navigating through source code using tagsUnknownnoreply@blogger.comBlogger10125tag:blogger.com,1999:blog-3992530807750384868.post-71555801506018874572013-07-07T10:10:25.348+03:002013-07-07T10:10:25.348+03:00Also consider ggtags package available in ELPAAlso consider ggtags package available in ELPARichardhttps://www.blogger.com/profile/04002001799007552493noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-9515732737896198422011-09-15T08:16:11.152+03:002011-09-15T08:16:11.152+03:00@RC: it sounds like gtags is not available in your...@RC: it sounds like gtags is not available in your load-path. See: http://www.gnu.org/s/global/globaldoc.html#SEC32<br /><br />Hope this helps.djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-86560113000221030152011-09-15T00:20:49.624+03:002011-09-15T00:20:49.624+03:00Hi,
I started emacs with 'emacs -q' to exc...Hi,<br />I started emacs with 'emacs -q' to exclude any problems with my emacs init file. Then I evaluate:<br />(autoload 'gtags-mode "gtags" "" t)<br /><br />and I get the response in the mini-buffer:<br />(autoload "gtags" "" t nil)<br /><br />I next open a C++ file and run:<br />M-x gtags-mode<br />but I get the error in the mini-buffer:<br />Cannot open load file: gtags<br /><br />I had previously run gtags in the parent directory of where the C++ file is located, and I confirmed that the GRTAGS, GPATH and GTAGS files were created and that running 'global func' is able to find func.<br /><br />Could you tell me what the problem could be? Thanks.<br />RCRChttps://www.blogger.com/profile/08826260302882715534noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-29777799187381081022009-09-05T19:48:24.373+03:002009-09-05T19:48:24.373+03:00@Matthew: they are subtly different, but both work...@Matthew: they are subtly different, but both work for me it seems (using e23)djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-37428485467182197372009-09-02T22:23:26.242+03:002009-09-02T22:23:26.242+03:00Shouldn't
(add-hook 'gtags-mode-hook
(...Shouldn't <br />(add-hook 'gtags-mode-hook <br /> (lambda()<br /><br />be:<br /><br />(add-hook 'gtags-mode-hook <br /> '(lambda()<br /><br />notice the additional apostrophe. Without this, I get a "function is nil" error.Matthewhttps://www.blogger.com/profile/10716865227803456041noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-30470208525020071832009-03-25T07:08:00.000+02:002009-03-25T07:08:00.000+02:00@Jengu: usually, you'd like to jump to source code...@Jengu: usually, you'd like to jump to source code locations, which not usually what you want for standard libraries, or?<BR/><BR/>if you're looking for information, you can of course just move the cursor to the function (say, 'printf'), and then press M-x man RETdjcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-79778635818589183822009-03-24T20:14:00.000+02:002009-03-24T20:14:00.000+02:00Does global automatically add stuff like tags for ...Does global automatically add stuff like tags for the standard libs? If so how do you add that?Jenguhttps://www.blogger.com/profile/13531274816722633428noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-29404910253649056592009-01-10T23:33:00.000+02:002009-01-10T23:33:00.000+02:00@Anatoly: thanks, that was a silly mistake (copied...@Anatoly: thanks, that was a silly mistake (copied out-of-context, and modified without testing...)<BR/><BR/>I updated the blog entry.djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-4458841300942622452009-01-10T22:05:00.000+02:002009-01-10T22:05:00.000+02:00Minor correction:there should be(require 'gtags) i...Minor correction:<BR/>there should be<BR/>(require 'gtags) instead of (require 'gtags-mode) in c-mode hooks' code.Anatoly Kamchatnovhttps://www.blogger.com/profile/08688651518562986780noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-91960313686738306842009-01-06T08:38:00.000+02:002009-01-06T08:38:00.000+02:00Latest CEDET version could also take advantage of ...Latest CEDET version could also take advantage of the gnu global. See http://alexott.blogspot.com/2008/12/one-more-time-about-cedet.htmlAlex Otthttps://www.blogger.com/profile/13001951608173211050noreply@blogger.com