global with xemacs on windows xp

"Frank Roland" <[email protected]>
Newsgroups gmane.comp.gnu.global.general
Message-ID <[email protected]>
Hallo,

I tried to use global with xemacs on a windows xp machine, but it failed.
I did the following:
	In a source directory I executed in the shell gtags.
	In the same direcory I opend a file and did M-x gtags-mode.
	Then I did M-x gtags-visit-rootdir, ending up with an error.

I activated Debug-On-Error, and this is part of its output:
Signaling: (args-out-of-range #<buffer "*rootdir*<2>"> 1 0)
  buffer-substring(1 0)
  (file-name-as-directory (buffer-substring (point-min) (1- ...)))
  (setq gtags-rootdir (file-name-as-directory (buffer-substring ... ...)))
  (if (= n 0) (setq gtags-rootdir (file-name-as-directory ...)) (setq
gtags-rootdir default-directory))
  (save-excursion (setq buffer (generate-new-buffer ...)) (set-buffer
buffer) (setq n (call-process "global" nil t nil "-pr")) (if (= n 0) (setq
gtags-rootdir ...) (setq gtags-rootdir default-directory)) (kill-buffer
buffer))

The command global was found and executed. The real problem is, that the
call of global did not fill the buffer *rootdir* with data, although
global -pr returns with the correct root directory if I try it on the shell.

What can I do to get it working?

Kind regards,
Frank

PS: I use the pre-compiled djgpp port of Jason Hood. The xemacs installation
is the native version 21.4.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.