[5884] in Athena Bugs

home help back first fref pref prev next nref lref last post

functionality of 'Save All' in EZ

daemon@ATHENA.MIT.EDU (beth@ATHENA.MIT.EDU)
Tue Aug 28 18:32:21 1990

From: beth@ATHENA.MIT.EDU
Date: Tue, 28 Aug 90 18:32:05 -0400
To: bugs@ATHENA.MIT.EDU
Cc: wdc@ATHENA.MIT.EDU

('Talked this over with Bill, who agrees:)

If one invokes EZ this way:

                ez

one gets a buffer named 'scratch.'  If one selects the
'Save All' option on the 'Files' menu card, EZ writes
out the contents of the buffer to ./scratch, which overwrites
the file, which the user may have created on his own for
other reasons or in a previous editing session.  Like Emacs,
EZ SHOULD PROMPT FOR THE NAME OF A FILE IN WHICH TO STORE
THE CONTENTS OF THE SCRATCH BUFFER.

If one invokes EZ this way:

		ez

or while using EZ, one starts new named buffers (with CTRL-x b),
EZ does not save the contents of the buffers that don't have
associated filenames.  FOR EACH BUFFER WITHOUT AN ASSOCIATED
FILENAME, EZ SHOULD PROMPT THE USER TO TELL IT WHETHER HE WANTS
TO SAVE THE BUFFER and, if so, under what name.  Furthermore,
the message EZ prints is misleading:  I had modified a set of
buffers, some of which had associated filenames and some of
which didn't.  When I selected "Save All," EZ returned the message:

	"Saved all modified buffers.  There are modified buffers
	 without associated files."

when, in fact, it had *not* saved the contents of those buffers
without associated filenames.  TSK!

-- me

home help back first fref pref prev next nref lref last post