[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Undo discard prompt
From: |
Richard Stallman |
Subject: |
Re: Undo discard prompt |
Date: |
Tue, 25 Jan 2005 19:03:08 -0500 |
Well I didn't say "routinely": it happened 4 times until now.
And I don't think they were the result of a bug. They mostly (3 times)
occured because I did something like:
1 - copy a large file (or a buffer).
2 - work on the copy by removing most of its content.
I can see why #2 could put a lot of information in the undo list. But
why would this make the undo list for one single command very large?
The remaing case occured in conjunction with the command
diff-context->unified on a large patch file. Maybe the command shouldn't
keep the undo info, but find that I do undo this command.
It makes sense for this command to be undoable. Indeed, for a big
enough file, it would trigger this question.
I wonder if the command is written in a way that produces
unnecessarily large bulk of undo info. Perhaps some simple changes
would reduce the size of its undo info by a factor of 2.
This, combined with increasing the default value of undo-outer-limit,
would make such questions very rare.
- Re: Undo discard prompt (was: [T. V. Raman] read-only modes should be using buffer-disable-undo?), (continued)
- Re: Undo discard prompt (was: [T. V. Raman] read-only modes should be using buffer-disable-undo?), Luc Teirlinck, 2005/01/29
- Re: Undo discard prompt, Stefan Monnier, 2005/01/24
- Re: Undo discard prompt, Richard Stallman, 2005/01/25
- Re: Undo discard prompt, Kim F. Storm, 2005/01/26
- Re: Undo discard prompt, Stefan Monnier, 2005/01/26
- Re: Undo discard prompt, Richard Stallman, 2005/01/26
- Re: Undo discard prompt, Richard Stallman, 2005/01/26
- Re: Undo discard prompt,
Richard Stallman <=
- Re: Undo discard prompt, Stefan Monnier, 2005/01/26
- Re: Undo discard prompt, Richard Stallman, 2005/01/26
- Undo discard prompt (was: [T. V. Raman] read-only modes should be using buffer-disable-undo?), T. V. Raman, 2005/01/23
- Re: Undo discard prompt (was: [T. V. Raman] read-only modes should be using buffer-disable-undo?), Luc Teirlinck, 2005/01/23
- Re: Undo discard prompt (was: [T. V. Raman] read-only modes should be using buffer-disable-undo?), Richard Stallman, 2005/01/24
- Re: Undo discard prompt, Stefan Monnier, 2005/01/25
- Re: Undo discard prompt, Richard Stallman, 2005/01/26
- Re: Undo discard prompt, Richard Stallman, 2005/01/26
- Re: [T. V. Raman] read-only modes should be using buffer-disable-undo?, Richard Stallman, 2005/01/24
Re: [T. V. Raman] read-only modes should be using buffer-disable-undo?, T. V. Raman, 2005/01/23