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: Kim F. Storm
Subject: Re: Undo discard prompt (was: [T. V. Raman] read-only modes should be using buffer-disable-undo?)
Date: Thu, 27 Jan 2005 09:47:21 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Luc Teirlinck <address@hidden> writes:

> Then I suggest to replace the
> current question with a warning, displayed in a buffer, providing
> proper explanation.  It suggests to the user to increase the value of
> `undo-outer-limit' even further if even 3M turned out not to be enough
> for him (and if the large size appeared legitimate).  It also suggests
> to file a bug report if the large undo size was unexpected.


This is MUCH better than the current approach.

IMO, leaving the decision to the user in the first place is simply
wrong as he cannot possibly know what happens if he answers "no" -- in
worst case emacs crashes, which NO users will accept on the reasoning that

"Ha!  It is your own fault!  I did ask you permission to discard that
undo information some time ago, and you said no... Blame yourself".

So in practice, when this happens TRT is to unconditionally discard
undo information -- and tell the user what happened and why.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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