emacsorphanage / helm-gtags

GNU GLOBAL helm interface
203 stars 32 forks source link

helm-gtags-dwim failed on cygwin windows #158

Closed jaycelq closed 8 years ago

jaycelq commented 8 years ago

Here is the backtrace:

  signal(error ("Error: /cygdrive/e/ns_svr/nss/src/world/guild/actor_guild_api.c"))
  error("Error: %s%s" "" "/cygdrive/e/ns_svr/nss/src/world/guild/actor_guild_api.c")
  helm-gtags--find-tag-from-here-init()
  apply(helm-gtags--find-tag-from-here-init nil)
  helm-funcall-with-source(((name . "Find tag from here") (helm-gtags-base-directory) (init . helm-gtags--find-tag-from-here-init) (candidates . helm-candidates-in-buffer) (action ("Open file" . helm-gtags--action-openfile) ("Open file other window" . helm-gtags--action-openfile-other-window)) (persistent-action . helm-gtags--persistent-action) (filtered-candidate-transformer helm-fuzzy-highlight-matches) (real-to-display . helm-gtags--candidate-transformer) (candidate-number-limit . 9999) (volatile) (match identity) (header-line . "C-j: helm-gtags--persistent-action (keeping session)") (matchplugin) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn)) helm-gtags--find-tag-from-here-init)
  helm-funcall-foreach(init nil)
  helm-initial-setup(nil)
  helm-initialize(nil nil nil (helm-source-gtags-find-tag-from-here))
   helm-internal((helm-source-gtags-find-tag-from-here) nil nil nil nil "*helm gtags*" nil nil nil)
  apply(helm-internal ((helm-source-gtags-find-tag-from-here) nil nil nil nil "*helm gtags*" nil nil nil))
  helm((helm-source-gtags-find-tag-from-here) nil nil nil nil "*helm gtags*" nil nil nil)
  apply(helm ((helm-source-gtags-find-tag-from-here) nil nil nil nil "*helm gtags*" nil nil nil))
  helm(:sources (helm-source-gtags-find-tag-from-here) :buffer "*helm gtags*" :preselect nil)
  helm-gtags--common((helm-source-gtags-find-tag-from-here) nil)
  helm-gtags-find-tag-from-here()
  helm-gtags-dwim()
  call-interactively(helm-gtags-dwim nil nil)
  command-execute(helm-gtags-dwim)
syohex commented 8 years ago

Which gnu global did you use ? Windows version or Cygwin version ? If you use cygwin version, please set helm-gtags-cygwin-use-global-w32-port to nil and retry.

jaycelq commented 8 years ago

I use the cygwin version. Setting helm-gtags-cygwin-use-global-w32-port to nil does solve my issue.

syohex commented 8 years ago

Thanks for reporting issue. I'll write it document later.