leoliu / ggtags

Emacs frontend to GNU Global source code tagging system.

Home Page:http://elpa.gnu.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wrong-type-argument error on compilation-auto-jump timer

yvdriess opened this issue · comments

GNU Emacs 28.0.50, x86_64 linux-gnu
elpa ggtags-20190320.2208

I am getting the error consistently when doing a find-tag-dwim (M-.) on a remote file (tramp).

NB. Spamming M-. makes emacs hang, but occasionally when canceling with C-g it will do the compilation-goto-locus in the timer and do the jump to the right location.

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  get-buffer(nil)
  display-buffer(nil (nil (allow-no-window . t)))
  compilation-goto-locus(#<marker in no buffer> #<marker at 2853 in wrt.h> nil)
  compilation-next-error-function(0 nil)
  next-error-internal()
  compile-goto-error()
  compilation-auto-jump(#<killed buffer> 288)
  apply(compilation-auto-jump (#<killed buffer> 288))
  timer-event-handler([t 24503 53617 284726 nil compilation-auto-jump (#<killed buffer> 288) nil 695000])

PS. The comments on the timer in ggtags.el is refering to #89 so they might be related.