ggtags icon indicating copy to clipboard operation
ggtags copied to clipboard

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

Open yvdriess opened this issue 4 years ago • 0 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 https://github.com/leoliu/ggtags/issues/89 so they might be related.

yvdriess avatar Nov 20 '20 14:11 yvdriess