clojure-emacs / ac-nrepl

[DEPRECATED] Emacs auto-complete backend for nrepl completions
74 stars 11 forks source link

Is it possible to use ac-nrepl with ritz? #32

Open LiaoPengyu opened 11 years ago

LiaoPengyu commented 11 years ago

Hi purcell, I use your emacs.d for setting up clojure developing environment and it is awesome :-) Recently I find ritz is powerful and maybe a good enhencement of nrepl. The problem is after I use nrepl-ritz-jack-in, ac-nrepl do not work. But, after I start a new server by nrepl-jack-in and switch back to the ritz server buffer, ac-nrepl partially works(e.g. popup the choice list but not consist of all candidates). So, I wander is it possible to use ac-nrepl with ritz?

purcell commented 11 years ago

I haven't used ritz before.

Does it help if you then evaluate (with M-:) this expression:

(ac-nrepl-setup)

?

LiaoPengyu commented 11 years ago

No, got the message: "Symbol's value as variable is void: ac-nrepl-setup". Only ac-nrepl-popup-doc (C-c C-d) works.

purcell commented 11 years ago

Did you enter the parentheses? Here's what you should type:

M-: RET (ac-nrepl-setup) RET
LiaoPengyu commented 11 years ago

Got message: "(ac-source-nrepl-static-methods ac-source-nrepl-java-methods ac-source-nrepl-all-classes ac-source-nrepl-ns-classes ac-source-nrepl-vars ac-source-nrepl-ns ac-source-imenu ac-source-dictionary ac-source-words-in-buffer ac-source-words-in-same-mode-buffers ac-source-words-in-all-buffer ac-source-filename ac-source-files-in-current-dir)" in *Pp Eval Output*. But still the same. For example, I type def and TAB got a lot of candidates like defun and define-key; Typing part can got nothing.

MalloZup commented 5 years ago

autogenerated with https://github.com/MalloZup/doghub: issue inactive since 450 days. Please update the issue or close it