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

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

Re: Emacs hangs enabling debug-on-error


From: Kim F. Storm
Subject: Re: Emacs hangs enabling debug-on-error
Date: 14 May 2004 02:00:34 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

address@hidden (Kim F. Storm) writes:

> Reverting the following change fixes it:
> 
> 2003-04-23  Jan Djärv  <address@hidden>
> 
>       * xdisp.c (update_tool_bar): BLOCK_INPUT before calling
>       tool_bar_items so GTK tool bar expose callback does not access items
>       being updated.
> 
> 
> Problem is that emacs is looping inside tool_bar_items in a
> Fsignal / redisplay / tool_bar_items...  loop.
> 
> However, we need a more radical fix as we really need to stop processing
> tool-bar items when one of them is bogus; I'll look into ways to do that.
> 

The problem is that redisplay triggers an error which throws to
top-level while input is blocked, and we don't unblock input in that
case.

I have made a fix for this which solves the specific problem, but I
haven't installed it yet, as it is a bit ugly, and I'm still hoping to
find a better way to fix it.

-- 
Kim F. Storm  http://www.cua.dk





reply via email to

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