emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs 24 randomly hanging


From: martin rudalics
Subject: Re: emacs 24 randomly hanging
Date: Fri, 24 Feb 2012 19:43:12 +0100

> There's another possible problem: x-create-frame sets the
> background-color parameter prior to the frame being put on Vframe_list.
> IIUC, this parameter needs to be set before we can consider the frame
> live, because the frame size calculation depends on the default face,
> which may in turn depend on the background mode.  But setting the
> parameter causes a Lisp call to frame-set-background-mode, so we can in
> principle get in trouble if the user redefines or advises that function.
> But that's a sufficiently obscure corner case that we can leave it for
> post-24.1, I think.

Is there any reason not to disable all hooks when creating a frame?  If
it were just for `window-configuration-change-hook' it might be simpler
to check in run_window_configuration_change_hook whether the frame is on
Vframe_list.

martin



reply via email to

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