gnu global through emacs with TRAMP?

Brendan Miller <[email protected]> Wed, 1 Dec 2010 16:48:04 -0800
Newsgroups gmane.comp.gnu.global.general
Message-ID <[email protected]>
Can gnu global's emacs mode be made to work with TRAMP?

I have another machine that has a proprietary version control system I
am forced to keep my source on. I connect to it with emacs TRAMP from
my development machine in order to work.

I need to be able to set GTAGSROOT and GTAGSDBPATH also. On my local
machine I just have something like this in my emacs configurtion
  (setenv "GTAGSROOT" "path1")
  (setenv "GTAGSDBPATH" "path2")

however, I'm not sure how to make that work through TRAMP.