Closed kinnison closed 7 years ago
Does M-x racer-debug show anything?
Looking at racer-call
, we bind exit-code
using -let
, which is a macro defined in dash.el. Do you have dash installed? What version?
racer-debug gives an error (racer-debug: Symbol's function definition is void: -drop-last
) and an empty buffer.
I will admit that I expected appropriate dependencies to be dragged in and auto-loaded as necessary by default, but examining ~/.emacs.d I see dash-20161121.55/
which appears to contain a dash.el whose version claims to be 2.13.0
Good news (ish) - I found an old dash.el squirrelled away somewhere emacs must have found it before loading the one in ~/.emacs.d
sadly that hasn't fixed the eldoc error but it has enabled racer-debug to show me:
The last racer command was:
$ cd nil
$ export nil
$ export nil
$ nil
This command terminated with exit code nil.
No output on stdout.
No output on stderr.
The temporary file will have been deleted. You should be
able to reproduce the same output from racer with the
following command:
$ nil nil nil
Please report bugs on GitHub.
Which is depressingly unuseful :-(
For reference, if I put debug-on-error on, I still see racer--call("complete" "1" "9" "/tmp/foo.rs" "/tmp/racer274024qa")
as the last thing in the backtrace.
I imagine that your racer.elc was produced with the old dash.el. Try deleting the .elc file.
That has done the trick, thank you so much and I apologise for the noise.
Hi,
I tried to install emacs-racer using the instructions. Once installed, it loads, but for some reason it is unable to document or complete anything. As an example, here is a traceback:
For reference, I am using Emacs 24.4.1 on Debian