I've just found out a way to add "peek definition" functionality to Emacs by installing rtags. I installed rtags through Emacs, and everything seemed to go fine. However, I've run into some trouble: the basic command of rtags-start-process-unless-running to start rtags isn't working. If I try to run it in the minibuffer it just says No catch for tag: --cl-block-nil--, t

I'm using Linux (Arch), if that has any bearing on the problem. I'm just not sure what I should be looking for with an error like this, because I know very little about Lisp. Any guidance would be much appreciated. Here is the backtrace (Sorry if I'm missing something obvious, but this is one of the first times I've even seen the backtrace to Lisp).

Debugger entered--Lisp error: (no-catch --cl-block-nil-- t)
  throw(--cl-block-nil-- t)
  eval((rtags-start-process-unless-running) nil)
  funcall-interactively(eval-last-sexp nil)
  call-interactively(eval-last-sexp nil nil)
  • 1
    Looks like a bug in rtags, so I'd recommend you file a bug report with the authors. – Stefan Apr 29 '20 at 4:24
  • @Stefan Okay thanks! It looks to be the case. I posted a bug report. – Dustin Condon Apr 29 '20 at 5:12

Looks like its just a bug in RTags (at least when installed through Emacs). The package I had the problem with was installed from melpa-stable, and was Rtags 2.38. I tried installing a version 20200221.38 from melpa instead, and it seems to work now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.