emacsorphanage / helm-gtags

GNU GLOBAL helm interface
204 stars 31 forks source link

one GTAGSLIBPATH per project #134

Closed bbigras closed 8 years ago

bbigras commented 8 years ago

Is there a way to have differents GTAGSLIBPATH depending of which project I'm in?

For example, I don't want to have tags from the Linux kernel when I'm doing other stuff.

syohex commented 8 years ago

Is there a way to have differents GTAGSLIBPATH depending of which project I'm in?

Sorry no way now. You need to set manually now by such as following command.

(defun my/setenv-gtagslibpath (dir)
  (interactive
   (list (read-directory-name "Library Path: ")))
  (setenv "GTAGSLIBPATH" (expand-file-name dir)))
bbigras commented 8 years ago

Thanks.