line endings

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

line endings

Peter Uhnak
Why does Pharo save everything with CR line endings? Literally nobody uses that.

Peter
Reply | Threaded
Open this post in threaded view
|

Re: line endings

abergel
I think this is for historical reason.

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Aug 3, 2015, at 3:57 PM, Peter Uhnák <[hidden email]> wrote:

Why does Pharo save everything with CR line endings? Literally nobody uses that.

Peter

Reply | Threaded
Open this post in threaded view
|

Re: line endings

Peter Uhnak
Well yes, but Mac OS X (the first Mac using LF instead of CR) was released 14 years ago.
All *nixes uses LF and Windows CRLF.
So if we are not going to respect the platform, at least we could adhere to unix standards (LF).

On Mon, Aug 3, 2015 at 9:41 PM, Alexandre Bergel <[hidden email]> wrote:
I think this is for historical reason.

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Aug 3, 2015, at 3:57 PM, Peter Uhnák <[hidden email]> wrote:

Why does Pharo save everything with CR line endings? Literally nobody uses that.

Peter


Reply | Threaded
Open this post in threaded view
|

Re: line endings

Sven Van Caekenberghe-2
We should indeed consider doing it, I believe Cuis has done the same.

> On 04 Aug 2015, at 00:11, Peter Uhnák <[hidden email]> wrote:
>
> Well yes, but Mac OS X (the first Mac using LF instead of CR) was released 14 years ago.
> All *nixes uses LF and Windows CRLF.
> So if we are not going to respect the platform, at least we could adhere to unix standards (LF).
>
> On Mon, Aug 3, 2015 at 9:41 PM, Alexandre Bergel <[hidden email]> wrote:
> I think this is for historical reason.
>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>> On Aug 3, 2015, at 3:57 PM, Peter Uhnák <[hidden email]> wrote:
>>
>> Why does Pharo save everything with CR line endings? Literally nobody uses that.
>>
>> Peter
>
>


Reply | Threaded
Open this post in threaded view
|

Re: line endings

stepharo


Le 4/8/15 12:09, Sven Van Caekenberghe a écrit :
> We should indeed consider doing it, I believe Cuis has done the same.

yes
But we should finish all the change we started :)

>
>> On 04 Aug 2015, at 00:11, Peter Uhnák <[hidden email]> wrote:
>>
>> Well yes, but Mac OS X (the first Mac using LF instead of CR) was released 14 years ago.
>> All *nixes uses LF and Windows CRLF.
>> So if we are not going to respect the platform, at least we could adhere to unix standards (LF).
>>
>> On Mon, Aug 3, 2015 at 9:41 PM, Alexandre Bergel <[hidden email]> wrote:
>> I think this is for historical reason.
>>
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>> On Aug 3, 2015, at 3:57 PM, Peter Uhnák <[hidden email]> wrote:
>>>
>>> Why does Pharo save everything with CR line endings? Literally nobody uses that.
>>>
>>> Peter
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: line endings

Sean P. DeNigris
Administrator
stepharo wrote
Le 4/8/15 12:09, Sven Van Caekenberghe a écrit :
> We should indeed consider doing it, I believe Cuis has done the same.
+1. It's a pain to have e.g. fileouts in vim squished into one massive line with special characters displayed.

stepharo wrote
But we should finish all the change we started :)
+1 also :)
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: line endings

Levente Uzonyi-2
On Wed, 5 Aug 2015, Sean P. DeNigris wrote:

> stepharo wrote
>> Le 4/8/15 12:09, Sven Van Caekenberghe a écrit :
>>> We should indeed consider doing it, I believe Cuis has done the same.
>
> +1. It's a pain to have e.g. fileouts in vim squished into one massive line
> with special characters displayed.

It is but :e ++ff=mac helps.

Levente

>
>
> stepharo wrote
>> But we should finish all the change we started :)
>
> +1 also :)
>
>
>
> -----
> Cheers,
> Sean
> --
> View this message in context: http://forum.world.st/line-endings-tp4840829p4841106.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: line endings

stepharo
In reply to this post by Sean P. DeNigris

>>> We should indeed consider doing it, I believe Cuis has done the same.
> +1. It's a pain to have e.g. fileouts in vim squished into one massive line
> with special characters displayed.
>
>
> stepharo wrote
>> But we should finish all the change we started :)
> +1 also :)

now if one guy or a bunch of guys send us code then we will integrate it :)



Reply | Threaded
Open this post in threaded view
|

Re: line endings

Sean P. DeNigris
Administrator
In reply to this post by Levente Uzonyi-2
Levente Uzonyi-2 wrote
It is but :e ++ff=mac helps.
I usually use the baffling `:%s/\r/\r/g`
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: line endings

Richard Sargent
Administrator
In reply to this post by Peter Uhnak
VisualWorks uses CR. I suspect that is because the original Smalltalk-80 did so. (I don't know what Squeak does. Is it CR, too?)
Reply | Threaded
Open this post in threaded view
|

Re: line endings

NorbertHartl
In reply to this post by Sean P. DeNigris

> Am 05.08.2015 um 17:47 schrieb Sean P. DeNigris <[hidden email]>:
>
> Levente Uzonyi-2 wrote
>> It is but :e ++ff=mac helps.
>
> I usually use the baffling `:%s/\r/\r/g`
>
I think you leave off the leading g

I use :%s/<ctrl-v>/<ctrl-v>/

But annoying, yes.

Norbert
>
>
> -----
> Cheers,
> Sean
> --
> View this message in context: http://forum.world.st/line-endings-tp4840829p4841123.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>