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

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

Re: Big desktop undo buffer crashes Emacs


From: Luc Teirlinck
Subject: Re: Big desktop undo buffer crashes Emacs
Date: Sat, 29 Apr 2006 13:29:25 -0500 (CDT)

Bill Wohler wrote:

   Bill Wohler <address@hidden> writes:

   > Every morning for the past weeks, I've had a message in my minibuffer
   > that roughly goes, "Desktop undo buffer is 3+ MB, discard? (yes or no)".
   > I've been saying "yes". This morning, feeling snarky, I said "no" and
   > Emacs crashed.

   I said "no" to that question twice this morning, and Emacs did not
   crash.

Emacs only crashes if the size of the undo info is big enough to
cause memory overflow.  So the fact that if you answer no, Emacs
sometimes crashes and sometimes not is to be expected.

Also, if you leave Emacs running while the question is being asked and
leave your computer without answering the question for a relatively
long time, memory leakage will occur.

   > What is this "Desktop undo buffer" by the way?

I do not use desktop.  But my impression is that desktop should
disable undo somewhere.  Somebody who uses and knows desktop should
take a look at that.

   And why does Emacs keep asking me this question?

For debugging purposes.  I do not know desktop well enough, but this
seems to be a bug in desktop (failing to disable undo).  Once Emacs-22
is released, the undo info will be discarded automatically, to prevent
crashes and memory leakage.

Sincerely,

Luc.




reply via email to

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