Re: auto-indent in Counterclockwise

2010-07-09 Thread Laurent PETIT
2010/7/9 B Smith-Mannschott bsmith.o...@gmail.com On Thu, Jul 8, 2010 at 17:13, Laurent PETIT laurent.pe...@gmail.com wrote: 2010/7/8 Lee Spector lspec...@hampshire.edu On Jul 8, 2010, at 10:31 AM, Laurent PETIT wrote: What you first describe is odd. Is this a Mac particularity ?

Re: auto-indent in Counterclockwise

2010-07-09 Thread Michael Wood
Hi On 9 July 2010 08:53, Laurent PETIT laurent.pe...@gmail.com wrote: [...] 2010/7/8 Lee Spector lspec...@hampshire.edu [...] Aha! It is now working for me on a mac and with control-space, getting ^ a popup menu exactly as you say and as I want! Perhaps I

Re: auto-indent in Counterclockwise

2010-07-09 Thread Laurent PETIT
2010/7/9 Michael Wood esiot...@gmail.com Hi On 9 July 2010 08:53, Laurent PETIT laurent.pe...@gmail.com wrote: [...] 2010/7/8 Lee Spector lspec...@hampshire.edu [...] Aha! It is now working for me on a mac and with control-space, getting ^ a popup menu

Re: auto-indent in Counterclockwise

2010-07-09 Thread Michael Wood
On 9 July 2010 11:17, Laurent PETIT laurent.pe...@gmail.com wrote: [...] Isn't it formidable that I automatically overlook the typos :-) It can be a blessing or a curse :) -- Michael Wood esiot...@gmail.com -- You received this message because you are subscribed to the Google Groups Clojure

Re: auto-indent in Counterclockwise

2010-07-09 Thread Lee Spector
Sorry for the typo -- I did indeed mean control-space throughout, and CCW is doing what everyone seems to think is right on this (control-space for symbol completion). -Lee On Jul 9, 2010, at 7:00 AM, Michael Wood wrote: On 9 July 2010 11:17, Laurent PETIT laurent.pe...@gmail.com wrote:

Re: auto-indent in Counterclockwise

2010-07-08 Thread Lee Spector
I spent a bunch of time today in CCW 0.0.59.RC2, in default mode, and thought I'd report my experience: - Lots of very nice features and I really appreciate having this -- please don't take my criticisms below in the wrong way! - There are some cases in which the indentation doesn't follow

Re: auto-indent in Counterclockwise

2010-07-08 Thread Laurent PETIT
Hi Lee, Again, thanks for a thourough and constructive feedback ! 2010/7/8 Lee Spector lspec...@hampshire.edu I spent a bunch of time today in CCW 0.0.59.RC2, in default mode, and thought I'd report my experience: - Lots of very nice features and I really appreciate having this -- please

Re: auto-indent in Counterclockwise

2010-07-08 Thread Lee Spector
Laurent, Thanks for all of the helpful replies. Just one clarification: On Jul 8, 2010, at 3:37 AM, Laurent PETIT wrote: BTW, is there a way to get a popup menu of the options, or some other listing of them without going through them one by one? There is already a Clojure menu and a

Re: auto-indent in Counterclockwise

2010-07-08 Thread Laurent PETIT
2010/7/8 Lee Spector lspec...@hampshire.edu Laurent, Thanks for all of the helpful replies. Just one clarification: On Jul 8, 2010, at 3:37 AM, Laurent PETIT wrote: BTW, is there a way to get a popup menu of the options, or some other listing of them without going through them one by

Re: auto-indent in Counterclockwise

2010-07-08 Thread Lee Spector
On Jul 8, 2010, at 10:31 AM, Laurent PETIT wrote: What you first describe is odd. Is this a Mac particularity ? On Windows/Linux, Hitting Ctrl+Space_bar results in showing a popup with all the possible completions. If there is only one completion that ccw is aware of, then no popup is

Re: auto-indent in Counterclockwise

2010-07-08 Thread Laurent PETIT
2010/7/8 Lee Spector lspec...@hampshire.edu On Jul 8, 2010, at 10:31 AM, Laurent PETIT wrote: What you first describe is odd. Is this a Mac particularity ? On Windows/Linux, Hitting Ctrl+Space_bar results in showing a popup with all the possible completions. If there is only one

Re: auto-indent in Counterclockwise

