Re: Screencast: Clojure + Emacs + slime + swank + cake + Overtone

2011-06-17 Thread John Toohey
Excellent screencast.

On Thu, Jun 16, 2011 at 11:16, Sam Aaron  wrote:
> Hi there,
>
> I just finished making a screencast primarily for new Overtone users on how 
> to get set up with Emacs as a primary editor:
>
> http://vimeo.com/25190186
>
> It turns out that this should be pretty useful for Clojure hackers in general 
> as it's really a screencast on how to set up a Clojure environment using 
> Emacs slime, swank and cake. Just s/Overtone/your-project/
>
> Of course, it's also great if you're interested in making music with 
> programming languages :-)
>
> Sam
>
> ---
> http://sam.aaron.name
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en



-- 
~JT

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Clojure, Swank, and Leiningen with Emacs on Mac OS X

2011-06-07 Thread John Toohey
I have a fully working AquaEmacs/Swank/Slime system under OSX. Can you
tell me what you tried, and I may be able to help you. To start with,
what is the content of you ~/.clojure directory?

On Tue, Jun 7, 2011 at 18:00, Randy J. Ray  wrote:
> I am also having some big problems getting a working set-up under MacOS. I
> can't really start with the emacs-starters-kit, as I have a very large
> existing configuration. And Aquamacs doesn't ship SLIME as part of the
> distribution. Mainly, I need to know the best place to get the clojure-mode,
> clojure-test-mode, slime and swank-clojure packages. I tried using
> package.el to get some of them, but it bombed out before it completed
> building/installing slime or clojure-mode. I considered getting slime from
> their web page, but their only download link is a CVS snapshot, and I seem
> to remember reading somewhere that the really-new slime versions had some
> problems.
> Is part of the problem my decision to use Aquamacs? I looked at Carbon Emacs
> as well, but that's based on an emacs 22 source base, and I'd prefer to work
> from 23 or newer (my Linux desktops are running emacs in the 23 range). Do
> people roll their own emacs for clojure development on MacOS?
> Randy
>
> On Fri, May 27, 2011 at 7:40 AM, Sathish Kumar  wrote:
>>
>> Hi,
>> This is a step by step guide to setup Leiningen, Swank-Clojure and SLIME
>> for  Emacs.
>>
>> http://languageagnostic.blogspot.com/2011/05/clojure-in-emacs.html
>>
>> It is partly based on technomancy's post here http://technomancy.us/126
>>
>> Thanks,
>> Sathish
>>
>> On Wed, May 25, 2011 at 12:21 PM, michele  wrote:
>>>
>>> And this one
>>>
>>> https://github.com/technomancy/leiningen/
>>>
>>> On May 22, 10:53 am, dokondr  wrote:
>>> > Hello,
>>> > I am trying to install Clojure tools on Mac OS X according to the
>>> > instructions:
>>> > "Clojure, Swank, and Leiningen with Emacs on
>>> > Linux"http://riddell.us/ClojureSwankLeiningenWithEmacsOnLinux.html
>>> >
>>> > Everything goes fine until these steps:
>>> >
>>> > ~$ lein deps
>>> >
>>> > ~$ lein swank
>>> >
>>> > In my project.clj I have:
>>> >
>>> > (defproject test-project "0.1.0"
>>> >   :description "Test Project"
>>> >   :dependencies [[org.clojure/clojure "1.3.0-master-SNAPSHOT"]
>>> >                  [org.clojure/clojure-contrib "1.3.0-SNAPSHOT"]]
>>> >   :dev-dependencies [[swank-clojure "1.2.1"]])
>>> >
>>> > Running 'lein deps' gives these errors:
>>> >
>>> > Downloading: org/clojure/clojure-contrib/1.3.0-SNAPSHOT/clojure-
>>> > contrib-1.3.0-SNAPSHOT.pom from cloju\
>>> > re-snapshots
>>> > Downloading: org/clojure/clojure-contrib/1.3.0-SNAPSHOT/clojure-
>>> > contrib-1.3.0-SNAPSHOT.pom from cloja\
>>> > rs
>>> > Downloading: org/clojure/clojure-contrib/1.3.0-SNAPSHOT/clojure-
>>> > contrib-1.3.0-SNAPSHOT.jar from cloju\
>>> > re-snapshots
>>> > Downloading: org/clojure/clojure-contrib/1.3.0-SNAPSHOT/clojure-
>>> > contrib-1.3.0-SNAPSHOT.jar from cloja\
>>> > rs
>>> > An error has occurred while processing the Maven artifact tasks.
>>> >  Diagnosis:
>>> >
>>> > Unable to resolve artifact: Missing:
>>> > --
>>> > 1) org.clojure:clojure-contrib:jar:1.3.0-SNAPSHOT
>>> >
>>> >   Try downloading the file manually from the project website.
>>> >
>>> >   Then, install it using the command:
>>> >       mvn install:install-file -DgroupId=org.clojure -
>>> > DartifactId=clojure-contrib -Dversion=1.3.0-SNA\
>>> > PSHOT -Dpackaging=jar -Dfile=/path/to/file
>>> >
>>> >   Alternatively, if you host your own repository you can deploy the
>>> > file there:
>>> >       mvn deploy:deploy-file -DgroupId=org.clojure -
>>> > DartifactId=clojure-contrib -Dversion=1.3.0-SNAPS\
>>> > HOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -
>>> > DrepositoryId=[id]
>>> >
>>> >   Path to dependency:
>>> >         1) org.apache.maven:super-pom:jar:2.0
>>> >         2) org.clojure:clojure-contrib:jar:1.3.0-SNAPSHOT
>>> >
>>> > When  I run 'lein swank' I get:
>>> >
>>> > "That's not a task. Use "lein help" to list all tasks."
>>> >
>>> > Any ideas how to install these tools without so much pain?
>>> >
>>> > Thanks,
>>> > Dmitri
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clojure@googlegroups.com
>>> Note that posts from new members are moderated - please be patient with
>>> your first post.
>>> To unsubscribe from this group, send email to
>>> clojure+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/clojure?hl=en
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clojure@googlegroups.com
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.g

