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

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

Re: Undo after cut of a big region says: No further undo information


From: Klaus Zeitler
Subject: Re: Undo after cut of a big region says: No further undo information
Date: Thu, 16 Dec 2004 11:35:19 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (usg-unix-v)

>>>>> "Richard" == Richard Stallman <address@hidden> writes:
    Richard> 
    Richard> Another idea just occurred to me: Emacs could ask for
    Richard> confirmation before making the current command's undo data longer
    Richard> than a certain size.  That would give the user the ability to
    Richard> avoid a crash, in the case I was debugging, while still making it
    Richard> possible to use the commands that you use.

Do you mean it would ask every time a command exceeds the predefined size?
This might be annoying but on the other hand it would give the user a chance
to decide before he executes his operation. Additionally the confirmation
dialogue might give a hint to what variable needs to be customized to enlarge
the undo limit.
What was confusing me most was that the undo information was silently
discarded and the next undo command didn't say anything useful either.
So we should at least print some info when the undo limit is exceeded.

    Richard> A further idea is to do this for each integer multiple of that size
    Richard> value.  So if it is set to 100,000, Emacs would ask about exceeding
    Richard> 100,000 and about exceeding 200,000 and about exceeding 300,000,
    Richard> etc.

IMHO not needed, cause I'd think the users will adjust the undo limit to what
they think is appropriate once they are pointed into the right direction.

I see that there are three variables that control undo limit: undo-limit,
undo-strong-limit and undo-outer-limit. Their documentation doesn't make it
clear to me what variables I have to change and how these three variables
correlate. I'd guess that I just have to increase undo-outer-limit even
further and I can leave the other two alone. I'll have to play with these.

Thanks

Klaus

-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             address@hidden  |
 ------------------------------------------
---
Life is what happens to you while you're
busy making other plans.   --John Lennon




reply via email to

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