[racket-dev] drracket and rectangles

From: Stephen Chang (stchang at ccs.neu.edu)
Date: Tue Jan 4 12:44:33 EST 2011

I've used ctrl-w in a windows drracket keyboard macro before (and I just
tested it again). Also, you can always use ctrl-u 6 ctrl-x e as a substitute
for control-x e e e e e e.




On Mon, Jan 3, 2011 at 8:44 PM, Matthias Felleisen <matthias at ccs.neu.edu>wrote:

>
> 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
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110104/81389680/attachment.html>

Posted on the dev mailing list.