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

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

Re: "undo" problem in shell


From: Joakim Verona
Subject: Re: "undo" problem in shell
Date: Tue, 05 Apr 2005 09:51:19 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     this works, but after some time emacs hangs.
>     I attached gdb and found it hangs around here:
>
>     Program received signal SIGTSTP, Stopped (user).
>     0x0819f18a in truncate_undo_list (b=0x9430a08) at undo.c:366
>
> Of course, that will eventually be called, but if it "hangs", that
> is a bug.
>
> Would you please see etc/DEBUG and apply the techniques
> described there, to debug what's going on?

Ok, I see now that "hung" was the wrong word to use, after re-reading 
etc/DEBUG:** If the symptom of the bug is that Emacs fails to respond.

Maybe this description is better:

Emacs fails to respond, because it is buzy truncating a very large
undo list. My emacs doesnt respond to c-g during this operation, and
maybe that is normal behaviour.

I waited several hours for emacs to finish and return control, but in
the end I didnt have time to see it through.


The real problem is that Emacs shouldnt create a large undo list on
the occasion that it is receving output in a shell buffer from a
process spewing lots of data.

My uninformed view of the problem is that undo information shouldnt be
kept for process output, only for user modifications to the buffer.

-- 
Joakim Verona
www.verona.se




reply via email to

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