[racket] CRLF vs LF & windows

From: Rodolfo Carvalho (rhcarvalho at gmail.com)
Date: Sat Oct 1 13:21:21 EDT 2011

Good news!

I happen to use DrRacket in Windows and Linux and every time I switch
systems version control will mark every line as changed because of line

I didn't try the pre-release yet. Is there a way to explicitly choose
between CRLF and LF?


Rodolfo Carvalho

On Fri, Sep 30, 2011 at 22:15, Robby Findler <robby at eecs.northwestern.edu>wrote:

> I've pushed a change today in the way that DrRacket handles line
> endings under windows. If you are a regular windows user who has the
> energy to give the pre-release a try for your usual DrRacketeering for
> a week or month or so to share you feedback on this change, that'd be
> great.
> In old versions, DrRacket would open a file in any style and then save
> it using CRLF (under windows; it would always save regular LF files on
> other platforms). In the current pre-release, DrRacket checks to see
> if every line ends in CRLF in the file and, if so, it saves the file
> in CRLF (and puts a little warning in the bottom of the window that it
> is in this mode). Otherwise, it saves the file in LF mode. There is a
> preference to go back to the old behavior too.
> Feedback welcomed.
> Thanks,
> Robby
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20111001/1c84799c/attachment.html>

Posted on the users mailing list.