🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fa.editor-p
Article #153

CRLF in Emacs

#153
From: ucbvaxC70editor-people
Date: Wed, 17 Mar 1982 11:05
14 lines
1146 bytes
>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 ]
Technical Details
Message-ID: <anews.Aucb.724>
Path: arc1-ca.pugleaf.net!utzoo!decvax!ucbvax!C70:editor-people

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!decvax!ucbvax!C70:editor-people
From: ucbvax!C70:editor-people
Newsgroups: fa.editor-p
Subject: CRLF in Emacs
Date: Wed, 17 Mar 1982 11:05:21 +0000
Message-ID: <anews.Aucb.724>