From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.help Subject: Re: Clojure Mode - `nrepl-jack-in' gives error Date: Fri, 18 Apr 2014 13:46:43 +0200 Message-ID: <87y4z2hnbw.fsf@bzg.ath.cx> References: <87d2gevqbm.fsf@gmail.com> <87ioq6j2y0.fsf@bzg.ath.cx> <874n1qvp71.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1397821642 25526 80.91.229.3 (18 Apr 2014 11:47:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Apr 2014 11:47:22 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Thorsten Jolitz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 18 13:47:15 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 1Wb7GF-0007jK-DJ for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Apr 2014 13:47:15 +0200 Original-Received: from localhost ([::1]:37361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wb7GF-0000Ov-1f for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Apr 2014 07:47:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wb7Fw-0000Bv-0L for help-gnu-emacs@gnu.org; Fri, 18 Apr 2014 07:47:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wb7Fm-00007E-Uy for help-gnu-emacs@gnu.org; Fri, 18 Apr 2014 07:46:55 -0400 Original-Received: from mail-we0-x229.google.com ([2a00:1450:400c:c03::229]:63202) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wb7Fm-00006z-Nb for help-gnu-emacs@gnu.org; Fri, 18 Apr 2014 07:46:46 -0400 Original-Received: by mail-we0-f169.google.com with SMTP id w62so1505951wes.28 for ; Fri, 18 Apr 2014 04:46:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=ZrJ4Bn9J8AbNaogBDeNwez5coyB/2QGGyL2dkP/DsJg=; b=lEyJxMQ/f/LylMkNEi7b8KmWpjIY7jR4Xb0ljf3t1NZ/COC1iU1qJWIS/fSLOzNEdH 0MRjYmOCWywPokSABlkjGlaOAJjxrJ46E4M4FeOyXWyD44F7lDQYz3GAwO3py2PoHh9F WweMwRVzlY7Xvi+VzezL5ypJTO1doonGVFUDVFpNoKO2wVY4nPZ4nXnF6YL7D6hBbw98 eYcBmonPRbn5qpAAV8sH4pmhfSd6OTi/ZRJEV4vafJNdyhAR95Z0iCrPHgznKLjMir/8 Ab3vN8KQZi4HBg8M8+Rvzfa/NmrWT7RqQ2eoFkz6VsdDWTW8hLmZHDZ7gRU/57nHCBzZ Pr+A== X-Received: by 10.194.92.7 with SMTP id ci7mr16236130wjb.7.1397821605653; Fri, 18 Apr 2014 04:46:45 -0700 (PDT) Original-Received: from bzg.localdomain (AMontsouris-651-1-249-28.w92-163.abo.wanadoo.fr. [92.163.80.28]) by mx.google.com with ESMTPSA id dg7sm43273308wjc.4.2014.04.18.04.46.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Apr 2014 04:46:44 -0700 (PDT) Original-Received: by bzg.localdomain (Postfix, from userid 1000) id A0D171C20DE0; Fri, 18 Apr 2014 13:46:43 +0200 (CEST) In-Reply-To: <874n1qvp71.fsf@gmail.com> (Thorsten Jolitz's message of "Fri, 18 Apr 2014 13:42:42 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::229 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:97195 Archived-At: Thorsten Jolitz writes: > No, I had never heard of it ... thanks for the tip! So I was on the > wrong (i.e. outdated) track wrt to Clojure & Emacs, no wonder it did not > work ... Since we're at it, here is my setup: clojure-mode / cider / company-mode all them installed from ELPA. And some useful settings: (require 'cider) (require 'company) (require 'company-cider) (setq nrepl-hide-special-buffers t) (setq cider-repl-pop-to-buffer-on-connect nil) (setq cider-popup-stacktraces nil) (setq cider-repl-popup-stacktraces t) (setq org-babel-clojure-backend 'cider) (add-hook 'clojure-mode-hook 'turn-on-orgstruct) (eval-after-load 'company '(add-to-list 'company-backends 'company-cider)) Enjoy! -- Bastien