Hello. In emacs 23.1 gtags.el don't work with links. I have my source code in '/data/dev/parabola'. cd /data/dev ln -s parabola link-parabola cd link-parabola emacs main.cpp In buffer issue command 'gtags-find-tag-by-event' on any function and get message 'global: '/data/dev/link-parabola/Function.cpp' is out of source tree.'.
I fix it. See below. diff gtags.el /usr/share/gtags/gtags.el 362c362 < nil nil t (file-name-nondirectory buffer-file-name))) --- > nil nil t (file-name-nondirectory (file-truename buffer-file-name)))) 382c382 < (call-process "gozilla" nil nil nil (concat "+" (number-to-string (gtags-current-lineno))) buffer-file-name)) --- > (call-process "gozilla" nil nil nil (concat "+" (number-to-string (gtags-current-lineno))) (file-truename buffer-file-name))) 477c477 < (setq context (concat "--from-here=" (number-to-string (gtags-current-lineno)) ":" buffer-file-name)) --- > (setq context (concat "--from-here=" (number-to-string (gtags-current-lineno)) ":" (file-truename buffer-file-name))) With regards. Taurus. _______________________________________________ Bug-global mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-global
