Re: jEdit Mode for Clojure

2008-12-22 Thread Chouser
On Tue, Dec 16, 2008 at 2:22 AM, Daniel Spiewak wrote: > > Proper regexp highlighting would be nice, but as I mentioned, I'm not > sure what the "correct" way to handle this may be. Are regular > expressions actually handled specially in the reader? If not, then we > should probably just reuse

Re: jEdit Mode for Clojure

2008-12-15 Thread Daniel Spiewak
Also, it's worth noting that my trick to highlight def-initions probably isn't going to work if we have hierarchical parsing of S- expressions. I'm not entirely sure how jEdit is going to handle certain cases if we try to merge the two. It might be possible to make it work, but I suspect that jE

Re: jEdit Mode for Clojure

2008-12-15 Thread Daniel Spiewak
> I been thinking about this during the weekend, and I think I prefer the mode > to be aware of nesting (unless you can cause it to blow the stack on a large Well, this would be my question: why? :-) Auto-indent needs to be aware of nesting, but that's already handled in a separate pass from th

Re: jEdit Mode for Clojure

2008-12-15 Thread David Moss
I been thinking about this during the weekend, and I think I prefer the mode to be aware of nesting (unless you can cause it to blow the stack on a large file or something, which I think would be unlikely anyway), so I'm going to take the keywords from your mode and bolt on the set structures I had

Re: jEdit Mode for Clojure

2008-12-13 Thread David Moss
I've had a really quick look at your mode, it looks good, and I like the regularity in keyword highlighting. I'm going to have a proper look sometime later on the weekend and will get back to you when I have done. Kind Regards, David. 2008/12/12 Daniel Spiewak > > Sounds like a good plan. :-

Re: jEdit Mode for Clojure

2008-12-12 Thread Daniel Spiewak
Sounds like a good plan. :-) At the moment, I think that what's in the mode is pretty solid, meaning I don't have anything planned to refine it further. (except for regexp syntax, which I don't know anything about) So, if you want to evaluate it now, that'd be great! As a minor aside, I don't

Re: jEdit Mode for Clojure

2008-12-12 Thread David Moss
Daniel, To be honest, the colours are the least important, much more relevant is that structures are recursed properly and that the base language is defined. Let me know how you get on refining your mode and I'll have a look. When we have agreed on something I can update the jedit patch so we hav

Re: jEdit Mode for Clojure

2008-12-12 Thread Daniel Spiewak
Which highlighting does it use? Daniel On Dec 12, 5:10 am, blackdog wrote: > If anyone on this thread is interested I uploaded clj-jedit.tar.gz to > the group file section on an incompletejeditplugin for clojure. It > has the hilighting, repl, and namespace browser (courtesy of enclojure) > - a

Re: jEdit Mode for Clojure

2008-12-12 Thread blackdog
If anyone on this thread is interested I uploaded clj-jedit.tar.gz to the group file section on an incomplete jedit plugin for clojure. It has the hilighting, repl, and namespace browser (courtesy of enclojure) - anyone want to take it on and improve it, I don't have time right now?? It was based

Re: jEdit Mode for Clojure

2008-12-11 Thread Daniel Spiewak
I merged in all the interesting stuff from David Moss's Clojure jEdit mode. We do highlight things in very different colors, but all of the elements that his recognizes are also recognized by mine now. Also, I fixed the annoying issue with def: (def this)(def that) The above now highlights cor

Re: jEdit Mode for Clojure

2008-12-11 Thread Randall R Schulz
On Thursday 11 December 2008 12:54, Daniel Spiewak wrote: > > Where do we find your latest version? Or do you want / need to > > refine it further? > > I'm constantly messing around with it and trying to make it a little > better. The very latest version is always here: > http://github.com/djspie

Re: jEdit Mode for Clojure

2008-12-11 Thread Daniel Spiewak
> Where do we find your latest version? Or do you want / need to refine it > further? I'm constantly messing around with it and trying to make it a little better. The very latest version is always here: http://github.com/djspiewak/jedit-modes/tree/master/clojure.xml Daniel --~--~-~--~--

Re: jEdit Mode for Clojure

2008-12-11 Thread Daniel Spiewak
> Hi, just saw this thread. I had made some modifications to the edit mode and > uploaded it for inclusion (as a patch) > here:http://sourceforge.net/tracker/index.php?func=detail&aid=2201893&grou... > . > > I haven't checked the status in a while as my internet is very intermittent > ATM. Please

Re: jEdit Mode for Clojure

2008-12-11 Thread Randall R Schulz
On Thursday 11 December 2008 12:54, Daniel Spiewak wrote: > > Where do we find your latest version? Or do you want / need to > > refine it further? > > I'm constantly messing around with it and trying to make it a little > better. The very latest version is always here: > http://github.com/djspie

Re: jEdit Mode for Clojure

2008-12-11 Thread David Moss
Hi, just saw this thread. I had made some modifications to the edit mode and uploaded it for inclusion (as a patch) here: http://sourceforge.net/tracker/index.php?func=detail&aid=2201893&group_id=588&atid=300588 . I haven't checked the status in a while as my internet is very intermittent ATM. Ple

Re: jEdit Mode for Clojure

2008-12-11 Thread Randall R Schulz
On Thursday 11 December 2008 10:34, Daniel Spiewak wrote: > It's been too long since I've looked at this thread... > > I took a look at the mode you linked. My mode is quite a bit more > powerful, particularly with the changes I added today. ... Where do we find your latest version? Or do you w

Re: jEdit Mode for Clojure

2008-12-11 Thread Daniel Spiewak
Oh, also I should mention that I found the magic incantation to make auto-indentation work perfectly. It handles multiple unindents just fine now. Daniel On Dec 11, 12:34 pm, Daniel Spiewak wrote: > It's been too long since I've looked at this thread... > > I took a look at the mode you linked

Re: jEdit Mode for Clojure

2008-12-11 Thread Daniel Spiewak
It's been too long since I've looked at this thread... I took a look at the mode you linked. My mode is quite a bit more powerful, particularly with the changes I added today. The linked mode does do some highlighting of special forms like @[...] that mine doesn't do yet, mainly because I didn'

Re: jEdit Mode for Clojure

2008-11-23 Thread Patrick Wright
FYI, another developer has been working on an edit mode for clojure. You can download it from http://sourceforge.net/tracker/?func=detail&atid=300588&aid=2201893&group_id=588 See also this thread http://www.nabble.com/Edit-mode-for-Clojure-ts20168077.html#a20168077 Note that the version in the j

Re: jEdit Mode for Clojure

2008-11-06 Thread Daniel Spiewak
osan <[EMAIL PROTECTED]> wrote: > Daniel wrote > > > Mostly for amusement, I created a jEdit mode for Clojure a while > > back.  I don't get a chance to play with Clojure all that much, so it > > hasn't been heavily tested ("go-to" *is* a Clo

Re: jEdit Mode for Clojure

2008-11-06 Thread tkosan
Daniel wrote > Mostly for amusement, I created a jEdit mode for Clojure a while > back.  I don't get a chance to play with Clojure all that much, so it > hasn't been heavily tested ("go-to" *is* a Clojure "keyword", > right?).  ;-)  It's pri

jEdit Mode for Clojure

2008-11-05 Thread Daniel Spiewak
Just thought it was about time I gave someone a heads up about this... Mostly for amusement, I created a jEdit mode for Clojure a while back. I don't get a chance to play with Clojure all that much, so it hasn't been heavily tested ("go-to" *is* a Clojure "keyw