Aucb.724 fa.editor-p utzoo!decvax!ucbvax!C70:editor-people Wed Mar 17 11:05:21 1982 CRLF in Emacs >From BENSON@UTAH-20 Wed Mar 17 10:52:39 1982 I've rebound ^X^S so that it checks to see that the last character in the buffer is a linefeed. It gives me a warning and doesn't save it if it's not. If I really need to write a file without a linefeed on the end I use ^X^W. I seem to have stopped using all those programs that throw away the last line if it's not terminated with a linefeed, though. ------- [ Editor's note: In response to the flurry of messages on EOF handling, I added a similar feature to the Twenex Emacs at SCORE that requires confirmation when you try to save a file without a CRLF at the end. Such a site-specific change is easy to add to programmable editors, and is a very good reason for preferring them over editors that are not programmable. Also, note that Eric and I implemented slightly different user interfaces; Emacs provides a good laboratory for comparing user interfaces. /JQJ ]