Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-09 Thread kovas boguta
Hi Laurent,

Thanks for the ideas; I'll think about how to implement them with a
sensible API.

I have one question which you might have some expertise on:

How does eclipse / CCW deal with the alt/option key on the Mac?

The issue is that option+key on mac is generally intercepted and turned
into an international unicode character. For instance on my keyboard
option+s gets realized as ß .  (Another major annoyance is that these do
not cause key-events, but rather input-method-events, but I digress)

The hack that I'm using now is to just have a map like {"ß" "s" "∂" "d"
...} to map them back to their original keys, before sending them to the
paredit keymap. The problem is that this mapping is not gonna be consist
for international keyboards.

Rummaging through your code, I could only find keymaps where the meta key
has already been resolved.

Do you have any idea how eclipse achieves this? Is it a matter of SWT
working differently than awt/swing? Or do have any other ideas for a
systematic solution?

Thanks!













On Fri, Aug 9, 2013 at 2:43 PM, Laurent PETIT wrote:

> Hello Kovas,
>
> I had the chance to quickly play a little bit with the widget as
> integrated into nightcode, and it's already really enjoyable !
>
> I think that it would indeed be fair to have a way to put it off.
>
> As a reminder, find below the possibilities of switching it off, as
> currently offereded by Counterclockwise:
>
> - permanently for all the new editors to be opened : a global switch,
> application wide, via the Clojure Editor Preferences Panel
> - toggling it on/off for the current editor : Alt + D  ( D as a
> reminder of "toggle [D]efault editing mode" )
> - block the paredit behavior *just for the next keystroke*, really
> useful when you're lost and REAAALLY want this *damn* paren to be
> deleted without paredit interfering: It's the Esc Key. It only jumps
> out of paredit mode for the next keystroke where paredit would have
> been triggered.
>
> Note that those features are not found in paredit.clj, they are in the
> Eclipse part of Counterclockwise. They are dependent on the state of
> the editor / application.
>
> Note also that the only features that are "disabled" are those that
> "override" the meaning of "code letters": adding parens while typing
> "(" with a selection, etc.
> The features that require an explicit keyboard shortcut such as those
> for slurp/barf/select up-right-left-down/raise over/... are not
> disabled since they don't interfere with classic coding keys.
>
>
> Cheers,
>
> --
> Laurent
>
>
>
>
> 2013/8/6 kovas boguta :
> > Its just a matter of removing the event handlers that got added in the
> first
> > place.
> >
> > I'll think about what the best way of exposing those via the api is.
> >
> > In the meantime feel free to look at the source, its not very complicated
> > when it gets down to the paredit-widget function.
> >
> >
> >
> >
> > On Tue, Aug 6, 2013 at 12:51 PM, Zach Oakes  wrote:
> >>
> >> I'll try adding a way to toggle paredit, but it'll be complicated since
> I
> >> will probably have to re-create and re-load all open files, unless
> >> paredit-widget provides a way to disable paredit from a JTextArea that
> >> previously had it added. As for evaluating selected expressions, I
> >> definitely intend on adding that soon.
> >>
> >>
> >> On Tuesday, August 6, 2013 2:44:51 PM UTC-4, Lee wrote:
> >>>
> >>> On Aug 6, 2013, at 2:15 PM, kovas boguta wrote:
> >>>
> >>> > Cool! I just cloned the repo and tried it out. Seems to work pretty
> >>> > well.
> >>> >
> >>>
> >>> I just tried it too, mainly to see if there was a way to turn paredit
> >>> off... and I don't see one. Is there one? I really dislike paredit.
> >>>
> >>> Also, is there not a way to evaluate a selected expression in the edit
> >>> window, or am I just missing it? I do think that's an important core
> feature
> >>> of Clooj and of most Clojure/Lisp IDEs.
> >>>
> >>>  -Lee
> >>
> >> --
> >> --
> >> 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 unsubscribe from this group and stop receiving emails from it, send
> an
> >> email to clojure+unsubscr...@googlegroups.com.
> >> For more options, visit https://groups.google.com/groups/opt_out.
> >>
> >>
> >
> >
> > --
> > --
> > 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

Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-09 Thread Laurent PETIT
Hello Kovas,

