I'm using Ensime 2.10.0-0.9.8.9 with emacs 23.4.1, and I'm using emacs with --no-window parameter in the gnome terminal (v3.6.1). When I try to search for a scala type or method in my project with global search command C-c C-v v and then press ENTER to go to the selected item, it does not, but just enters a new line in the ensime-search buffer.
The thing is, when I try to do the same thing in normal emacs (without --no-window), all is fine...
Does someone know how to make it work with --no-window too ?
PS: please, don't answer: "just use emacs without --no-window"... :)
I finally found out how to solve this problem. I added the following binding in *ensime_2.10.0-0.9.8.9/elisp/ensime-search.el* :
(define-key map (kbd "RET") 'ensime-search-choose-current-result)
in the definition of function ensime-search-mode-map.
PS: as mentionned by Iqbal Ansari, it is better to add the binding in the init file :
(define-key ensime-search-mode-map (kbd "RET") 'ensime-search-choose-current-result)