[racket-dev] change default binding of c:x; c:w to "save definitions as..." ?

From: John Clements (clements at brinckerhoff.org)
Date: Mon Mar 21 16:17:05 EDT 2011

On Mar 21, 2011, at 12:38 PM, Gregory Woodhouse wrote:

> On a Mac, save as should be shift-command-S. I'd vote for using this keybinding for "Save Definitions As...".

I'm okay with that, and I could train my fingers, but how does that play on other platforms?  IIUC, DrRacket doesn't currently parameterize the keybindings by platform in a way that would make a platform-specific mapping straightforward.

John Clements

> On Mar 21, 2011, at 12:10 PM, Robby Findler wrote:
>> It looks like c:x;c:s is also doing the wrong thing by that measure.
>> It feels a little bit strange to change it, since Emacs users are used
>> to saving the current buffer, but your rationale is definitely
>> compelling.
>> Robby
>> On Mon, Mar 21, 2011 at 2:02 PM, John Clements
>> <clements at brinckerhoff.org> wrote:
>>> I've been bitten several times now by the mapping of c:x;c:w to "save file as..."; it looks to me like this isn't even available via menus any more[*], having been replaced by the (much more sensible) "save definitions as..." and "save interactions as...". Moreover, AFAICT there's no default keybinding for "Save Definitions As...".
>>> Would anyone object to the remapping of c:x;c:w to "Save Definitions As..." by default?
>>> Horror stories of data loss available on request, though you can probably guess how they arise.
>>> John
>>> [*] if in fact it ever was,
>>> _________________________________________________
>>> For list-related administrative tasks:
>>> http://lists.racket-lang.org/listinfo/dev
>> _________________________________________________
>> For list-related administrative tasks:
>> http://lists.racket-lang.org/listinfo/dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4669 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110321/6e16a4f0/attachment.p7s>

Posted on the dev mailing list.