From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Clojure Mode - `nrepl-jack-in' gives error Date: Fri, 18 Apr 2014 13:18:21 +0200 Message-ID: <87d2gevqbm.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1397819861 365 80.91.229.3 (18 Apr 2014 11:17:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Apr 2014 11:17:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 18 13:17:32 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wb6nT-00069H-3H for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Apr 2014 13:17:31 +0200 Original-Received: from localhost ([::1]:37315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wb6nS-0000wQ-ML for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Apr 2014 07:17:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wb6nA-0000wE-Cd for help-gnu-emacs@gnu.org; Fri, 18 Apr 2014 07:17:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wb6n2-0007rh-Td for help-gnu-emacs@gnu.org; Fri, 18 Apr 2014 07:17:12 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:45194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wb6n2-0007rb-NH for help-gnu-emacs@gnu.org; Fri, 18 Apr 2014 07:17:04 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wb6n0-0005PJ-6R for help-gnu-emacs@gnu.org; Fri, 18 Apr 2014 13:17:02 +0200 Original-Received: from e178054054.adsl.alicedsl.de ([85.178.54.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Apr 2014 13:17:02 +0200 Original-Received: from tjolitz by e178054054.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Apr 2014 13:17:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178054054.adsl.alicedsl.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:XTYrOR8SuxBjZ7w16X6eMwXINEU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97192 Archived-At: Hi List, [this was posted on the clojure list too, but on 2nd thought it looks more like and Emacs than and Clojure question] I just installed lein2 and can start 'lein2 repl' successfully on the command-line. 'lein repl' works too, since I defined an alias in my .bashrc. After installing packages clojure-mode and nrepl in Emacs, I get this error when trying `nrepl-jack-in': ,------------------------------------------------------------------------- | error in process sentinel: Could not start nREPL server: /bin/bash: Line | 1: lein: Command not found. `------------------------------------------------------------------------- I'm on Archlinx with #+begin_src emacs-lisp (emacs-version) #+end_src #+results: : GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.7) : of 2014-01-28 on var-lib-archbuild-extra-x86_64-juergen I googled some related sites and it seems it might be an Emacs (exec-) path problem, but a reboot did not help. I don't find any reference to leiningen/clojure/nrepl in Emacs exec-path nor in '$ echo $PATH', but things work on the command-line, but not from Emacs. -- cheers, Thorsten