[racket] wikipedia on IDE's
On Thu, Aug 30, 2012 at 11:51 PM, John Clements
<clements at brinckerhoff.org> wrote:
>
> On Aug 30, 2012, at 9:26 PM, Ramakrishnan Muthukrishnan wrote:
>
>> On Fri, Aug 31, 2012 at 9:25 AM, Ramakrishnan Muthukrishnan
>> <vu3rdd at gmail.com> wrote:
>>> On Fri, Aug 31, 2012 at 3:22 AM, John Clements
>>> <clements at brinckerhoff.org> wrote:
>>>>
>>>> On Aug 30, 2012, at 2:43 PM, Eduardo Bellani wrote:
>>>>
>>>>> What holds me personally to emacs is paredit for now. DR is rocking these days,
>>>>> specially debugging wise.
>>>>
>>>> Really? We've got most of what paredit offers, including mapping raw left-paren to matched-pair (this option is currently called "automatic parentheses"). Glancing over the cheat-sheet, it looks like the only major change would be the fact that right-paren is not mapped to jump-outward; instead, I just use the right arrow for that (when there are intervening chars, I use opt-up opt-right).
>>>>
>>>> Are there other things that paredit gives you?
>>>
>>> My main gripe with DrRacket's automatic parentheses is the removal.
>>> When, say, the left paren is removed, the right one remains. Paredit
>>
>> I should have written more clearly here. What I meant by the above
>> statement is that, if I occasionally put a left paren, it inserts the
>> right paren as well and now if I immediately remove the right paren,
>> then the right paren remains.
>
> Are you removing the open paren with a backspace, or with an undo? In the first case, I have nothing to offer. In the second case, I think this is something that could be / should be fixed.
I think one could override on-delete, notice that parens were removed,
and then find and remove the matching ones during the corresponding
call to after-delete.
To make that work well, tho, it seems like one would want some kind of
"turn on paredit-like mode" in the preferences that enabled all of
this stuff at once.
Robby