I had the chance to quickly play a little bit with the widget as
integrated into nightcode, and it's already really enjoyable !

I think that it would indeed be fair to have a way to put it off.

As a reminder, find below the possibilities of switching it off, as
currently offereded by Counterclockwise:

- permanently for all the new editors to be opened : a global switch,
application wide, via the Clojure Editor Preferences Panel
- toggling it on/off for the current editor : Alt + D  ( D as a
reminder of "toggle [D]efault editing mode" )
- block the paredit behavior *just for the next keystroke*, really
useful when you're lost and REAAALLY want this *damn* paren to be
deleted without paredit interfering: It's the Esc Key. It only jumps
out of paredit mode for the next keystroke where paredit would have
been triggered.

Note that those features are not found in paredit.clj, they are in the
Eclipse part of Counterclockwise. They are dependent on the state of
the editor / application.

Note also that the only features that are "disabled" are those that
"override" the meaning of "code letters": adding parens while typing
"(" with a selection, etc.
The features that require an explicit keyboard shortcut such as those
for slurp/barf/select up-right-left-down/raise over/... are not
disabled since they don't interfere with classic coding keys.


Cheers,

-- 
Laurent




2013/8/6 kovas boguta :
> Its just a matter of removing the event handlers that got added in the first
> place.
>
> I'll think about what the best way of exposing those via the api is.
>
> In the meantime feel free to look at the source, its not very complicated
> when it gets down to the paredit-widget function.
>
>
>
>
> On Tue, Aug 6, 2013 at 12:51 PM, Zach Oakes  wrote:
>>
>> I'll try adding a way to toggle paredit, but it'll be complicated since I
>> will probably have to re-create and re-load all open files, unless
>> paredit-widget provides a way to disable paredit from a JTextArea that
>> previously had it added. As for evaluating selected expressions, I
>> definitely intend on adding that soon.
>>
>>
>> On Tuesday, August 6, 2013 2:44:51 PM UTC-4, Lee wrote:
>>>
>>> On Aug 6, 2013, at 2:15 PM, kovas boguta wrote:
>>>
>>> > Cool! I just cloned the repo and tried it out. Seems to work pretty
>>> > well.
>>> >
>>>
>>> I just tried it too, mainly to see if there was a way to turn paredit
>>> off... and I don't see one. Is there one? I really dislike paredit.
>>>
>>> Also, is there not a way to evaluate a selected expression in the edit
>>> window, or am I just missing it? I do think that's an important core feature
>>> of Clooj and of most Clojure/Lisp IDEs.
>>>
>>>  -Lee
>>
>> --
>> --
>> 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 unsubscribe from this group and stop receiving emails from it, send an
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
>
> --
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-06 Thread kovas boguta
Its just a matter of removing the event handlers that got added in the
first place.

I'll think about what the best way of exposing those via the api is.

In the meantime feel free to look at the source, its not very complicated
when it gets down to the paredit-widget function.




On Tue, Aug 6, 2013 at 12:51 PM, Zach Oakes  wrote:

> I'll try adding a way to toggle paredit, but it'll be complicated since I
> will probably have to re-create and re-load all open files, unless
> paredit-widget provides a way to disable paredit from a JTextArea that
> previously had it added. As for evaluating selected expressions, I
> definitely intend on adding that soon.
>
>
> On Tuesday, August 6, 2013 2:44:51 PM UTC-4, Lee wrote:
>>
>> On Aug 6, 2013, at 2:15 PM, kovas boguta wrote:
>>
>> > Cool! I just cloned the repo and tried it out. Seems to work pretty
>> well.
>> >
>>
>> I just tried it too, mainly to see if there was a way to turn paredit
>> off... and I don't see one. Is there one? I really dislike paredit.
>>
>> Also, is there not a way to evaluate a selected expression in the edit
>> window, or am I just missing it? I do think that's an important core
>> feature of Clooj and of most Clojure/Lisp IDEs.
>>
>>  -Lee
>
>  --
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-06 Thread Lee Spector

