labrepl - Intellij - JDK step missing from docs, java.lang.NoClassDefFoundError: clojure/main

2010-05-19 Thread Terrence Brannon
If you follow the labrepl instructions for Intellij IDEA, one part says "just keep hitting next and accept defaults" However, because no JDK(s) have been selected you get the following screen: http://www.screencast.com/users/terrence_work/folders/Jing/media/87ff684d-8725-422f-8f9d-eda715505688 wh

Re: Assembla instructions for java -cp clojure.jar yield java.lang.NoClassDefFoundError: clojure/main

2010-05-18 Thread Terrence Brannon
My bad... ".jar" was left off the the first argument :) On Tue, May 18, 2010 at 12:04 PM, Terrence Brannon wrote: > re: http://www.assembla.com/wiki/show/clojure/Getting_Started_with_Emacs > > > """java -cp path/to/clojure.jar clojure.main""&qu

Assembla instructions for java -cp clojure.jar yield java.lang.NoClassDefFoundError: clojure/main

2010-05-18 Thread Terrence Brannon
re: http://www.assembla.com/wiki/show/clojure/Getting_Started_with_Emacs """java -cp path/to/clojure.jar clojure.main""" this suggestion fails: metap...@locohost:~/prg/tmp$ java -cp /home/metaperl/.clojure/clojure clojure.main Exception in thread "main" java.lang.NoClassDefFoundError: clojure/m

Re: swank-clojure and GNU Emacs 23 - package.el install issues

2010-05-18 Thread Terrence Brannon
On Tue, May 18, 2010 at 1:34 AM, Justin Kramer wrote: > Per Phil Hagelberg's suggestion on IRC, I downloaded and used his > package.el, which fixed the issue for me: > > http://github.com/technomancy/package.el/raw/master/package.el I copied that package.el over ~/emacs.d./elpa/package.el and now

swank-clojure and GNU Emacs 23 - package.el install issues

2010-05-17 Thread Terrence Brannon
Hello, I wanted to try out Clojure. It was my understanding that swank-clojure was a package GNU Emacs that would download clojure automatically. But the docs for it no longer say that. Anyway, I successfully installed slime and slime-repl using package.el under a manually built GNU Emacs 23 with

Re: #

2010-02-17 Thread Terrence Brannon
On Wed, Feb 17, 2010 at 6:49 AM, Terrence Brannon wrote: > > > Also, I'm not clear on why I cant get the metadata for this variable x I > just defined even though meta() takes an object as argument < > http://clojure.org/metadata> > Because I passed the value of t

Re: #

2010-02-17 Thread Terrence Brannon
On Wed, Feb 17, 2010 at 5:51 AM, Meikel Brandmeyer wrote: > > > #^ attaches metadata to the following thing read. > The reference manual REPL transcript makes it look like it is being used to retrieve the metadata: user=> ^#'mymax ->{:name mymax, :user/comme

swank-clojure and debian/stable issue

2010-02-16 Thread Terrence Brannon
After installing swank-clojure via ELPA on emacs23, and type M-x slime, I get this error: (require 'swank.swank) (swank.swank/ignore-protocol-version nil) (do (.. java.net.InetAddress getLocalHost getHostAddress) nil)(swank.swank/start-server "/tmp/slime.29897" :encoding "iso-latin-1-unix") Exc

Re: How to write a unicode character in clojure?

2009-02-04 Thread Terrence Brannon
I got some help from hiredman in the IRC channel - http://github.com/metaperl/begin-clojure/blob/619eb489fb68839d2376d2cdf7375f2370d38494/1/unicode-chars.txt On Feb 5, 2:24 am, Terrence Brannon wrote: > How do you write a unicode character in clojure? > > Or properly put: what fo

How to write a unicode character in clojure?

2009-02-04 Thread Terrence Brannon
How do you write a unicode character in clojure? Or properly put: what form do you provide the reader so that it produces a unicode character as data structure? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cloju

Re: java.lang.NoClassDefFoundError: clojure/main

2009-02-04 Thread Terrence Brannon
-mode) (setq clojure-src-root "c:/tmp/c") (clojure-slime-config) (autoload 'clojure-mode "clojure-mode" "A major mode for Clojure" t) (add-to-list 'auto-mode-alist '("\\.clj$" . clojure-mode)) On Feb 3, 10:17 pm, Terrence Brannon w

What is "defn-"

2009-02-03 Thread Terrence Brannon
What is the significance of the dash after defn? How does it differ from defn? Source: http://www.codepoetics.com/wiki/index.php?title=Topics:SICP_in_other_languages:Clojure:Chapter_1#.3B_1.1.4_The_Elements_of_Programming_-_Compound_Procedures --~--~-~--~~~---~--~

java.lang.NoClassDefFoundError: clojure/main

2009-02-03 Thread Terrence Brannon
Hello, I cannot get slime and clojure-mode up and running: ;;; inferior lisp output (add-classpath "file:///c:/Documents and Settings/Administrator/ Application Data/emacs-contrib/swank-clojure/") (require 'swank.swank) (swank.swank/ignore-protocol-version "2009-01-30") (swank.swank/start-ser

somehow (quote foo) came back from the REPL

2009-02-02 Thread Terrence Brannon
I was fooling around in the REPL and from the looks of the transcript, I typed the very same thing, yet in one case the REPL returned (quote foo) and in the other case it returned foo. Transcript follows: user=> \newline \newline user=> \c \c user=> nil nil user=> false false user=> :foo :foo us