help-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

global with xemacs on windows xp


From: Frank Roland
Subject: global with xemacs on windows xp
Date: Wed, 31 Mar 2004 22:13:41 +0200

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]