emacs-dialog-box

The Aquamacs “Save File?” dialog box has a ridiculous surplus of buttons.

Readers: How many buttons does this dialog box really need? (Answer below the fold.)

Zero!

Emacs automatically backs up unsaved changes to #temporary.files#. If you accidentally close without saving, you simply recover your contents from the temp file the next time you start editing. This dialog box is protecting us from something we don’t need protection from; it could be eliminated. (Preferably in exchange for a better exposure of the recover-from-backup feature.)

Rule of thumb: It’s almost always better to make an action undoable than to query the user for confirmation. Doing both, as we see here, is overkill.