{"action":"created","issue":{"url":"https://api.github.com/repos/leoliu/ggtags/issues/108","labels_url":"https://api.github.com/repos/leoliu/ggtags/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/leoliu/ggtags/issues/108/comments","events_url":"https://api.github.com/repos/leoliu/ggtags/issues/108/events","html_url":"https://github.com/leoliu/ggtags/issues/108","id":94042139,"number":108,"title":"Ggtags cannot find tag, Global can","user":{"login":"egarrulo","id":110664,"avatar_url":"https://avatars.githubusercontent.com/u/110664?v=3","gravatar_id":"","url":"https://api.github.com/users/egarrulo","html_url":"https://github.com/egarrulo","followers_url":"https://api.github.com/users/egarrulo/followers","following_url":"https://api.github.com/users/egarrulo/following{/other_user}","gists_url":"https://api.github.com/users/egarrulo/gists{/gist_id}","starred_url":"https://api.github.com/users/egarrulo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egarrulo/subscriptions","organizations_url":"https://api.github.com/users/egarrulo/orgs","repos_url":"https://api.github.com/users/egarrulo/repos","events_url":"https://api.github.com/users/egarrulo/events{/privacy}","received_events_url":"https://api.github.com/users/egarrulo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-09T13:00:51Z","updated_at":"2015-07-11T12:22:53Z","closed_at":null,"body":"As an exercise to learn how to use Ggtags, I copied the standard C header files into a directory and then I run `gtags -c`. To check that everything worked, I run `global -xs strcmp` and Global answered:\r\n\r\n    strcmp            144 string.h         extern int strcmp (const char *__s1, const char *__s2)\r\n\r\nThen I created (with Emacs) a `test.c` file in the same directory.  When I typed the symbol `strcmp` and clicked on *Main Menu -> Ggtags -> Find Tag*, Ggtags said \"Global found 0 definitions\".  So, I opened a shell from Emacs into the same directory, and run `global -xs strcmp` again.  Again, Global answered:\r\n    \r\n    strcmp            144 string.h         extern int strcmp (const char *__s1, const char *__s2)\r\n\r\nWhy can't Ggtags find a tag, when Global can?  Thanks for your assistance."},"comment":{"url":"https://api.github.com/repos/leoliu/ggtags/issues/comments/120613057","html_url":"https://github.com/leoliu/ggtags/issues/108#issuecomment-120613057","issue_url":"https://api.github.com/repos/leoliu/ggtags/issues/108","id":120613057,"user":{"login":"egarrulo","id":110664,"avatar_url":"https://avatars.githubusercontent.com/u/110664?v=3","gravatar_id":"","url":"https://api.github.com/users/egarrulo","html_url":"https://github.com/egarrulo","followers_url":"https://api.github.com/users/egarrulo/followers","following_url":"https://api.github.com/users/egarrulo/following{/other_user}","gists_url":"https://api.github.com/users/egarrulo/gists{/gist_id}","starred_url":"https://api.github.com/users/egarrulo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egarrulo/subscriptions","organizations_url":"https://api.github.com/users/egarrulo/orgs","repos_url":"https://api.github.com/users/egarrulo/repos","events_url":"https://api.github.com/users/egarrulo/events{/privacy}","received_events_url":"https://api.github.com/users/egarrulo/received_events","type":"User","site_admin":false},"created_at":"2015-07-11T12:22:53Z","updated_at":"2015-07-11T12:22:53Z","body":"Never mind.  Using Global with Exuberant Ctags does not solve the issue. By the way, Global feels difficult to use correctly.  Even with the `--verbose` option, `gtags` does not show much useful information in regard to what it is doing.  Anyway, thanks for your help."}}