[Top][All Lists]
[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: |
Luc Teirlinck |
Subject: |
Re: Undo discard prompt (was: [T. V. Raman] read-only modes should be using buffer-disable-undo?) |
Date: |
Sun, 23 Jan 2005 11:35:46 -0600 (CST) |
T. V. Raman wrote:
Also, it might be useful to create a robust with-buffer-undo-disabled
macro that authors can wrap around their code at points where they
dont care about undo.
If you want to get rid of undo completely, there is `buffer-disable-undo'.
If you want to disable it temporarily, there is:
(let ((buffer-undo-list t)) ...)
Also, the correct solution to the problem causing the prompt is not
always to disable undo, completely or temporarily. We have seen
actual examples where the problem was caused by repeatedly appending
undo info to the same old undo entry, whereas the correct solution was
either to delete the old entry or put in an undo boundary.
Sincerely,
Luc.
- [T. V. Raman] read-only modes should be using buffer-disable-undo?, Dave Love, 2005/01/04
- Re: [T. V. Raman] read-only modes should be using buffer-disable-undo?, Richard Stallman, 2005/01/05
- Re: [T. V. Raman] read-only modes should be using buffer-disable-undo?, T. V. Raman, 2005/01/22
- Re: [T. V. Raman] read-only modes should be using buffer-disable-undo?, Richard Stallman, 2005/01/22
- Re: [T. V. Raman] read-only modes should be using buffer-disable-undo?, T. V. Raman, 2005/01/22
- Undo discard prompt (was: [T. V. Raman] read-only modes should be using buffer-disable-undo?), Stefan Monnier, 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?), 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 <=
- Re: 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?), T. V. Raman, 2005/01/23
- Re: Undo discard prompt (was: [T. V. Raman] read-only modes should be using buffer-disable-undo?), Miles Bader, 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 (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/24
- Re: Undo discard prompt, Kim F. Storm, 2005/01/24
- Re: Undo discard prompt (was: [T. V. Raman] read-only modes should be using buffer-disable-undo?), Luc Teirlinck, 2005/01/24
- Re: Undo discard prompt (was: [T. V. Raman] read-only modes should be using buffer-disable-undo?), Luc Teirlinck, 2005/01/24