<div>Correction: (typo in the last email)</div><br><div class="gmail_quote">On Sun, Nov 20, 2011 at 10:04 AM, Harry Spier <span dir="ltr"><<a href="mailto:vasishtha.spier@gmail.com">vasishtha.spier@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Dear Robby and matthew,</div><div><br></div><div>Its a Dell laptop from the USA with a standard american keyboard. I'm running Windows Vista.<br>
</div><div><br></div><div>Both:</div><div>(keybinding "?:c:m:r" (λ (editor evt) (send editor insert "ṝ")))</div>
<div>and</div><div class="im"><div>(keybinding "c:m:r" (λ (editor evt) (send editor insert "ṝ")))</div><div><br></div></div><div>don't output anything when I press ctrl,alt, r together.</div><div>
<br></div><div>Also:</div>
<div>(keybinding "c:s:a" (λ (editor evt) (send editor insert "Ā")))</div><div>Outputs A not
Ā when I press ctrl,shift, a</div><div><br></div><div>Thanks,</div><div>Harry </div><div><div class="h5"><br><div class="gmail_quote">On Sun, Nov 20, 2011 at 9:16 AM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Also, does changing "c:m:r" to "?:c:m:r" have any effect?<br>
<br>
The "?:" prefix means "try to match with the character that would have<br>
been produced if the AltGr key wasn't pressed", since an Ctl+Alt<br>
combination can be treated as an AltGr modifier that might produce a<br>
character other than "r" (depending on your keyboard configuration).<br>
<div><div><br>
At Sun, 20 Nov 2011 06:52:06 -0600, Robby Findler wrote:<br>
> What does it do when you type that last keybinding? Do you just see an<br>
> "r" inserted? Also, just to confirm: you have an American keyboard,<br>
> right?<br>
><br>
> Robby<br>
><br>
> On Sat, Nov 19, 2011 at 11:18 PM, Harry Spier <<a href="mailto:vasishtha.spier@gmail.com" target="_blank">vasishtha.spier@gmail.com</a>><br>
> wrote:<br>
> > I want to set up some user defined keybindings to type unicode letters with<br>
> > diacritical marks into DrRacket but I want to use the same keybinding system<br>
> > I'm used to. I'm able to set up the user defined keybindings that use only<br>
> > one control character. But I can't figure out how to set up keybindings<br>
> > that use two control characters pressed simultaneously. For example I can't<br>
> > figure out how to set a keybinding up so that Ctrl,Alt and r pressed<br>
> > simultaneously will print r with dot underneath and macron on top, i.e. "ṝ"<br>
> ><br>
> > I'm using Racket on Windows.<br>
> > I tried the following in my user defined keybindings file..<br>
> > #lang s-exp framework/keybinding-lang<br>
> > (keybinding "c:a" (λ (editor evt) (send editor insert "ā")))<br>
> > (keybinding "c:i" (λ (editor evt) (send editor insert "ī")))<br>
> > (keybinding "c:u" (λ (editor evt) (send editor insert "ū")))<br>
> > (keybinding "m:t" (λ (editor evt) (send editor insert "ṭ")))<br>
> > .<br>
> > .<br>
> > .<br>
> > (keybinding "c:m:r" (λ (editor evt) (send editor insert "ṝ")))<br>
> > Everything works except the last keybinding which I thought would mean<br>
> > ctrl,alt, and r pressed simultaneously.<br>
> > Thanks in advance<br>
> > Harry Spier<br>
<br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>