From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: emacs 24 randomly hanging Date: Fri, 24 Feb 2012 19:43:12 +0100 Message-ID: <4F47DA40.8020900@gmx.at> References: <878vjzz920.fsf@earth.home> <87sji4mpwn.fsf@this.that> <4F43CC35.60407@gmx.at> <8762f0qbam.fsf@this.that> <4F44A6A2.8040701@gmx.at> <87aa4byw66.fsf@gnu.org> <83k43eu91n.fsf@gnu.org> <874nuix9dt.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1330109012 18415 80.91.229.3 (24 Feb 2012 18:43:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Feb 2012 18:43:32 +0000 (UTC) Cc: Eli Zaretskii , schwab@linux-m68k.org, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 24 19:43:31 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S1078-0002Lh-Og for ged-emacs-devel@m.gmane.org; Fri, 24 Feb 2012 19:43:30 +0100 Original-Received: from localhost ([::1]:54781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1078-0006rJ-7i for ged-emacs-devel@m.gmane.org; Fri, 24 Feb 2012 13:43:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1074-0006rD-Va for emacs-devel@gnu.org; Fri, 24 Feb 2012 13:43:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1071-0003Fm-Vk for emacs-devel@gnu.org; Fri, 24 Feb 2012 13:43:26 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:34648) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1S1071-0003FW-Cb for emacs-devel@gnu.org; Fri, 24 Feb 2012 13:43:23 -0500 Original-Received: (qmail invoked by alias); 24 Feb 2012 18:43:21 -0000 Original-Received: from 62-47-54-173.adsl.highway.telekom.at (EHLO [62.47.54.173]) [62.47.54.173] by mail.gmx.net (mp039) with SMTP; 24 Feb 2012 19:43:21 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/EWgc5fBnEjggxd3K2hdUvQBVkumRuD5avLSyCjY KDpKIgBJOsZJFP In-Reply-To: <874nuix9dt.fsf@gnu.org> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.23 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148765 Archived-At: > 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