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

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Mon Mar 21 16:20:25 EDT 2011

Emacs is great. Leave the bindings alone. 


On Mar 21, 2011, at 4:17 PM, John Clements wrote:

> 
> 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
> 
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev




Posted on the dev mailing list.