Hey, that's a cool idea. I'll start using it. I guess this means my coding conventions are off "standard". <br><br>I often use "[" to indicate a application of a calulated function. here's a dumb example:
<br><br>(+ 3<br> [(lambda (x) (+ 2 x)) 5])<br><br>is there a differnt convention for this? If not i'll just use control-[<br><br><br>A note, something other then control-[ might be desirable as control-[ is "escape". If the rest of the world decides to follow along, this can cause problems with editing from a terminal emulators/ssh, and especially emacs as most of it's commands start with escape. Alt-[ seems to be already bound for something.
<br><br>Corey<br><br><br><div><span class="gmail_quote">On 9/22/06, <b class="gmail_sendername">Robby Findler</b> <<a href="mailto:robby@cs.uchicago.edu">robby@cs.uchicago.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The "[" is rebound to be "smart". Try typing this:<br><br> [let [[x 5]] x]<br> [cond [[= 1 2] 3] [else 5]]<br><br>with the keystrokes implied above and see what actually comes out.<br><br>You can disable it in the preferences, or if you just want a single [,
<br>you can type control-[<br><br>Robby<br><br>At Fri, 22 Sep 2006 13:16:23 -0500, "Corey Sweeney" wrote:<br>> I upgraded to drscheme 352, and ever since whenever i hit the "[" as a open<br>> parenthisis, I get "(". Is this a intentional change to the system
<br>> (probably implying that the "[" char is about to start being used for<br>> something other then parens).<br>><br>> I also had to upgrade X11 to version 7.0 during my drscheme upgrade, so it's<br>
> possible that something is screwed up with my keymaps. (but it only happens<br>> in drscheme)<br>><br>> Corey<br>><br>><br>> --<br>> ((lambda (y) (y y)) (lambda (y) (y y)))<br>> _________________________________________________
<br>> For list-related administrative tasks:<br>> <a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a><br></blockquote></div><br><br clear="all">
<br>-- <br>((lambda (y) (y y)) (lambda (y) (y y)))