From: martin rudalics <rudalics@gmx.at>
To: Chong Yidong <cyd@gnu.org>
Cc: Eli Zaretskii <eliz@gnu.org>, schwab@linux-m68k.org, emacs-devel@gnu.org
Subject: Re: emacs 24 randomly hanging
Date: Fri, 24 Feb 2012 19:43:12 +0100 [thread overview]
Message-ID: <4F47DA40.8020900@gmx.at> (raw)
In-Reply-To: <874nuix9dt.fsf@gnu.org>
> 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
prev parent reply other threads:[~2012-02-24 18:43 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-19 5:28 emacs 24 randomly hanging Adam
2012-02-19 9:45 ` Adam
2012-02-19 9:54 ` Andreas Schwab
2012-02-20 7:23 ` Adam
2012-02-20 15:34 ` Dan Nicolaescu
2012-02-21 10:10 ` Adam
2012-02-21 10:43 ` Adam
2012-02-21 15:41 ` Dan Nicolaescu
2012-02-21 16:54 ` martin rudalics
2012-02-21 18:42 ` Adam
2012-02-22 8:26 ` martin rudalics
2012-02-22 9:01 ` Andreas Schwab
2012-02-22 9:41 ` martin rudalics
2012-02-22 14:49 ` Stefan Monnier
2012-02-24 18:43 ` martin rudalics
2012-02-22 10:55 ` Chong Yidong
2012-02-22 16:28 ` Eli Zaretskii
2012-02-23 8:05 ` Chong Yidong
2012-02-23 14:03 ` Christopher Schmidt
2012-02-23 16:39 ` Christopher Schmidt
2012-02-23 17:42 ` Chong Yidong
2012-02-24 18:43 ` martin rudalics [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F47DA40.8020900@gmx.at \
--to=rudalics@gmx.at \
--cc=cyd@gnu.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.