[racket-dev] intro videos

From: Eli Barzilay (eli at barzilay.org)
Date: Thu Jul 14 10:38:14 EDT 2011

9 hours ago, John Clements wrote:
> No, that's an entirely reasonable question, with an answer that's in
> the process of changing.
> First thing: you can use ESC-(. That is: press and release ESC, type
> (. That works, but it's a big pain.

Use Alt-( -- much less pain.  (And that works in Emacs regardless of
paredit, BTW.)

> Second thing: Until two days ago, I'd been using the keybindings
> file that I attach below, so that this keystroke becomes simply
> (. While making these videos, though, I found that I *really* wanted
> to be able to give people a simple way to do this.  As a result,
> I've now added a preference to DrRacket called "enable automatic
> parentheses." It's available as part of the development build now,
> but it probably won't be a part of the 5.1.2 release. It should
> definitely be a part of the 5.1.3 release.

A proper thing would need to do much more, something like paredit.

(And re the [ problem -- IMO it makes sense to have the two options
mutually exclusive.)

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the dev mailing list.