On Aug 6, 2013, at 3:51 PM, Zach Oakes wrote:

> I'll try adding a way to toggle paredit, but it'll be complicated since I 
> will probably have to re-create and re-load all open files, unless 
> paredit-widget provides a way to disable paredit from a JTextArea that 
> previously had it added.

Thanks. FWIW, although I understand the idea and appeal of paredit, and I've 
tried to give a chance many times over many years, it still drives me 
completely nuts. I don't want to go into the pro/con arguments but (again: just 
FWIW as one data point) I wouldn't personally spend any serious amount of time 
in an IDE with mandatory paredit. 

> As for evaluating selected expressions, I definitely intend on adding that 
> soon.

Fabulous.

Thanks so much for working on this!

 -Lee

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-06 Thread Zach Oakes
I'll try adding a way to toggle paredit, but it'll be complicated since I 
will probably have to re-create and re-load all open files, unless 
paredit-widget provides a way to disable paredit from a JTextArea that 
previously had it added. As for evaluating selected expressions, I 
definitely intend on adding that soon.

On Tuesday, August 6, 2013 2:44:51 PM UTC-4, Lee wrote:
>
> On Aug 6, 2013, at 2:15 PM, kovas boguta wrote: 
>
> > Cool! I just cloned the repo and tried it out. Seems to work pretty 
> well. 
> > 
>
> I just tried it too, mainly to see if there was a way to turn paredit 
> off... and I don't see one. Is there one? I really dislike paredit. 
>
> Also, is there not a way to evaluate a selected expression in the edit 
> window, or am I just missing it? I do think that's an important core 
> feature of Clooj and of most Clojure/Lisp IDEs. 
>
>  -Lee

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-06 Thread Lee Spector
On Aug 6, 2013, at 2:15 PM, kovas boguta wrote:

> Cool! I just cloned the repo and tried it out. Seems to work pretty well. 
> 

I just tried it too, mainly to see if there was a way to turn paredit off... 
and I don't see one. Is there one? I really dislike paredit.

Also, is there not a way to evaluate a selected expression in the edit window, 
or am I just missing it? I do think that's an important core feature of Clooj 
and of most Clojure/Lisp IDEs.

 -Lee

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-06 Thread kovas boguta
Cool! I just cloned the repo and tried it out. Seems to work pretty well.



On Tue, Aug 6, 2013 at 11:05 AM, Zach Oakes  wrote:

> OK thanks, that makes sense. I just pushed the commit that adds it to
> Nightcode so hopefully I'll get some feedback on it for the next release.
> Thanks again.
>
>
> On Tuesday, August 6, 2013 1:43:57 PM UTC-4, kovasb wrote:
>
>> I got it from
>>
>> https://github.com/**laurentpetit/ccw/tree/master/**paredit.clj
>>
>> I had to make a change to bump the parsley version
>>
>>
>>
>>
>> On Tue, Aug 6, 2013 at 10:14 AM, Zach Oakes  wrote:
>>
>>> Yeah that's what it is:
>>>
>>> WARNING!!! version ranges found for:
>>> [org.kovas/paredit-widget "0.1.1-SNAPSHOT"] -> [org.kovas/paredit.clj
>>> "0.20.1-SNAPSHOT"] -> [net.cgrand/parsley "0.9.2"] -> [net.cgrand/regex
>>> "1.1.0"] -> [org.clojure/clojure "[1.2.0,)"]
>>>
>>> I guess my only remaining question is whether the paredit.clj library is
>>> available somewhere, so I can take a quick look.
>>>
>>> On Tuesday, August 6, 2013 1:01:43 PM UTC-4, Nelson Morris wrote:
>>>
 It might be a version range somewhere.  `lein deps :tree` in lein 2.2.0
 should show the path to it.  If it doesn't please let me know


 On Tue, Aug 6, 2013 at 11:32 AM, Zach Oakes  wrote:

