On Tue, Dec 16, 2003 at 06:36:23PM +0000, bulia byak wrote:
So far it saves when modified and does not otherwise, quite reliably. In this case, it's better to err on the side of caution, so if it over-saves, I won't mind; only if it fails to save a changed document we have a problem.
If the `Save' menu item isn't greyed out, then it should attempt to save, or at least read in the file and check that no save is necessary. (This may also alert us to problems with the modifiedness tag.)
Rationale: the user may have moved (accidentally deleted) the file since the last save.
If we grey out the `Save' menu item, then the user knows that they must force a modification if they want save to work. (May be less effective with keyboard shortcut, though.)
It can be useful for the user to know if the document has been modified. (E.g. does it need re-uploading or reprinting or whatever.) Greying out the `Save' menu item is one way of providing this information; though if we really value this information then a "louder" indication may be warranted: e.g. change of title bar (append ` (modified)'), or status bar change.
pjm.