[racket] DrRacket needs work

From: Richard Cleis (rcleis at mac.com)
Date: Mon Nov 14 09:25:26 EST 2011

The example can be simpler; typing a square bracket in a blank definitions window makes a single paren. The hotkey still makes a pair, though.

I wish I knew about this automatic paren stuff. I have been wearing out my esc-key.

rac

On Nov 14, 2011, at 6:58 AM, Sam Tobin-Hochstadt wrote:

> This may be a bad interaction between the automatic parens and the
> automatic paren adjustment, which puts in the right kind of paren in
> the right place.
> 
> Robby, do you know what's going on here?
> 
> On Mon, Nov 14, 2011 at 8:49 AM, Eric Tanter <etanter at dcc.uchile.cl> wrote:
>> Here is what I did:
>> 
>> - activate the automatic parentheses option
>> 
>>  then:
>> 
>> type `('
>> --> ()
>> 
>> type `let ('
>> --> (let ())
>> 
>> type `['
>> --> (let ([))
>> 
>> Here I would have expected
>> --> (let ([]))
>> 
>> ?
>> 
>> -- Éric
>> 
>> 
>> On Nov 14, 2011, at 10:10 AM, Sam Tobin-Hochstadt wrote:
>> 
>>> They have successfully inserted thousands of square brackets for me.
>>> :)  What are you doing that doesn't work?
>>> 
>>> On Mon, Nov 14, 2011 at 6:06 AM, Eric Tanter <etanter at dcc.uchile.cl> wrote:
>>>> Nice!
>>>> 
>>>> but automatic parentheses does not seem to work with square brackets.
>>>> 
>>>> -- Éric
>>>> 
>>>> 
>>>> On Nov 13, 2011, at 10:42 AM, Robby Findler wrote:
>>>> 
>>>>> Thanks for the suggestions. One minor observation below.
>>>>> 
>>>>> On Sun, Nov 13, 2011 at 4:50 AM, Tomi Neste <tomi.neste at gmail.com> wrote:
>>>>>> - Paredit like editing functions, I can't personally use an editor
>>>>>> without these anymore. Again, this is something that could be hacked
>>>>>> up easily in Emacs but with DrRacket I have no idea where to start.
>>>>> 
>>>>> 
>>>>> I think you want to open the preferences dialog, go to the Editing
>>>>> pane, General subpane, and click "Enable automatic parentheses".
>>>>> 
>>>>> Robby
>>>>> _________________________________________________
>>>>>  For list-related administrative tasks:
>>>>>  http://lists.racket-lang.org/listinfo/users
>>>>> 
>>>> 
>>>> 
>>>> _________________________________________________
>>>>  For list-related administrative tasks:
>>>>  http://lists.racket-lang.org/listinfo/users
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> sam th
>>> samth at ccs.neu.edu
>>> 
>> 
>> 
> 
> 
> 
> -- 
> sam th
> samth at ccs.neu.edu
> 
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users




Posted on the users mailing list.