home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.bug
- Path: sparky!uunet!cis.ohio-state.edu!osf.ORG!macrakis
- From: macrakis@osf.ORG (Stavros Macrakis)
- Subject: autosave of large buffers
- Message-ID: <9211201710.AA17685@lakatos.osf.org>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Fri, 20 Nov 1992 07:10:44 GMT
- Approved: bug-gnu-emacs@prep.ai.mit.edu
- Lines: 22
-
- Epoch 4.0.1 of Tue Jul 21 1992 on phoenix (aix-v3) (Emacs 18.58)
-
- File operations can be very time-consuming on large buffers, both
- because of the I/O cost and because the whole buffer needs to be
- swapped in. This is psychologically acceptable when you explicitly
- save a buffer, but is very annoying when it is an autosave (especially
- an autosave on the large buffer while you're working on a small
- buffer!). It's especially annoying when the change to the large
- buffer was accidental (yes, I know I should use C-x C-r
- (find-file-read-only) instead of C-x C-f (find-file)....).
-
- Incremental saves would be far cheaper, and Emacs already has the
- information to do them, in the form of undo data. So why not save the
- undo data instead? (except for buffers backed up by copying) To
- protect against file deletion, a #-link could be made to the base
- file. Of course, there is still the danger of the file being modified
- in place by someone else.
-
- -s
-
-
-
-