[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 4 minor suggestions for files.el

From: Richard Stallman
Subject: Re: 4 minor suggestions for files.el
Date: Wed, 16 Apr 2003 00:40:03 -0400

Ideas 1, 2 and 3 are good ideas--please install them.

However, I think that the name with-errors-caught is unnatural;
please call it report-errors.

Please don't change the argument to revert-buffer.
It is intentional that M-x revert-buffer RET asks for confirmation.

Idea 5 would be nice in principle, but it cannot possibly
work right.  There is no way to connect the locations
in the undo list with the new buffer contents correctly.
It would be an arbitrary decision, and the results of undoing
those changes would be nonsensical.

The only case in which this would really work right is when the buffer
text is unchanged.  That case may occur often in using VC.  Perhaps
you can make insert-file-contents detect it.  insert-file-contents
already tries to notice when text at the start of the buffer and/or
text at the end of the buffer are unchanged.  It could preserve the
undo list when the stuff to undo is within the unchanged areas
of the text at the beginning or the end.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]