From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: slow make-frame + face initialization / importing x resources Date: Sun, 15 Jul 2007 15:50:07 +0200 Message-ID: <469A260F.7010204@swipnet.se> References: <2CB90CD5-24E4-4EA9-BF74-5E9AE248BF6B@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1184507474 2435 80.91.229.12 (15 Jul 2007 13:51:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Jul 2007 13:51:14 +0000 (UTC) Cc: David Reitter , Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 15 15:51:12 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IA4VB-0002bQ-7Q for ged-emacs-devel@m.gmane.org; Sun, 15 Jul 2007 15:51:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IA4VA-00024D-LA for ged-emacs-devel@m.gmane.org; Sun, 15 Jul 2007 09:51:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IA4V7-000243-4U for emacs-devel@gnu.org; Sun, 15 Jul 2007 09:51:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IA4V5-00023S-Jm for emacs-devel@gnu.org; Sun, 15 Jul 2007 09:51:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IA4V5-00023P-C8 for emacs-devel@gnu.org; Sun, 15 Jul 2007 09:51:03 -0400 Original-Received: from av10-1-sn2.hy.skanova.net ([81.228.8.181]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IA4V4-0001Vx-T0 for emacs-devel@gnu.org; Sun, 15 Jul 2007 09:51:03 -0400 Original-Received: by av10-1-sn2.hy.skanova.net (Postfix, from userid 502) id 411223805C; Sun, 15 Jul 2007 15:51:01 +0200 (CEST) Original-Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av10-1-sn2.hy.skanova.net (Postfix) with ESMTP id 0CB8338051; Sun, 15 Jul 2007 15:51:01 +0200 (CEST) Original-Received: from husetbladh.homeip.net (81-235-205-78-no59.tbcn.telia.com [81.235.205.78]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 3D77037E47; Sun, 15 Jul 2007 15:51:00 +0200 (CEST) User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) In-Reply-To: X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74814 Archived-At: Stefan Monnier skrev: >>> Sharing the faces between frames would be good to. >> What kind of sharing do you have in mind? Faces are frame-specific, >> so changing a face generally affects only the frame for which it is >> changed. If the suggested sharing will defeat this, I don't think >> it's a good idea. > > I'm thinking of doing ref-counts and COW, so by default, if the new frame is > similar (e.g. on the same screen with the "same" frame parameters), so the > faces are inherited. They can later get unshared if needed. > What if X resources changed between creation of the first and second frame? Jan D.