Re: Package manager proposal

2009-08-07 Thread Justin Johnson
> > car: "Clojure Archive" (half-assed pun on Lisp's car, plus you can imagine > the icon!) > +1 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegro

Re: VimClojureBox

2009-07-14 Thread Justin Johnson
> > For your options: maybe number 2? > > That would allow, that a Windows Installer, a Mac Installer > and some unix thing, could be put into the same project > (VimClojure itself?). That would take away a lot of required > syncronisation: Vim upstream, VC upstream, ... > > What do you think? > T

VimClojureBox

2009-07-14 Thread Justin Johnson
Hi, I've been thinking about creating something like Clojure Box for Windows Vim users, using Meikel's wonderful VimClojure. The first question is, does anyone think this would be worth while? Assuming the answer is yes... I'm trying to decide if it makes sense to pack everything into a single

Re: zip of docs?

2009-07-09 Thread Justin Johnson
No, same thing. If you go to clojure.wikispaces.com it redirects to clojure.org, which is hosted at wikispaces.com. On Wed, Jul 8, 2009 at 5:15 PM, Raoul Duke wrote: > > > It looks like anyone with Organizer rights on Clojure's wikispaces wiki > > should be able to export an HTML or WikiText ba

Re: zip of docs?

2009-07-08 Thread Justin Johnson
It looks like anyone with Organizer rights on Clojure's wikispaces wiki should be able to export an HTML or WikiText backup zip file. Justin On Wed, Jul 8, 2009 at 3:23 PM, Raoul Duke wrote: > > is there an archive of e.g. http://clojure.org/Reference i can > download for offline work? i haven'

Re: contains

2009-01-23 Thread Justin Johnson
On Fri, Jan 23, 2009 at 2:32 PM, Mark Volkmann wrote: > > This must be something I learned months ago and then forgot ... > embarassing! > What's the easiest way to determine if a sequence contains a given value? > I thought there would be something like this: (include? [2 4 7] 4) -> true > That d

Re: Only 9 agent "send-off"s complete?

2009-01-15 Thread Justin Johnson
I found my problem. There were some issues with the underlying Subversion actions happening at the same time. I wasn't catching those errors though because I wasn't looking at agent-errors. I have it working correctly now with an agent per project (since a series of updates for the project is th

Only 9 agent "send-off"s complete?

2009-01-14 Thread Justin Johnson
Will someone please help me understand what I'm doing wrong? The code below is *supposed* to do the following. 1) Checkout the top level directory of a Subversion repository with empty depth. 2) Update the project directories (the ones right under the root of the repository) with depth immediates

Re: Expanding args in (fn [& args]...) to actual args, not ArraySeq

2009-01-14 Thread Justin Johnson
Ah, that's right! Thank you. I'm having a hard time thinking functionally. On Wed, Jan 14, 2009 at 12:31 PM, Stuart Halloway wrote: > > Hi Justin, > > Use apply: > > (send-off (next-agent) (fn [v & args] (apply somefn args)) arg1 arg2 > arg3) > > Cheers, > Stuart > > > Is there a way to have a

Expanding args in (fn [& args]...) to actual args, not ArraySeq

2009-01-14 Thread Justin Johnson
Is there a way to have args expanded to the actual arguments, not an ArraySeq? I need the actual args to pass to a multimethod so it knows how to dispatch appropriately. Code similar to this (send-off (next-agent) (fn [v & args] (somefn args)) arg1 arg2 arg3) Give me an error like this. ... Ca

Re: Trying to define next-agent function

2009-01-14 Thread Justin Johnson
tin On Wed, Jan 14, 2009 at 9:33 AM, Justin Johnson wrote: > Hello, > > I'm trying to create a list of agents and a function called next-agent that > always gives me the next agent and restarts at the beginning when the list > is exhausted. For my purposes the agent is serving

Trying to define next-agent function

2009-01-14 Thread Justin Johnson
Hello, I'm trying to create a list of agents and a function called next-agent that always gives me the next agent and restarts at the beginning when the list is exhausted. For my purposes the agent is serving as a thread that will do some work. I don't much care about its value at this time. I'

Collecting items in an interface method call

2009-01-06 Thread Justin Johnson
In the code below (which uses the SVNKit Java library) I define the function get-dir-contents, which takes a Subversion repository URL and, via the proxy ISVNDirEntryHandler, prints each entry to the screen in the call to handleDirEntry. I would like it to collect and return the entries instead, b

Re: .newInstance error

2009-01-05 Thread Justin Johnson
Ah, static methods... Clearly I haven't spent enough time in the Java world. user=> (org.tmatesoft.svn.core.wc.SVNClientManager/newInstance) # On Mon, Jan 5, 2009 at 8:41 AM, Justin Johnson wrote: > Will someone please explain to me why this isn't working? Is there > some

.newInstance error

2009-01-05 Thread Justin Johnson
Will someone please explain to me why this isn't working? Is there something special about newInstance that I'm missing? user=> (. org.tmatesoft.svn.core.wc.SVNClientManager newInstance) # user=> (.newInstance org.tmatesoft.svn.core.wc.SVNClientManager) java.lang.InstantiationException: org.tma

Re: Release of VimClojure 1.3.0

2009-01-02 Thread Justin Johnson
rward slashes that would fix it, though I don't know vimscript. :-( On Fri, Jan 2, 2009 at 2:33 PM, Meikel Brandmeyer wrote: > Hi, > > Am 02.01.2009 um 21:06 schrieb Justin Johnson: > > I reinstalled Vim to C:\Vim and reinstalled VimClojure as well. This >> time I don&#

Re: Release of VimClojure 1.3.0

2009-01-02 Thread Justin Johnson
ong, or is it just not working on Windows. Justin On Fri, Jan 2, 2009 at 1:22 PM, Justin Johnson wrote: > It looks like my change below just got rid of the errors. However the > completion functionality is not working. :( > > > On Fri, Jan 2, 2009 at 1:13 PM, Justin Johnson >

Re: Release of VimClojure 1.3.0

2009-01-02 Thread Justin Johnson
It looks like my change below just got rid of the errors. However the completion functionality is not working. :( On Fri, Jan 2, 2009 at 1:13 PM, Justin Johnson wrote: > I got it working by adding double quotes around the path, as can be seen in > the "let" line of th

Re: Release of VimClojure 1.3.0

2009-01-02 Thread Justin Johnson
s . ".txt\""), '\n') if completions != [] call vimclojure#AddPathToOption('k' . completions[0], 'complete') endif endfunction On Fri, Jan 2, 2009 at 10:58 AM, Meikel Brandmeyer wrote: > Hi Justin, > > Am 02.01.2009 um 17:00 schrieb Justin

Re: Release of VimClojure 1.3.0

2009-01-02 Thread Justin Johnson
Hi Meikel, I am running Vim 7.2 on Windows XP and am not able to get the completion working in VimClojure. I get errors when trying to edit a .clj file. These errors always occur unless I comment out the code in clojure.vim that adds the completions. The errors I'm getting with VimClojure 1.3.0

Re: IntelliJ Plugin

2008-12-29 Thread Justin Johnson
d with a mouse click. > > I am currently working on the Parser, which will give us parens matching > and folding, and Compile/Run/Debug/Profile. > > The one big piece I am missing is the REPL. Any help would be appreciated. > > Peter > > > On Wed, Dec 24, 2008 at 4:25 PM, J

IntelliJ Plugin

2008-12-26 Thread Justin Johnson
Hi, Is this the appropriate mailing list to talk about the Clojure IntelliJ plugin? The Google Code site didn't list any other mailing list. http://code.google.com/p/clojure-intellij-plugin/ I went through the process of building and installing the plugin on Windows XP with IntelliJ IDEA 8.0.1