Re: Clojure box - loading book examples from "Programming Clojure"

2009-08-11 Thread cschep
Hey all, I recently went through this process as a total clojure/emacs noob. Trying to use the command line (especially in Windows) to enter samples that were more than one line was just brutal. Also, I really wanted the emacs experience while toying around with Clojure samples and reading this g

Re: Clojure box - loading book examples from "Programming Clojure"

2009-07-09 Thread Daniel
On Thu, Jul 9, 2009 at 1:56 AM, Mani wrote: > > Thanks Shawn, Robert. > From Robert's post, I am bit confused here. I also read that .emacs is > in %appdata% folder (vista), but all I see is .emacs.d folder (which I > guess is for the emacs server). I tried creating one "C-x C-f > ~/.emacs" - unde

Re: Clojure box - loading book examples from "Programming Clojure"

2009-07-08 Thread Robert Campbell
> Wherever the files goes after C-x C-f ~/.emacs and then C-x C-s is where > emacs thinks your home directory is. I would just go with that. It's > normally in %appdata%, but it won't be there until you create it and save > it. yes, this is better than my #2 > Robert? Is that all you have in you

Re: Clojure box - loading book examples from "Programming Clojure"

2009-07-08 Thread Shawn Hoover
On Wed, Jul 8, 2009 at 2:56 PM, Mani wrote: > > Thanks Shawn, Robert. > From Robert's post, I am bit confused here. I also read that .emacs is > in %appdata% folder (vista), but all I see is .emacs.d folder (which I > guess is for the emacs server). I tried creating one "C-x C-f > ~/.emacs" - und

Re: Clojure box - loading book examples from "Programming Clojure"

2009-07-08 Thread Mani
Robert? Is that all you have in your .emacs? I am looking to create one from scratch. I noticed that you have clojure / clojure-contrib jars in your .emacs, but what about slime/swank settings? won't they be overridden by Clojure Box -settings or other way - .emacs loading without slime/ swank? (

Re: Clojure box - loading book examples from "Programming Clojure"

2009-07-08 Thread Mani
Thanks Shawn, Robert. >From Robert's post, I am bit confused here. I also read that .emacs is in %appdata% folder (vista), but all I see is .emacs.d folder (which I guess is for the emacs server). I tried creating one "C-x C-f ~/.emacs" - under my home-directory (C:\emacs). Should i just create a

Re: Clojure box - loading book examples from "Programming Clojure"

2009-07-08 Thread Shawn Hoover
Sorry, the snippet author was Daniel Lyons. Here's a link to the other thread: http://groups.google.com/group/clojure/browse_thread/thread/6198db7d82610293 On Wed, Jul 8, 2009 at 2:14 PM, Shawn Hoover wrote: > Oh, here's an example snippet I just saw from Daniel Lyon on another thread > (note ho

Re: Clojure box - loading book examples from "Programming Clojure"

2009-07-08 Thread Shawn Hoover
Oh, here's an example snippet I just saw from Daniel Lyon on another thread (note how it cleverly grabs all the jars from the ~/.clojure directory--you could add another one of these for another directory of jars): (setq swank-clojure-extra-classpaths (cons "/Users/fusion/Projects/Languages/

Re: Clojure box - loading book examples from "Programming Clojure"

2009-07-08 Thread Robert Campbell
1. Here is my .emacs I use for Clojure Box to load the Jars and add the proper paths to your classpath: (setq swank-clojure-extra-classpaths '()) (add-to-list 'swank-clojure-extra-classpaths "C:/Dev/clojure/clojure.jar") (add-to-list 'swank-clojure-extra-classpaths

Re: Clojure box - loading book examples from "Programming Clojure"

2009-07-08 Thread Shawn Hoover
On Wed, Jul 8, 2009 at 2:55 AM, dumb me wrote: > > Hi All, > > I am a dumb around here. my first post among many to come :) > > I setup clojurebox to work thru the book. I am a newbie to emacs and > to clojure. I don't mind the learning curve to emacs. > > I am completely blank about configuring

Re: Clojure box - loading book examples from "Programming Clojure"

2009-07-08 Thread dumb me
anyone? Has anyone worked on Clojure box with the book examples? Last thing I tried was to load a single file (load-file "c:\emacs\code \examples\introduction.clj") and what I get is the last program in that file. thanks. On Jul 8, 2:55 pm, dumb me wrote: > Hi All, > > I am a dumb around here

Clojure box - loading book examples from "Programming Clojure"

2009-07-08 Thread dumb me
Hi All, I am a dumb around here. my first post among many to come :) I setup clojurebox to work thru the book. I am a newbie to emacs and to clojure. I don't mind the learning curve to emacs. I am completely blank about configuring Clojurebox. Here's what I want to do: 1) load all the code-ex