Re: newline question

2012-02-07 Thread David Powell
\n in Java and Clojure is just line feed. The Windows line ending is \r\n. println and similar now use the platform appropriate line ending. This was changed some time ago. Emacs displays ^M if you have a mix of \n and \r\n in the same buffer. -- Dave -- You received this message because you

Re: newline question

2012-02-07 Thread Mark Engelberg
Thanks. I'm curious: did something change in 1.3 to make Clojure's newline not respect the platform it is running on? I had a similar situation the other day, independent of Emacs, where I wrote out a file which had been "join"ed (clojure.string) with "\n", and the resulting file didn't seem to o

Re: newline question

2012-02-07 Thread Chris Perkins
http://stackoverflow.com/questions/8707679/how-to-get-suppress-m-characters-in-my-clojurebox-emacsw32-repl-connected-to -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from

Re: newline question

2012-02-06 Thread Cedric Greevey
On Mon, Feb 6, 2012 at 7:48 PM, Softaddicts wrote: > Use linux or MacOs ? > > :) Or use a Windows-native editor. ;) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from n

Re: newline question

2012-02-06 Thread Softaddicts
Use linux or MacOs ? :) Luc > A while back (starting with the change to 1.3?), I noticed that in Emacs, > running under Windows, using the clojure-jack-in method to start a REPL > within Emacs, commands like println print the newline with a ^M character. > I don't have this problem in lein rep

newline question

2012-02-06 Thread Mark Engelberg
A while back (starting with the change to 1.3?), I noticed that in Emacs, running under Windows, using the clojure-jack-in method to start a REPL within Emacs, commands like println print the newline with a ^M character. I don't have this problem in lein repl, Anyone know how I can get rid of the