[racket] CRLF vs LF & windows

From: Hendrik Boom (hendrik at topoi.pooq.com)
Date: Sat Oct 1 15:05:26 EDT 2011

On Sat, Oct 01, 2011 at 02:21:21PM -0300, Rodolfo Carvalho wrote:
> 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
> endings.
> 
> I didn't try the pre-release yet. Is there a way to explicitly choose
> between CRLF and LF?

I'm not sure, because I've never been moving between Linux and Windows 
during development, but I think the monotone VCS has some way to ignore 
CRLF/LF changes.  But you might not want to change from what you're 
using now.

-- hendrik

> 
> 
> []'s
> 
> 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
> >

> _________________________________________________
>   For list-related administrative tasks:
>   http://lists.racket-lang.org/listinfo/users



Posted on the users mailing list.