Path: utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!UUNET.UU.NET!talos!kjones
From: talos!kjones@UUNET.UU.NET (Kyle Jones)
Newsgroups: gnu.emacs.bug
Subject: autosave bug
Message-ID: <8809291455.AA03009@uunet.UU.NET>
Date: 28 Sep 88 13:21:46 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 25

GNU Emacs 18.52:

This bit of code from src/fileio.c can cause Emacs not to autosave
some file buffers at all, even when auto-save-mode is turned on in the
buffer.  This is disastrous if the system crashes in the midst of an
edit session, or Emacs receives a terminate signal (say from `shutdown').

	  if ((XFASTINT (b->save_length) * 10
	       > (b->text.size1 + b->text.size2) * 13)
	      /* These messages are frequent and annoying for `*mail*'.  */
	      && !EQ (b->filename, Qnil))
	    {
	      /* It has shrunk too much; don't checkpoint. */
	      message ("Buffer %s has shrunk a lot; not autosaving it",
		       XSTRING (b->name)->data);
	      Fsleep_for (make_number (1));
	      continue;
	    }

I'd like to this check removed.  I understand the reasoning behind the
heuristic but I think Emacs has enough revision safeguards that we
could heave this one.  Besides that, those "buffer has shrunk a lot"
messages are an irritant.

kyle jones