> Thanks! It seems to work well so far in Nightcode. I noticed it pulled
> down a bunch of older versions of Clojure, but I'm guessing that's because
> you're using a SNAPSHOT version of seesaw in it? Also, I was wondering if
> the other library you use (org.kovas/paredit.clj) was available anywhere 
> --
> I couldn't find it on your Github.
>
>
> On Monday, August 5, 2013 11:52:24 PM UTC-4, kovasb wrote:
>
>> Thanks for the feedback. I just extended the paredit-widget function
>> to be able to consume pre-existing widgets:
>>
>> (p/paredit-widget (javax.swing.JTextArea. "(foo bar)"))
>>
>> fyi right now the implementation isn't taking advantage of parsley's
>> incremental parsing support, and instead is reparsing the text with every
>> paredit command execution. This might be an issue for big files, but is
>> fixable.
>>
>>
>> On Mon, Aug 5, 2013 at 7:51 PM, Zach Oakes  wrote:
>> >
>> > Hi kovasb, I mentioned this in the other thread but it's best to
>> ask here: Can you provide a way to pass an existing JTextArea to it, 
>> rather
>> than instantiating your own?
>> >
>> > --
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Clojure" group.
>> > To post to this group, send email to clo...@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+u...@**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 unsubscribe from this group and stop receiving emails from it,
>> send an email to clojure+u...@**googlegroups.com.
>>
>> > For more options, visit https://groups.google.com/**grou
>> ps/opt_out .
>> >
>> >
>>
>  --
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@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+u...@**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 unsubscribe from this group and stop receiving emails from it, send
> an email to clojure+u...@**googlegroups.com.
> For more options, visit 
> https://groups.google.com/**grou**ps/opt_out
> .
>
>
>

  --
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clo...@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+u...@**googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/**group/clojure?hl=en
>>> ---
>>> You received this message because you are 

Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-06 Thread Zach Oakes
OK thanks, that makes sense. I just pushed the commit that adds it to 
Nightcode so hopefully I'll get some feedback on it for the next release. 
Thanks again.

On Tuesday, August 6, 2013 1:43:57 PM UTC-4, kovasb wrote:
>
> I got it from 
>
> https://github.com/laurentpetit/ccw/tree/master/paredit.clj
>
> I had to make a change to bump the parsley version
>
>
>
>
> On Tue, Aug 6, 2013 at 10:14 AM, Zach Oakes 
> > wrote:
>
>> Yeah that's what it is:
>>
>> WARNING!!! version ranges found for:
>> [org.kovas/paredit-widget "0.1.1-SNAPSHOT"] -> [org.kovas/paredit.clj 
>> "0.20.1-SNAPSHOT"] -> [net.cgrand/parsley "0.9.2"] -> [net.cgrand/regex 
>> "1.1.0"] -> [org.clojure/clojure "[1.2.0,)"]
>>
>> I guess my only remaining question is whether the paredit.clj library is 
>> available somewhere, so I can take a quick look.
>>
>> On Tuesday, August 6, 2013 1:01:43 PM UTC-4, Nelson Morris wrote:
>>
>>> It might be a version range somewhere.  `lein deps :tree` in lein 2.2.0 
>>> should show the path to it.  If it doesn't please let me know
>>>
>>>
>>> On Tue, Aug 6, 2013 at 11:32 AM, Zach Oakes  wrote:
>>>
 Thanks! It seems to work well so far in Nightcode. I noticed it pulled 
 down a bunch of older versions of Clojure, but I'm guessing that's because 
 you're using a SNAPSHOT version of seesaw in it? Also, I was wondering if 
 the other library you use (org.kovas/paredit.clj) was available anywhere 
 -- 
 I couldn't find it on your Github.


 On Monday, August 5, 2013 11:52:24 PM UTC-4, kovasb wrote:

> Thanks for the feedback. I just extended the paredit-widget function 
> to be able to consume pre-existing widgets:
>
> (p/paredit-widget (javax.swing.JTextArea. "(foo bar)")) 
>
> fyi right now the implementation isn't taking advantage of parsley's 
> incremental parsing support, and instead is reparsing the text with every 
> paredit command execution. This might be an issue for big files, but is 
> fixable. 
>
>
> On Mon, Aug 5, 2013 at 7:51 PM, Zach Oakes  wrote:
> >
> > Hi kovasb, I mentioned this in the other thread but it's best to ask 
> here: Can you provide a way to pass an existing JTextArea to it, rather 
> than instantiating your own?
> >
> > --
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Clojure" group.
> > To post to this group, send email to clo...@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+u...@**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 unsubscribe from this group and stop receiving emails from it, 
> send an email to clojure+u...@**googlegroups.com.
>
> > For more options, visit 
> > https://groups.google.com/**grou**ps/opt_out
> .
> >
> >
>
  -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups "Clojure" group.
 To post to this group, send email to clo...@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+u...@**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 unsubscribe from this group and stop receiving emails from it, send 
 an email to clojure+u...@**googlegroups.com.
 For more options, visit 
 https://groups.google.com/**groups/opt_out
 .
  
  

>>>
>>>  -- 
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@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+u...@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 unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Gr

Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-06 Thread kovas boguta
On Tue, Aug 6, 2013 at 12:46 AM, Laurent PETIT wrote:

>
>
> Le mardi 6 août 2013, kovas boguta a écrit :
>
> https://github.com/kovasb/paredit-widget
>>
>> This is a simple project that does the obvious: provide a simple widget
>> that implements paredit. It is intended to be embedded as part of other
>> applications, and thus is minimal.
>>
>> This is a rough cut and contributions welcome, particularly for
>> cross-platform issues. (would also love to have rainbow parens :)
>>
>> The bulk of the work is done by Laurent's paredit.clj ; this just
>> provides a thin swing UI wrapper so that one can actually interact with it.
>>
>> The bigger idea is that code editing should be available a la carte.
>>
>
> Nice ! I from the beginning had taken care of separating paredit.clj for
> this exact reason, but never took the time to write the swing component.
> Thanks Kovas!
>
> I'm on holidays so won't be able to work on this during August, but of
> course I'll be more than willing to help where I can when I'm back.
> Probably trying to make the interface more explicit, learn & adapt from
> your feedback, etc.
>

Thanks Laurent! Wouldn't have been possible without your paredit.clj. So
far I've found it very nice to work with.

I'm sure I'll come up with some better suggestions later, but an immediate
issue is that it would be nice to have updated paredit.clj artifacts on
clojars (those artifacts are dated, and right now it seems there are 2
separate repositories for paredit.clj, and they don't work out of the box
due to an easily solved parsley issue)

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-06 Thread kovas boguta
I got it from

https://github.com/laurentpetit/ccw/tree/master/paredit.clj

I had to make a change to bump the parsley version




On Tue, Aug 6, 2013 at 10:14 AM, Zach Oakes  wrote:

> Yeah that's what it is:
>
> WARNING!!! version ranges found for:
> [org.kovas/paredit-widget "0.1.1-SNAPSHOT"] -> [org.kovas/paredit.clj
> "0.20.1-SNAPSHOT"] -> [net.cgrand/parsley "0.9.2"] -> [net.cgrand/regex
> "1.1.0"] -> [org.clojure/clojure "[1.2.0,)"]
>
> I guess my only remaining question is whether the paredit.clj library is
> available somewhere, so I can take a quick look.
>
> On Tuesday, August 6, 2013 1:01:43 PM UTC-4, Nelson Morris wrote:
>
>> It might be a version range somewhere.  `lein deps :tree` in lein 2.2.0
>> should show the path to it.  If it doesn't please let me know
>>
>>
>> On Tue, Aug 6, 2013 at 11:32 AM, Zach Oakes  wrote:
>>
>>> Thanks! It seems to work well so far in Nightcode. I noticed it pulled
>>> down a bunch of older versions of Clojure, but I'm guessing that's because
>>> you're using a SNAPSHOT version of seesaw in it? Also, I was wondering if
>>> the other library you use (org.kovas/paredit.clj) was available anywhere --
>>> I couldn't find it on your Github.
>>>
>>>
>>> On Monday, August 5, 2013 11:52:24 PM UTC-4, kovasb wrote:
>>>
 Thanks for the feedback. I just extended the paredit-widget function to
 be able to consume pre-existing widgets:

 (p/paredit-widget (javax.swing.JTextArea. "(foo bar)"))

 fyi right now the implementation isn't taking advantage of parsley's
 incremental parsing support, and instead is reparsing the text with every
 paredit command execution. This might be an issue for big files, but is
 fixable.


 On Mon, Aug 5, 2013 at 7:51 PM, Zach Oakes  wrote:
 >
 > Hi kovasb, I mentioned this in the other thread but it's best to ask
 here: Can you provide a way to pass an existing JTextArea to it, rather
 than instantiating your own?
 >
 > --
 > --
 > You received this message because you are subscribed to the Google
 > Groups "Clojure" group.
 > To post to this group, send email to clo...@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+u...@**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 unsubscribe from this group and stop receiving emails from it,
 send an email to clojure+u...@**googlegroups.com.

 > For more options, visit 
 > https://groups.google.com/**grou**ps/opt_out
 .
 >
 >

>>>  --
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clo...@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+u...@**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 unsubscribe from this group and stop receiving emails from it, send
>>> an email to clojure+u...@**googlegroups.com.
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out
>>> .
>>>
>>>
>>>
>>
>>  --
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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

Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-06 Thread Zach Oakes
Yeah that's what it is:

WARNING!!! version ranges found for:
[org.kovas/paredit-widget "0.1.1-SNAPSHOT"] -> [org.kovas/paredit.clj 
"0.20.1-SNAPSHOT"] -> [net.cgrand/parsley "0.9.2"] -> [net.cgrand/regex 
"1.1.0"] -> [org.clojure/clojure "[1.2.0,)"]

I guess my only remaining question is whether the paredit.clj library is 
available somewhere, so I can take a quick look.

On Tuesday, August 6, 2013 1:01:43 PM UTC-4, Nelson Morris wrote:
>
> It might be a version range somewhere.  `lein deps :tree` in lein 2.2.0 
> should show the path to it.  If it doesn't please let me know
>
>
> On Tue, Aug 6, 2013 at 11:32 AM, Zach Oakes 
> > wrote:
>
>> Thanks! It seems to work well so far in Nightcode. I noticed it pulled 
>> down a bunch of older versions of Clojure, but I'm guessing that's because 
>> you're using a SNAPSHOT version of seesaw in it? Also, I was wondering if 
>> the other library you use (org.kovas/paredit.clj) was available anywhere -- 
>> I couldn't find it on your Github.
>>
>>
>> On Monday, August 5, 2013 11:52:24 PM UTC-4, kovasb wrote:
>>
>>> Thanks for the feedback. I just extended the paredit-widget function to 
>>> be able to consume pre-existing widgets:
>>>
>>> (p/paredit-widget (javax.swing.JTextArea. "(foo bar)")) 
>>>
>>> fyi right now the implementation isn't taking advantage of parsley's 
>>> incremental parsing support, and instead is reparsing the text with every 
>>> paredit command execution. This might be an issue for big files, but is 
>>> fixable. 
>>>
>>>
>>> On Mon, Aug 5, 2013 at 7:51 PM, Zach Oakes  wrote:
>>> >
>>> > Hi kovasb, I mentioned this in the other thread but it's best to ask 
>>> here: Can you provide a way to pass an existing JTextArea to it, rather 
>>> than instantiating your own?
>>> >
>>> > --
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> > Groups "Clojure" group.
>>> > To post to this group, send email to clo...@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+u...@**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 unsubscribe from this group and stop receiving emails from it, 
>>> send an email to clojure+u...@**googlegroups.com.
>>>
>>> > For more options, visit 
>>> > https://groups.google.com/**groups/opt_out
>>> .
>>> >
>>> >
>>>
>>  -- 
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@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+u...@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 unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-06 Thread Nelson Morris
It might be a version range somewhere.  `lein deps :tree` in lein 2.2.0
should show the path to it.  If it doesn't please let me know


On Tue, Aug 6, 2013 at 11:32 AM, Zach Oakes  wrote:

> Thanks! It seems to work well so far in Nightcode. I noticed it pulled
> down a bunch of older versions of Clojure, but I'm guessing that's because
> you're using a SNAPSHOT version of seesaw in it? Also, I was wondering if
> the other library you use (org.kovas/paredit.clj) was available anywhere --
> I couldn't find it on your Github.
>
>
> On Monday, August 5, 2013 11:52:24 PM UTC-4, kovasb wrote:
>
>> Thanks for the feedback. I just extended the paredit-widget function to
>> be able to consume pre-existing widgets:
>>
>> (p/paredit-widget (javax.swing.JTextArea. "(foo bar)"))
>>
>> fyi right now the implementation isn't taking advantage of parsley's
>> incremental parsing support, and instead is reparsing the text with every
>> paredit command execution. This might be an issue for big files, but is
>> fixable.
>>
>>
>> On Mon, Aug 5, 2013 at 7:51 PM, Zach Oakes  wrote:
>> >
>> > Hi kovasb, I mentioned this in the other thread but it's best to ask
>> here: Can you provide a way to pass an existing JTextArea to it, rather
>> than instantiating your own?
>> >
>> > --
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Clojure" group.
>> > To post to this group, send email to clo...@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+u...@**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 unsubscribe from this group and stop receiving emails from it, send
>> an email to clojure+u...@**googlegroups.com.
>>
>> > For more options, visit 
>> > https://groups.google.com/**groups/opt_out
>> .
>> >
>> >
>>
>  --
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-06 Thread Zach Oakes
Thanks! It seems to work well so far in Nightcode. I noticed it pulled down 
a bunch of older versions of Clojure, but I'm guessing that's because 
you're using a SNAPSHOT version of seesaw in it? Also, I was wondering if 
the other library you use (org.kovas/paredit.clj) was available anywhere -- 
I couldn't find it on your Github.

On Monday, August 5, 2013 11:52:24 PM UTC-4, kovasb wrote:
>
> Thanks for the feedback. I just extended the paredit-widget function to be 
> able to consume pre-existing widgets:
>
> (p/paredit-widget (javax.swing.JTextArea. "(foo bar)")) 
>
> fyi right now the implementation isn't taking advantage of parsley's 
> incremental parsing support, and instead is reparsing the text with every 
> paredit command execution. This might be an issue for big files, but is 
> fixable. 
>
>
> On Mon, Aug 5, 2013 at 7:51 PM, Zach Oakes > 
> wrote:
> >
> > Hi kovasb, I mentioned this in the other thread but it's best to ask 
> here: Can you provide a way to pass an existing JTextArea to it, rather 
> than instantiating your own?
> >
> > --
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Clojure" group.
> > To post to this group, send email to clo...@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+u...@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 unsubscribe from this group and stop receiving emails from it, send 
> an email to clojure+u...@googlegroups.com .
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
>

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-06 Thread Laurent PETIT
Le mardi 6 août 2013, kovas boguta a écrit :

> https://github.com/kovasb/paredit-widget
>
> This is a simple project that does the obvious: provide a simple widget
> that implements paredit. It is intended to be embedded as part of other
> applications, and thus is minimal.
>
> This is a rough cut and contributions welcome, particularly for
> cross-platform issues. (would also love to have rainbow parens :)
>
> The bulk of the work is done by Laurent's paredit.clj ; this just provides
> a thin swing UI wrapper so that one can actually interact with it.
>
> The bigger idea is that code editing should be available a la carte.
>

Nice ! I from the beginning had taken care of separating paredit.clj for
this exact reason, but never took the time to write the swing component.
Thanks Kovas!

I'm on holidays so won't be able to work on this during August, but of
course I'll be more than willing to help where I can when I'm back.
Probably trying to make the interface more explicit, learn & adapt from
your feedback, etc.


>
> Tying something as fundamental as code editing together with IDE concerns
> (file & project management, artifact generation, debugging, etc)  is a
> mistake with profound consequences.
>
>
>
>
> --
> --
> 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 '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  'clojure%2bunsubscr...@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 unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com  'clojure%2bunsubscr...@googlegroups.com');>.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-05 Thread kovas boguta
Thanks for the feedback. I just extended the paredit-widget function to be
able to consume pre-existing widgets:

(p/paredit-widget (javax.swing.JTextArea. "(foo bar)"))

fyi right now the implementation isn't taking advantage of parsley's
incremental parsing support, and instead is reparsing the text with every
paredit command execution. This might be an issue for big files, but is
fixable.


On Mon, Aug 5, 2013 at 7:51 PM, Zach Oakes  wrote:
>
> Hi kovasb, I mentioned this in the other thread but it's best to ask
here: Can you provide a way to pass an existing JTextArea to it, rather
than instantiating your own?
>
> --
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-05 Thread Zach Oakes
Hi kovasb, I mentioned this in the other thread but it's best to ask here: Can 
you provide a way to pass an existing JTextArea to it, rather than 
instantiating your own?

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-05 Thread kovas boguta
On Mon, Aug 5, 2013 at 6:55 PM, John D. Hume wrote:

> On Mon, Aug 5, 2013 at 8:37 PM, kovas boguta wrote:
>
>> https://github.com/kovasb/paredit-widget
>>
>
>
>> The bigger idea is that code editing should be available a la carte.
>>
>> Tying something as fundamental as code editing together with IDE concerns
>> (file & project management, artifact generation, debugging, etc)  is a
>> mistake with profound consequences.
>>
>
> That's an interesting idea. How would you envision interactions like "jump
> to definition" or even auto-completion working in an editor decoupled from
> IDE concerns?
>

The IDE keeps track of what the global set of definitions is and where they
are. It can easily issue a command to the editor to scroll to a place, or
feed the editor a list of possible completions.

What is part of the editor API is an open question, but I think supporting
the basics for tooltips, syntax highlighting, autocompletion is good as
long as it is data-driven.

It would also make sense to have good integration between the editor and
the model (eg the parsley parse tree) so that one could easily direct the
editor to highlight a piece of the tree in a certain way, but I think the
model should sit outside the editor per se.

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-05 Thread John D. Hume
On Mon, Aug 5, 2013 at 8:55 PM, John D. Hume wrote:

> ICE concerns?
>
IDE concerns.

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-05 Thread John D. Hume
On Mon, Aug 5, 2013 at 8:37 PM, kovas boguta  wrote:

> https://github.com/kovasb/paredit-widget
>


> The bigger idea is that code editing should be available a la carte.
>
> Tying something as fundamental as code editing together with IDE concerns
> (file & project management, artifact generation, debugging, etc)  is a
> mistake with profound consequences.
>

That's an interesting idea. How would you envision interactions like "jump
to definition" or even auto-completion working in an editor decoupled from
ICE concerns?

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-05 Thread kovas boguta
https://github.com/kovasb/paredit-widget

This is a simple project that does the obvious: provide a simple widget
that implements paredit. It is intended to be embedded as part of other
applications, and thus is minimal.

This is a rough cut and contributions welcome, particularly for
cross-platform issues. (would also love to have rainbow parens :)

The bulk of the work is done by Laurent's paredit.clj ; this just provides
a thin swing UI wrapper so that one can actually interact with it.

The bigger idea is that code editing should be available a la carte.

Tying something as fundamental as code editing together with IDE concerns
(file & project management, artifact generation, debugging, etc)  is a
mistake with profound consequences.

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.