Just in case: the package should probably not change the meta/command settings. That is something that only a user should configure explicitly. <div><br></div><div>Robby<span></span><br><br>On Tuesday, December 31, 2013, 钟 wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you very much, Piotr.<br>
I don't have a Mac now, so I have no chance to do test on Mac by myself.Thank you for your help.<br>
<br>
According to the document, Command is mapped to Meta when 'map-command-as-meta-key' produces #t, or we can use "d:" for command.<br>
It should be better to set it to #t by default while still provide multiple keybindings.<br>
<br>
Please make a pull request.<br>
<br>
This plugin is still incomplete as a port of paredit. More features need to be implemented. I will do it in following days.<br>
At 2013-12-31 23:25:22,"Piotr Kalinowski" <<a href="javascript:;" onclick="_e(event, 'cvml', 'pitkali@gmail.com')">pitkali@gmail.com</a>> wrote:<br>
>Piotr Kalinowski <<a href="javascript:;" onclick="_e(event, 'cvml', 'pitkali@gmail.com')">pitkali@gmail.com</a>><br>
>writes:<br>
><br>
>> However, notice that instead of C-( and C-) that are used in Emacs as<br>
>> alternatives for slurpage, I had to use C-[ and C-]. For some reason,<br>
>> when I try to input C-( or C-) in DrRacket I end up with just 9 or 0 (is<br>
>> it a bug in GUI?).<br>
><br>
>I tried different ways of getting C-( and ), including ?:c:s:(, but the<br>
>only thing that works is using c:s:9, which of course works only in case<br>
>of some keymaps. That is, it will work all the time, but only on some<br>
>keymaps it will correspond to C-(.<br>
><br>
>> I'm quite new to DrRacket & Co., so I have no idea how to modify the<br>
>> code to properly support different platforms (yet?).<br>
><br>
>I've actually sat down and prepared some improvements:<br>
><br>
>- This will allow DrRacket to properly display function names in list of<br>
> active key bindings, which is quite nice, as you can easily discover<br>
> what key bindings are available using already existing GUI.<br>
><br>
><a href="https://github.com/pitkali/drracket-paredit/commit/e8577a43620165f67ed4a7d19b4b6132257a0960" target="_blank">https://github.com/pitkali/drracket-paredit/commit/e8577a43620165f67ed4a7d19b4b6132257a0960</a><br>
><br>
>- This adds alternative key bindings, so that it will work as before on<br>
> non-mac platforms, and if you set Mac GUI to use Command key as Meta,<br>
> but also adds key bindings using esc; for meta, and alternative Emacs<br>
> key bindings for slurpage and barfage.<br>
><br>
><a href="https://github.com/pitkali/drracket-paredit/commit/7e39afadc25f9018126ef0570cf7b1edcb207fee" target="_blank">https://github.com/pitkali/drracket-paredit/commit/7e39afadc25f9018126ef0570cf7b1edcb207fee</a><br>
><br>
>Would you want me to make a pull request?<br>
><br>
>Regards,<br>
>Piotr Kalinowski<br>
>--<br>
>Intelligence is like a river: the deeper it is, the less noise it makes.<br>
><br>
>____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br>
____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</blockquote></div>