Re: Basic colour in the standard REPL

2010-08-27 Thread Ramakrishnan Muthukrishnan
On Fri, Aug 27, 2010 at 4:39 PM, frou wrote: > Is it or would it be possible to add some basic text colouring to the > standard REPL (the one started with the "clj" shell script). > > It would be nice to be able to make the prompt, e.g. "user=>" coloured > (green in my case) so that you get at-a-g

Re: Slime, debug-repl & clojure debugging toolkit

2010-07-21 Thread Ramakrishnan Muthukrishnan
On Wed, Jul 21, 2010 at 6:04 PM, Krukow wrote: >  0: com.trifork.intrafoo.clj.extract_contacts > $extract_all.invoke(NO_SOURCE_FILE:1) >      Locals: >        pref = /Users/krukow/workspaces/trifork/intrafoo_clj/ > contactdata/ >        cli = org.apache.commons.httpclient.httpcli...@6078b973 >    

Re: Slime, debug-repl & clojure debugging toolkit

2010-07-20 Thread Ramakrishnan Muthukrishnan
On Wed, Jul 21, 2010 at 11:52 AM, Krukow wrote: > > I am interested in getting the combination of Emacs+slime+swank- > clojure, alex-and-georges.debug-repl and clojure debugging toolkit to > work together. debug-repl is kind of integrated already into swank by Hugo Duncan. > user> (let [c 1 >

Re: ANN: CDT - The Clojure Debugging Toolkit

2010-07-11 Thread Ramakrishnan Muthukrishnan
On Tue, Jul 6, 2010 at 11:44 AM, George Jahad wrote: > My experiment with the JDI: > > > http://georgejahad.com/clojure/cdt.html > Hi, Thanks for this great project and notes. For others who are trying this out, I found a minor issue. I am running openJDK under Debian GNU/Linux amd64 arch, with

Re: repl, Linux, up-arrow to repeat

2010-06-05 Thread Ramakrishnan Muthukrishnan
On Sat, Jun 5, 2010 at 4:48 PM, Dave Pawson wrote: > On many interactive shells I use up-arrow to repeat > the last command. > > Is that possible with the clojure repl, Linux? You can use rlwrap or jline with the repl invocation command. $ rlwrap java -cp /usr/share/java/clojure.jar clojure.main

Re: 57 varieties

2010-05-28 Thread Ramakrishnan Muthukrishnan
On Fri, May 28, 2010 at 4:09 PM, Philip Hudson wrote: > I've been trying for the best part of a month to get > SLIME/SWANK/Clojure/clojure-mode working in emacs 23.2 on Mac OS X 10.5 > without using ELPA, which unfortunately seems to break everything including Here are my instructions for a compl

Re: Error when tried to compile with C-c C-k in emacs.

2010-05-23 Thread Ramakrishnan Muthukrishnan
On Sun, May 23, 2010 at 10:08 AM, Chris McClellen wrote: > I only got it to half work.  Using elpa, have done the same as > others.  Using mvn w/clojure plugin to do "mvn clojure:swank"; > changed to use swank 1.2.1. > > C-c C-k works fine... > > C-c C-c bombs with Java.lang.exception (No such nam

Re: My non-ELPA Emacs swank-clojure setup

2010-05-02 Thread Ramakrishnan Muthukrishnan
On Mon, May 3, 2010 at 3:43 AM, Robert Ewald wrote: > Am Sonntag, 11. April 2010 00:59:47 schrieb DanL: >> On 11 Apr., 00:34, Ævar Arnfjörð Bjarmason wrote: >> > > As far as I know, there were problems with the protocol using symbols >> > > in CL's package::symbol syntax (and some other character

Re: Problem with Destructuring in A Function Call

2010-04-16 Thread Ramakrishnan Muthukrishnan
On Fri, Apr 16, 2010 at 2:29 PM, Bytesource wrote: > Hi, > > I am currently reading "Programming Clojure" but got stuck at the > destructuring done in the "head-overlaps-body?" function call that is > part of the "snake" game: > > (defn head-overlaps-body? [{[head & body] :body}] >  (includes? bod

Re: Choosing a Clojure build tool

2010-03-26 Thread Ramakrishnan Muthukrishnan
On Fri, Mar 26, 2010 at 1:06 PM, Konrad Hinsen wrote: > On 26 Mar 2010, at 05:50, Chas Emerick wrote: > >> Because they're common processes that are ideally built once, and then >> reused with minor variation.  Library reuse is generally considered to be a >> good thing in software development, so

Re: Choosing a Clojure build tool

2010-03-26 Thread Ramakrishnan Muthukrishnan
Is there a tool which takes a simple config file as input in some human readable format (like below) and generate mavel pom xml? name: foobar version: x.y.z dependencies: clojure (>= 1.1.0), clojure-contrib (= 1.1.0) ... ... Ramakrishnan -- You received this message because you are subscribed

Re: The end goal

2010-03-24 Thread Ramakrishnan Muthukrishnan
On Thu, Mar 25, 2010 at 9:01 AM, Michael Richter wrote: > > Weird.  I'm showing 1.0 for those. > mich...@isolde:~$ aptitude search clojure > p   clojure                                                   - a Lisp > dialect for the JVM > mich...@isolde:~$ aptitude show clojure > Package: clojure > N

Re: The end goal

2010-03-24 Thread Ramakrishnan Muthukrishnan
On Thu, Mar 25, 2010 at 6:38 AM, Michael Richter wrote: > On 25 March 2010 00:05, Ramakrishnan Muthukrishnan wrote: >> >> On Wed, Mar 24, 2010 at 8:36 AM, Michael Richter >> wrote: >> > >> > I don't know the process, but I'm willing to endure the

Re: The end goal

2010-03-24 Thread Ramakrishnan Muthukrishnan
On Wed, Mar 24, 2010 at 8:36 AM, Michael Richter wrote: > > I don't know the process, but I'm willing to endure the tedium of packaging > clojure for Ubuntu (and by extension Debian) if this is the kind of thing > that can be a two-person job. clojure and clojure-contrib are already in Debian (an

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Ramakrishnan Muthukrishnan
On Mon, Mar 22, 2010 at 5:13 PM, Per Vognsen wrote: > good example of a Java developer-oriented application with a good > out-of-box experience on all platforms. Shell scripts for UNIX and > installers for Windows and OS X would go a long way towards improving > that for Clojure. In my opinion, a

Re: Name suggestions

2010-03-17 Thread Ramakrishnan Muthukrishnan
On Wed, Mar 17, 2010 at 12:38 PM, mac wrote: > After just a little more test and polish I plan on calling clj-native > 1.0. But clj-native is a *really* boring name so I want to change it > before 1.0 and I don't have very good imagination when it comes to > these things. > So I need your help. >

Re: Leiningen, Clojure and libraries: what am I missing?

2010-03-05 Thread Ramakrishnan Muthukrishnan
On Fri, Mar 5, 2010 at 9:47 PM, Stuart Sierra wrote: > > Yes, the Maven configuration model isn't pretty, but if you follow the > conventions it works.  Polyglot Maven will obviate the need to write I didn't know about Polyglot. Thanks. Looks like a very nice tool.

Re: Clojure/SLIME/Emacs questions

2010-02-12 Thread Ramakrishnan Muthukrishnan
On Sat, Feb 13, 2010 at 5:48 AM, Steven E. Harris wrote: > Phil Hagelberg writes: > >> Upstream slime is not compatible with swank-clojure > > I find this not to be true at present, the stilted SLIME/Swank > connection problem¹ and disabling autodoc mode notwithstanding. Yes, I too use slime ups

Re: Prepping clojure for packaging (was: Re: Clojure for system administration)

2010-02-09 Thread Ramakrishnan Muthukrishnan
On Tue, Feb 9, 2010 at 12:27 PM, Meikel Brandmeyer wrote: > Hi, > > maybe I don't understand the problem. Why can't the system provide > some kind of local repository? The package system (deb, rpm, ports, > whatever) just installs the dependencies there. A wrapper script reads > in the dependencie

Re: building clojure-contrib without downloading clojure.jar from elsewhere

2010-02-03 Thread Ramakrishnan Muthukrishnan
On Thu, Feb 4, 2010 at 12:55 AM, Stuart Sierra wrote: > On Feb 3, 1:20 pm, Ramakrishnan Muthukrishnan > wrote: >> I uploaded clojure-contrib 1.1 debian package into the debian repos. > > I hope that's the 1.1 release, not the current github master. yes, 1.1 release

Re: building clojure-contrib without downloading clojure.jar from elsewhere

2010-02-03 Thread Ramakrishnan Muthukrishnan
On Wed, Feb 3, 2010 at 11:43 PM, Stuart Sierra wrote: > On Feb 3, 2:03 am, Ramakrishnan Muthukrishnan > wrote: >> I hope this will be added back into the repo soon. > > It's in now. Thanks. I uploaded clojure-contrib 1.1 debian package into the debian repos. It should hi

Re: building clojure-contrib without downloading clojure.jar from elsewhere

2010-02-02 Thread Ramakrishnan Muthukrishnan
On Wed, Feb 3, 2010 at 1:12 AM, Rob Wolfe wrote: > there are needed two things: > > 1. maven profile, which will be activated by "-Denv=local" > 2. dependency defined with "system" scope and "systemPath" > > I can not find anything like that in clojure-contrib pom.xml. > So I added this part to or

building clojure-contrib without downloading clojure.jar from elsewhere

2010-02-02 Thread Ramakrishnan Muthukrishnan
Hi, I am trying to package clojure-contrib for Debian and one of the debian java packaging practices is that the build should not download any external dependencies. All the dependencies should be debian packages themselves. I tried building clojure-contrib with mvn -Dclojure.jar= as detailed in

Re: clojure-contrib build failure

2010-01-31 Thread Ramakrishnan Muthukrishnan
On Fri, Jan 29, 2010 at 12:08 PM, Ramakrishnan Muthukrishnan wrote: > I had been trying to build the master branch of clojure and > clojure-contrib. clojure built just fine. I get a build failure while > building clojure-contrib with the log as shown below. The various Looks like

clojure-contrib build failure

2010-01-28 Thread Ramakrishnan Muthukrishnan
I had been trying to build the master branch of clojure and clojure-contrib. clojure built just fine. I get a build failure while building clojure-contrib with the log as shown below. The various versions of the software are listed. * Debian GNU/Linux testing branch x86_64. $ mvn -version Apache

Re: Clojure Conference Poll

2010-01-25 Thread Ramakrishnan Muthukrishnan
On Sat, Jan 23, 2010 at 1:24 PM, Konrad Hinsen wrote: > On 22 Jan 2010, at 22:15, Wilson MacGyver wrote: > >> I vote let's turn this into a clojure vacation, and hold it in an >> exotic location. >> >> Otherwise, hey, Columbus Ohio is as good as any other city. :) > > My vote is for Paris, France

Re: SLIME/Swank problem with swank.util.sys/get-pid and RuntimeMXBean

2010-01-09 Thread Ramakrishnan Muthukrishnan
On Fri, Jan 8, 2010 at 12:57 PM, Richard Newman wrote: >> I don't want to have to use ELPA, or maven, or some other configuration >> management thing to get basic tools like an editing environment for the >> language up and running. Perhaps I should just bite the bullet and use the >> crazy config

Re: Strange behavior seen when ints have leading zeros

2009-11-12 Thread Ramakrishnan Muthukrishnan
On Thu, Nov 12, 2009 at 6:38 PM, Robert Campbell wrote: > C:\dev\clojure>java -cp clojure.jar clojure.lang.Repl > Clojure 1.1.0-alpha-SNAPSHOT > user=> (def grid1 [01 02 03 04 05 06 07]) > #'user/grid1 > user=> grid1 > [1 2 3 4 5 6 7] > user=> (def grid2 [01 02 03 04 05 06 07 08]) > java.lang.Numb