Re: swank-clojure/lein/emacs

2011-06-06 Thread John Toohey
I had this problem on OSX. To fix it, I removed the swank dependency
from my project.clj file, then I ran lein deps to clear any old
copies. Follow that with lein plugin install clojure-swank 1.3.1 and
finally lein swank.

On Sun, Jun 5, 2011 at 17:26, Bhinderwala, Shoeb
 wrote:
> Yes it is 4005. But I am just using the defaults. Does the problem have
> anything to do with the number 4005?
>
> Again, I am just following simple instructions outlined to get swank running
> using lein, so that I can connect to it using emacs. I am not doing anything
> special or different. As a newcomer to clojure I am just struggling with
> getting a basic setup so I can use a repl in emacs and connect to swank
> launched by lein.
>
> Did anybody face similar problem/error? Are there any more detailed clearer
> instructions anywhere else?
>
> Thanks
> Shoeb
>
> -Original Message-
> From: clojure@googlegroups.com on behalf of Ambrose Bonnaire-Sergeant
> Sent: Sun 6/5/2011 3:56 PM
> To: clojure@googlegroups.com
> Subject: Re: swank-clojure/lein/emacs
>
> On Mon, Jun 6, 2011 at 3:46 AM, Bhinderwala, Shoeb <
> sabhinderw...@wellington.com> wrote:
>
>>
>> Exception in thread "main" java.lang.IllegalArgumentException: No value
>> supplied for key: 4005 (NO_SOURCE_FILE:1)
>>
>
> Might be a coincidence, isn't the swank port 4005?
>
> Ambrose
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en



-- 
~JT

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en