I'm caught in a bit of Catch-22. From the doc.<div><br></div><div><font size="1"><span style="font-family:serif;text-align:left;background-color:rgb(255,255,255)">If you are most familiar with Emacs-style key bindings (especially on windows or some linux installations where the control key is, by default, for the menu shortcuts), you should uncheck the </span><span style="text-align:left;background-color:rgb(255,255,255);font-family:sans-serif;font-weight:bold">Enable keybindings in menus</span><span style="font-family:serif;text-align:left;background-color:rgb(255,255,255)"> preference. Many of the keybindings below are inspired by Emacs.</span></font></div>
<div><br></div><div>So I've disabled keybindings in menu and thereby lose crtl-r Run and crtl-i Reindent. I'd like to re-bind but I've as of yet been unable to locate what functions Run and Reindent correspond to.</div>
<div><br></div><div>I totally missed the online check syntax option, which sounds like a very good thing. In fact I'm still totally missing it. :) I just rechecked the menus/preferences. Where is this mythic option found?</div>
<div><br></div><div>Thanks<br><div class="gmail_quote"><br></div><div class="gmail_quote">On Thu, May 10, 2012 at 8:49 PM, Robby Findler <span dir="ltr"><<a href="mailto:robby@eecs.northwestern.edu" target="_blank">robby@eecs.northwestern.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">FWIW, run and reindent are already menu-key based shortcuts (r and i<br>
respectively) so they should be available already (unless you're on<br>
windows and you've disabled menu keyboard shortcuts). For reindent you<br>
can hit tab, and DrRacket re-indents the line you're on or the<br>
selection (if it is more than one line). For check syntax, I recommend<br>
you enable online check syntax and then you don't have to hit any key<br>
at all to get that to work.<br>
<br>
hth,<br>
Robby<br>
<div class="im HOEnZb"><br>
On Thu, May 10, 2012 at 6:38 PM, Ray Racine <<a href="mailto:ray.racine@gmail.com">ray.racine@gmail.com</a>> wrote:<br>
</div><div class="HOEnZb"><div class="h5">> I'm attempting this weekend to make the leap from my beloved Emacs and<br>
> Geiser to DrRacket. Was wondering if anyone has a cool set of custom<br>
> keybindings they'd like to share.<br>
><br>
> Some I'd like to get my hands on are:<br>
> 1. binding for reindent / reindent all.<br>
> 2. binding for Check Syntax button equivalent.<br>
> 3. binding for Run button equivalent.<br>
><br>
> Three below I just pieced together.<br>
><br>
> ;; insert ë<br>
> (keybinding "c:\\" (ë (editor evt) (send editor insert "ë")))<br>
><br>
> ;; close<br>
> (keybinding "c:q" (ë (editor evt)<br>
> (send (send editor get-top-level-window)<br>
> close-current-tab)))<br>
><br>
> ;; open a new tab<br>
> (keybinding "c:t" (ë (editor evt) (send (send editor get-top-level-window)<br>
> create-new-tab))<br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
><br>
</div></div></blockquote></div><br></div>