OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Suggestion for an alternative XML 1.1

[ Lists Home | Date Index | Thread Index ]

At 9:55 PM -0500 12/16/01, John Cowan wrote:
>Elliotte Rusty Harold scripsit:
>
>>  That's simply not true. Text editors on various platforms routinely
>>  and transparently recognize the \n, \r, and \r\n line ending
>>  conventions.
>
>vi does not, nor does Emacs.
>

No, Emacs most certainly does accept all three line ending 
conventions. I just tested it one more time and it had no trouble 
whatsoever recognizing DOS and Mac files. It even put a little "DOS" 
or "Mac" in the status bar to indicate what line ending convention 
was being used.

I don't normally use vi, so I hadn't tested it before but I just did 
and it transparently recognized the DOS file. It could not handle the 
Mac file and displayed the the \r's as ^M. It couldn't handle NEL 
either. Thise it displayed as ~E. I'm not sure what that means.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|              http://www.ibiblio.org/xml/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |
+----------------------------------+---------------------------------+




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS