emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Undo discard prompt (was: [T. V. Raman] read-only modes should be us


From: Richard Stallman
Subject: Re: Undo discard prompt (was: [T. V. Raman] read-only modes should be using buffer-disable-undo?)
Date: Mon, 24 Jan 2005 23:11:54 -0500

       However, we could probably substantially increase the size threshold.
       If we multiply it by 10, it might still be good enough to prevent a
       problem, but it might rarely be encountered when there is no problem.

    In some of the cases we looked at, the undo info went to infinity over
    time.

That's right.  And with my proposal, they would eventually cause
a question to the user.  But with the threshold high enough,
the user would rarely get these questions, except when there
is a real problem.

    What about the following patches to simple.el and undo.c which keep
    the current behavior as default, but provide two alternatives through
    a customizable option: discard the undo info and print a warning
    message in the echo area and discard completely silently?

A message in the echo area is too easy to overlook.
Please make it use display-warning instead.

I don't think there should be an option to discard with no warning.
It does not harm to post such a warning.




reply via email to

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