[plt-scheme] fill-paragraph (M-q) analog in DrScheme?

From: Will M Farr (farr at MIT.EDU)
Date: Fri Nov 17 10:33:17 EST 2006

Wow!  That's a quick response.  Thanks!

If I get some time today, I'll try to modify the code (assuming I can  
understand it) today so that it handles ;-comments correctly (already  
does fine in doc.txt and #| ... |# comments).

Thanks again!

On Nov 17, 2006, at 4:04 AM, Matthew Flatt wrote:

> At Fri, 17 Nov 2006 00:44:01 -0500, Will M Farr wrote:
>> This question has been puzzling me for a while: is there an analog of
>> Emacs' fill-paragraph (M-q) command in DrScheme?
> No, not currently.
> Enclosed is a first attempt (as a module to install with DrScheme's
> "Add User-defined Keybindings..." menu item). It's based on SirMail's
> M-q, which works well enough for me for plain text. To make it work
> better for Scheme comments, the first thing to fix is how it  
> determines
> the range of lines to re-flow (i.e., not simply the region  
> delimited by
> blank lines).
> Or, it may be better to port Emacs code, instead.
> Matthew
> <reflow-para.scm>

Posted on the users mailing list.