[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: two related edebug problems
From: |
Stefan Monnier |
Subject: |
Re: two related edebug problems |
Date: |
Fri, 11 Aug 2006 18:34:29 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> I found out the cause of the bug. edebug-display calls sit-for to
> pause before displaying eval results, then calls
> edebug-recursive-edit. However, edebug-recursive-edit rebinds
> unread-command-events, causing sit-for interruptions (which are put
> into unread-command-events) to go unnoticed. This creates problems
> when you type in edebug commands in quick succession. I fixed this by
> moving the rebinding of unread-command-events to edebug-display.
This is a workaround rather than a fix. A real fix would be to change
sit-for so it doesn't use unread-command-events but an internal variable
instead with which other code can't mess.
Stefan