Closed cobblau closed 7 years ago
are you sure is "python" "/home/admin/.emacs.d/elpa/ycmd-20170723.1458/"
and not "python" "/home/admin/.emacs.d/elpa/ycmd-20170723.1458/ycmd"
?
@cobblau Please read the Quickstart section of the Readme: https://github.com/abingham/emacs-ycmd#quickstart
You need to install ycmd
first and the set ycmd-server-command
to the ycmd
path. emacs-ycmd
does not ship the ycmd
server.
@ptrv Thanks! I am a fresher to emacs-ycmd
, now I finger out that ycmd server
is a third-party binary lauched by emacs-ycmd
.
The problem I mentioned above is solved by compling a new ycmd
, and ycmd-server-command
informs the directory where ycmd
server belongs to.
Close this issue.
I configure my ycmd server as
where
/home/admin/.emacs.d/elpa/ycmd-20170723.1458/
is the directory ycmd installed.When I type
M-x ycmd-open
, emacs shows me the Error Message:ERROR: Ycmd server timeout. If this happens regularly you may need to increase 'ycmd-startup-timeout'.
ycmd-server Buffer shows
/usr/bin/python: '/home/admin/.emacs.d/elpa/ycmd-20170723.1458/' is a directory, cannot continue
ycmd-show-debug-info shows
So what does
ycmd-server-command
mean? How ycmd usesycmd-server-command
to start ycmd server? And finally, how can I fix this problem?