Text File

Aucb.723 fa.editor-p utcsrgv!utzoo!decvax!ucbvax!C70:editor-people Wed Mar 17 10:56:01 1982 Re: interlocking >From Admin.MDP@SU-SCORE Wed Mar 17 10:51:38 1982 Mark,

I'd like to respond to your comment that "One of the nastiest problems in EMACS is its ability to write a text file that does not end with a CR/LF combination," or whatever else happens to be the standard newline representation. Personally, I have never identified with the card-oriented view of the world: any free-format scanner that dies of EOF without EOL, is diseased. However, it does turn out there is a trivial solution to this problem, entirely within the EMACS philosophy. Viz., the EMACS running right here at Stanford under your very nose, on our Unix VAXen, bothers to notice when your file fails to end on a line boundary, informs you of this fact, and asks you if you still want to save the file. As you say, "a well-designed editor should be careful not to allow its user to lose," and the CRLF problem does not indict EMACS of any profound guilt in this regard.

-- Mike -------

----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org> of http://communication.ucsd.edu/A-News/

This Usenet Oldnews Archive article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.