Robby,

This is my first crack at a DrRacket tool (not to mention an uncommon
foray into Racket's class system), so what I'm doing may not be...
sane. But if you're willing to take a look:
[https://github.com/97jaz/drwhitespace]. At any rate, it isn't a lot
of code. I based the general structure on Asumu Takikawa's
drracket-vim-tool.

It's supposed to have the same effect as emacs's `delete-trailing-whitespace`.
I still need to add a preference setting to turn it on or off. (Maybe
that should be based on the editor's mode?)

-Jon


On Sun, Apr 12, 2015 at 6:14 PM, Robby Findler
<ro...@eecs.northwestern.edu> wrote:
> No but Max changed the way return works so there should be less whitespace
> added going forward.
>
> Writing a script to trim whitespace from line-endings would work well if it
> were to use text% IMO. Use load-file to get a file and then the paragraph
> methods to find line endings and then delete stuff and ace the file again.
>
> Robby
>
> On Sunday, April 12, 2015, Jon Zeppieri <zeppi...@gmail.com> wrote:
>>
>> Does such a think already exist?
>>
>> -Jon
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to racket-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to