samth/test-bugs — Issue #128: DrRacket does not preserve newline convention of original file
Author: racket-bug-submit
Created: 2012-03-08 23:29:00+00:00
State: open
Labels: anon-submit, drracket, gnats-migrated

###### Originally submitted by Danny Yoo on: Thu Sep 29 12:56:01 -0400 2011

If I'm editing a file in DrRacket that has DOS-style newlines on my Ubuntu box, then DrRacket transparently translates the newlines to Unix convention. This causes headaches in combination with traditional text diff tools.

```racket
DrRacket should preserve the newline convention of existing files.
```

##### Release:

5.1.3

##### Environment:

Linux i686 / Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1

###### This bug was converted from Gnats bug [12242](http://bugs.racket-lang.org/old/12242).

[anon-submit dyoo AT hashcollision.org]