[gnu.emacs.bug] undo problem

dan%ivy@SUN.COM (Dan Walsh) (07/11/89)

More than once I have mistakenly tried to reformat a paragraph in an
nroff document (M-q) only to have emacs reformat the whole document.
When I try to undo this change, I get a message that there is too much
to undo.  This makes me very unhappy.  Ideally I would like to see
enough undo space to be able to undo the effects of a single
keystroke.  Less ideally, I'd like a mode where I would get prompted
about running out of undo space and queried as to whether I really
want to do this.

I suppose this isn't *really* a bug, as it is documented that there is
limited undo space.  However, it has shaken my confidence about emacs,
and I would be willing to pay some space and/or time in emacs to have
this not happen to me again.

					Thanks,
					  Dan Walsh (dan@Sun.COM)

rusty@garnet.berkeley.edu (07/11/89)

I've also been bitten by accidently doing something that changes the
entire file and not being able to undo it.  It is really aggravating.
With me it was usually typing C-x C-u (upcase-region) when I meant to
type C-x u (undo).  I've given up in desperation and did a
global-unset-key on C-x C-u in my .emacs file.

Another possibility, instead of querying, is for emacs to force an
auto save or create a backup before doing something that it won't be
able to undo.  Then at least you can kill the buffer (or emacs) and do
an M-x recover-file.
--

--------------------------------------
	rusty c. wright
	rusty@violet.berkeley.edu ucbvax!violet!rusty