2

I get an error message from rtags module while trying to call rtags-taglist.

While edebugging it I didn't find any problem with this function, although of course debugger printed the same error as during regular invocation. As next step, I copied the whole rtags-taglist defun to *scratch* and evaluated it there (C-x C-e). Problem DISAPPEARS then.

So I decided to delete all the *.elc files from the /usr/local/share/emacs/site-lisp/rtags/ directory, then restarted Emacs, then visited the rtags-tagslist definition, then re-evaluated it from its original location (rtags.el), but this DOES NOT solve the problem. Only copying the function definition elsewhere (*scratch*) helps.

How to explain it?

It's weird to me.

I'm running Emacs 24.5, with Spacemacs.

1
  • 3
    Show the definition of the function. Turn on debug-on-error and show the backtrace.
    – Drew
    May 27, 2017 at 0:34

1 Answer 1

5

The rtags.el file starts thus:

;;; rtags.el --- A front-end for rtags -*- lexical-binding: t -*-

So maybe the problem appears with lexical rather than the default dynamic binding.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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