Closed jlowenz closed 5 years ago
Do you have GTAGSDBPATH
set in emacs? To check M-: (getenv "GTAGSDBPATH")
. I just checked ggtags and it doesn't set GTAGSDBPATH
.
Oy! You are correct. I had some old setting buried deep in my Emacs configuration files. Removed it and things behave as expected. Sorry about that.
After creating a GTAGS file in my project root and installing ggtags, any find operation (e.g.
ggtags-find-tag-dwim
) fails with the following error:I do not have
GTAGSDBPATH
set, but I do haveGTAGSLABEL=new-ctags
set. Running the same command in the shell does not produce the error.Debugging seemed to indicate that the
gtags-project-root
was correctly set to an absolute path, but it's interesting the modeline shows thatdefault-directory
is set to a shortened / relative path.Any ideas on how to get this working?
global
version: 6.6.3ggtags
version: 20190320.2208