emacs-devel
[Top][All Lists]
Advanced

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

Re: bug in 23.2.92 with anything


From: Stefan Monnier
Subject: Re: bug in 23.2.92 with anything
Date: Sun, 16 Jan 2011 10:16:40 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> As I said earlier, the problem is that we temporarily violate the
> invariant window_frame (selected_window) == selected_frame.

No argument from me here.  BTW, there's another place in the redisplay
where we break this invariant, as mentioned in the corresponding
comment:

    /* When running redisplay, we play a bit fast-and-loose and allow e.g.
       selected_frame and selected_window to be temporarily out-of-sync so
       when we come back here via `goto retry', we need to resync because we
       may need to run Elisp code (via prepare_menu_bars).  */
    select_frame_for_redisplay (old_frame);

It would be good to get rid of such risky code.


        Stefan



reply via email to

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