From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: ob-clojure.el alternative using nrepl Date: Thu, 03 Oct 2013 17:54:18 +0200 Message-ID: <87mwmqpcyd.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRlEV-0002Fv-Uy for emacs-orgmode@gnu.org; Thu, 03 Oct 2013 11:54:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRlEN-00075u-IG for emacs-orgmode@gnu.org; Thu, 03 Oct 2013 11:54:31 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:42452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRlEN-00075c-Ac for emacs-orgmode@gnu.org; Thu, 03 Oct 2013 11:54:23 -0400 Received: by mail-wi0-f178.google.com with SMTP id hn9so216137wib.11 for ; Thu, 03 Oct 2013 08:54:22 -0700 (PDT) In-Reply-To: (Oleh's message of "Thu, 3 Oct 2013 17:45:33 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Oleh Cc: org mode Hi Oleh, Oleh writes: > Current method of clojure evaluation is through slime. > I couldn't get it to work, when I tried long ago. > So I attach one that uses nrepl. > Switching between the two should be as easy as using > > (require 'ob-clojure) > or > (require 'ob-clojure-nrepl). Nice, something needed. I guess we should rather have an option for this in ob-clojure.el, letting users decide whether they want to use nrepl.el or slime, a sensible default being to use nrepl.el. What do you think? -- Bastien