[racket-dev] drracket and rectangles

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Mon Jan 3 20:44:12 EST 2011

I considered using a keyboard macro. The time to switch and rectangle-edit was less than what it took to do the macro. 


On Jan 3, 2011, at 6:36 PM, Robby Findler wrote:

> FWIW, DrRacket does have keyboard macros but I see that control-w
> (under windows, with menu keys disabled) interrupts the sequence so I
> can't actually use them to do Matthias's edit easily in DrRacket (also
> DrRacket is missing that cool control-x e e e e e e that Emacs does
> these days).
> 
> Robby
> 
> On Mon, Jan 3, 2011 at 4:54 PM, Neil Van Dyke <neil at neilvandyke.org> wrote:
>> A few things for which I switch to Emacs, even when using DrRacket:
>> 
>> * M-q to re-flow Racket comments that span multiple lines, to fill to some
>> margin (like 79 or 80 columns).  Note that Emacs has fancy "adaptive-fill",
>> but something simple and Racket-comment-specific would be fine.
>> 
>> * M-x quack-tidy RET to reindent all lines and tidy up extraneous
>> whitespace.  Using the pretty-printer, DrRacket could go a step further, to
>> line-breaking.
>> 
>> * Keyboard macros.  These can get pretty powerful.  Matthias's
>> argument-reordering would be a simple example, and even for that, keyboard
>> macros using sexp movement operations would be more robust than rectangle
>> kill&yank.
>> 
>> * Working with (editing, viewing, or doing keyboard macros with) more than 2
>> or 3 files at once.
>> 
>> * Doing version control operations.
>> 
>> * Editing non-Racket/Scheme text files.
>> 
>> The first two have been on my mental list to add to DrRacket someday.  But
>> if any students are bored over winter break... :)
>> 
>> --
>> http://www.neilvandyke.org/
>> _________________________________________________
>>  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.