[e-lang] SWT on the Mac (was E Download News)

Kevin Reid kpreid at mac.com
Wed Dec 27 19:00:55 CST 2006


On Dec 24, 2006, at 20:00, Mark S. Miller wrote:

> On a related matter, E current coverts LFs to platform newlines  
> when it writes text files. IMO, this has only been an annoyance,  
> never a benefit. In my current development tree, I've added a  
> switch to control this, and I've currently set the switch to always  
> emit LFs regardless of platform. If there's no objection, I'll  
> include this in the next release. If there continues to be no  
> objection, I'll eventually remove the switch and make this the only  
> behavior.
>
> When reading text files, E will continue to convert CRLFs and lone  
> CRs into LFs.

I wish to explicitly state that I have no opinion on this as I do not  
use Windows.

Separately, I think it is something to keep in mind for library  
design that one might wish to work with alternate line-breaking  
characters for special purposes. For example, Unicode provides two  
codepoints explicitly different from CR and LF,

U+2028: LINE SEPARATOR
U+2029: PARAGRAPH SEPARATOR

-- 
Kevin Reid                            <http://homepage.mac.com/kpreid/>




More information about the e-lang mailing list