Re: jEdit Mode for Clojure

2008-12-22 Thread Chouser
On Tue, Dec 16, 2008 at 2:22 AM, Daniel Spiewak djspie...@gmail.com 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

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

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 the

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

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 djspie...@gmail.com Sounds

Re: jEdit Mode for Clojure

2008-12-12 Thread Daniel Spiewak
Which highlighting does it use? Daniel On Dec 12, 5:10 am, blackdog black...@ipowerhouse.com 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

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

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

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 djspie...@gmail.com wrote: It's been too long since I've looked at this thread... I took a look at

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 want

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=detailaid=2201893group_id=588atid=300588 . I haven't checked the status in a while as my internet is very intermittent ATM.

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:

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=detailaid=2201893grou... . I haven't checked the status in a while as my internet is very intermittent ATM. Please let me

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 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:

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

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=detailatid=300588aid=2201893group_id=588 See also this thread http://www.nabble.com/Edit-mode-for-Clojure-ts20168077.html#a20168077 Note that the version in the

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 primarily based upon the Vim mode in terms of what keywords

Re: jEdit Mode for Clojure

2008-11-06 Thread Daniel Spiewak
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 primarily based upon the Vim mode in terms of what keywords it supports and how

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 keyword, right?). ;-) It's primarily