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

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

Re: undo mechanism (was Re: turning off (or enhancing) a couple of new f


From: Luc Teirlinck
Subject: Re: undo mechanism (was Re: turning off (or enhancing) a couple of new features)
Date: Sat, 26 Mar 2005 15:41:26 -0600 (CST)

Joe Corneli wrote:

   I think that running ogg123 on a .ogg file in the shell will do it.  I
   think running wget asynchronously to download a big file will do it.

If you are handling 3+M files, the warning is to be expected.

   The messages also seem to appear when I edit (using emacs lisp) a file
   that is only ~700k in size (at the end of the day), but in which I'm
   doing a lot of programmed manipulation.

You mean you are using your own programs?  Then clearly, there could
be a problem with your programs.  Interactively, Emacs handles undo
boundaries for you.  But non-interactively, like for timers and async
processes, this is not the case.  So the program itself must prevent
accumulating one huge undo entry by calling `undo-boundary' at all
appropriate places.

   To deal with this, when I'm doing a lot of programmatic editing, I
   just turn undo off.

Occasionally, turning undo off, or disabling it temporarily, might be
the correct solution.  Most of the time, it is probably going to be
putting in undo boundaries.  It depends on the program.

Sincerely,

Luc.





reply via email to

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