2010-07-08 Thread Steven E. Harris
Laurent PETIT laurent.pe...@gmail.com writes: When you say that it's hard ... '[' and ']' ..., you're talking about the original paredit.el in emacs? Actually, I was talking both about the current Emacs Lisp editing library (where `move-past-close-and-reindent' is defined) and the most recent

Re: auto-indent in Counterclockwise

2010-07-08 Thread B Smith-Mannschott
On Thu, Jul 8, 2010 at 17:13, Laurent PETIT laurent.pe...@gmail.com wrote: 2010/7/8 Lee Spector lspec...@hampshire.edu On Jul 8, 2010, at 10:31 AM, Laurent PETIT wrote: What you first describe is odd. Is this a Mac particularity ? On Windows/Linux, Hitting Ctrl+Space_bar results in showing

Re: auto-indent in Counterclockwise

2010-07-08 Thread Chas Emerick
On Jul 9, 2010, at 12:55 AM, B Smith-Mannschott wrote: command-space on the mac is used by the system to open the spotlight search field from the menu bar. It would be best not to bind it in Eclipse as this will mean the user must either rebind the spotlight shortcut, or your eclipse shortcut

Re: auto-indent in Counterclockwise

2010-07-07 Thread Laurent PETIT
Steven, I did not know this page, thanks for the link. But to make it really clear: move-past-close-and-reindent is exactly what counterclockwise's is doing in Strict edition mode (not totally true concerning the reindentation, currently in ccw it is only reorganizing closing brackets by removing

Re: auto-indent in Counterclockwise

2010-07-07 Thread Steven E. Harris
Laurent PETIT laurent.pe...@gmail.com writes: But to make it really clear: move-past-close-and-reindent is exactly what counterclockwise's is doing in Strict edition mode (not totally true concerning the reindentation, currently in ccw it is only reorganizing closing brackets by removing

Re: auto-indent in Counterclockwise

2010-07-07 Thread Laurent PETIT
2010/7/8 Steven E. Harris s...@panix.com Laurent PETIT laurent.pe...@gmail.com writes: But to make it really clear: move-past-close-and-reindent is exactly what counterclockwise's is doing in Strict edition mode (not totally true concerning the reindentation, currently in ccw it is only

Re: auto-indent in Counterclockwise

2010-07-06 Thread Chas Emerick
On Jul 6, 2010, at 1:35 AM, Laurent PETIT wrote: 2010/7/6 Sean Corfield seancorfi...@gmail.com: On Mon, Jul 5, 2010 at 9:24 PM, Sean Corfield seancorfi...@gmail.com wrote: No, I hadn't found it painful in my brief run around with CCW over the last few days... I hadn't even noticed the

Re: auto-indent in Counterclockwise

2010-07-06 Thread Laurent PETIT
2010/7/6 Chas Emerick cemer...@snowtide.com: On Jul 6, 2010, at 1:35 AM, Laurent PETIT wrote: 2010/7/6 Sean Corfield seancorfi...@gmail.com: On Mon, Jul 5, 2010 at 9:24 PM, Sean Corfield seancorfi...@gmail.com wrote: No, I hadn't found it painful in my brief run around with CCW over the

Re: auto-indent in Counterclockwise

2010-07-06 Thread Lee Spector
On Jul 6, 2010, at 1:35 AM, Laurent PETIT wrote: Seems like people definitely don't like automatic closing bracket insertion in the default mode. Guess I'm gonna remove this from the default mode then, if it does more harm than anything ... Will there still be auto-indenting during typing,

Re: auto-indent in Counterclockwise

2010-07-06 Thread Laurent PETIT
2010/7/6 Lee Spector lspec...@hampshire.edu: On Jul 6, 2010, at 1:35 AM, Laurent PETIT wrote: Seems like people definitely don't like automatic closing bracket insertion in the default mode. Guess I'm gonna remove this from the default mode then, if it does more harm than anything ...

Re: auto-indent in Counterclockwise

2010-07-06 Thread Steven E. Harris
Laurent PETIT laurent.pe...@gmail.com writes: I think it's a good feature, *if* typing the closing bracket/paren just resulted in cursoring over the one that'd already been inserted. ? See the Emacs function `move-past-close-and-reindent'. It works as the obvious counterpart to the function

Re: auto-indent in Counterclockwise

2010-07-05 Thread Chas Emerick
On Jul 4, 2010, at 4:10 PM, Laurent PETIT wrote: I know talk is cheap and beggars can't be choosers, etc., but FWIW I would prefer to have something close to the default mode but with tab (or some other key) The default reindent line keyboard shortcut in Eclipse is Ctrl+I. Would this be

Re: auto-indent in Counterclockwise

2010-07-05 Thread Laurent PETIT
Hi Chas, 2010/7/5 Chas Emerick cemer...@snowtide.com: On Jul 4, 2010, at 4:10 PM, Laurent PETIT wrote: I know talk is cheap and beggars can't be choosers, etc., but FWIW I would prefer to have something close to the default mode but with tab (or some other key) The default reindent line

Re: auto-indent in Counterclockwise

2010-07-05 Thread Laurent PETIT
2010/7/5 Lee Spector lspec...@hampshire.edu: On Jul 4, 2010, at 6:46 PM, Laurent PETIT wrote: I guess I could make the Tab-as-indent-line behavior go back to the default mode, and introduce the Esc.-as-no-interpretation-by-the-editor-for-the-nex-keystroke . So people wanting to insert a

Re: auto-indent in Counterclockwise

2010-07-05 Thread Laurent PETIT
OK. Concerning the specific indent line issue, I guess I'll finally do the following : * align the default way of re-indenting a line with the Eclipse standard, e.g. Ctrl+I on Windows/Linux (what is it for Mac ?) * this way this can be overriden by the user via the Window Preferences

Re: auto-indent in Counterclockwise

2010-07-05 Thread Lee Spector
On Jul 5, 2010, at 4:49 PM, Laurent PETIT wrote: But I could define both Tab and Ctrl+I (the eclipse's way of reindenting, though I find it pretty hard to use on a regular basis) for reindenting the current line. inc Are there objections to defining both to do re-indentation? Eclipse

Re: auto-indent in Counterclockwise

2010-07-05 Thread Lee Spector
On Jul 5, 2010, at 4:52 PM, Laurent PETIT wrote: Sorry if I offensed you by suggesting you didn't get the virtues of homoïconicity ! I would love to hear details on what a good structure editor (not just a semi-editor like paredit) looks like ! No offense taken. I'll see if I can find any

Re: auto-indent in Counterclockwise

2010-07-05 Thread Sean Corfield
On Mon, Jul 5, 2010 at 5:05 AM, Chas Emerick cemer...@snowtide.com wrote: As a tangent, does anyone else find the default structural editing shortcuts fairly painful, e.g. overriding Mac defaults for goto-end-of-line, select-next-word, etc? No, I hadn't found it painful in my brief run around

Re: auto-indent in Counterclockwise

2010-07-05 Thread Sean Corfield
On Mon, Jul 5, 2010 at 9:24 PM, Sean Corfield seancorfi...@gmail.com wrote: No, I hadn't found it painful in my brief run around with CCW over the last few days... I hadn't even noticed the defaults were different :| And I should probably add that I switched over to strict mode pretty much

Re: auto-indent in Counterclockwise

2010-07-05 Thread Laurent PETIT
2010/7/6 Sean Corfield seancorfi...@gmail.com: On Mon, Jul 5, 2010 at 9:24 PM, Sean Corfield seancorfi...@gmail.com wrote: No, I hadn't found it painful in my brief run around with CCW over the last few days... I hadn't even noticed the defaults were different :| And I should probably add

Re: auto-indent in Counterclockwise

2010-07-04 Thread Laurent PETIT
Hi again, 2010/7/4 Lee Spector lspec...@hampshire.edu: [I'm not sure if the Clojure list is the right place for this, or if it should go somewhere more specific to CCW -- please let me know if it's the latter.] There are more specific ccw-related mls, but if nobody complains, I suggest to

Re: auto-indent in Counterclockwise

2010-07-04 Thread Peter Schuller
What do you think ? What do other people think ? If people want a configuration parameter, I'll give them one. As Stuart said in another thread: speak now or ... :) While tabs vs. spaces in the general sense can be debated, one of the nice things about Lisp is that *everyone* (more or less)

Re: auto-indent in Counterclockwise

2010-07-04 Thread Lee Spector
On Jul 4, 2010, at 4:10 PM, Laurent PETIT wrote: So there are 2 possibilities: a. I create an additional configuration parameter so that anybody can choose if he wants the Tab key to behave normally or to be bound to the reindent line feature. And I make this structural editing

Re: auto-indent in Counterclockwise

2010-07-04 Thread Laurent PETIT
Hey, 2010/7/5 Lee Spector lspec...@hampshire.edu: On Jul 4, 2010, at 4:10 PM, Laurent PETIT wrote: So there are 2 possibilities:  a. I create an additional configuration parameter so that anybody can choose if he wants the Tab key to behave normally or to be bound to the reindent line

Re: auto-indent in Counterclockwise

2010-07-04 Thread Lee Spector
On Jul 4, 2010, at 6:46 PM, Laurent PETIT wrote: I guess I could make the Tab-as-indent-line behavior go back to the default mode, and introduce the Esc.-as-no-interpretation-by-the-editor-for-the-nex-keystroke . So people wanting to insert a real tab could do it by first hitting the Esc.

auto-indent in Counterclockwise

2010-07-03 Thread Lee Spector
[I'm not sure if the Clojure list is the right place for this, or if it should go somewhere more specific to CCW -- please let me know if it's the latter.] On Jun 29, 2010, at 2:41 PM, Laurent PETIT wrote: There's now auto-indentation (when you hit the Enter key). What is still missing is