From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: slow make-frame + face initialization / importing x resources Date: Sun, 15 Jul 2007 00:28:42 +0300 Message-ID: References: <2CB90CD5-24E4-4EA9-BF74-5E9AE248BF6B@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1184448533 3144 80.91.229.12 (14 Jul 2007 21:28:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Jul 2007 21:28:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 14 23:28:52 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 1I9pAZ-0005PO-Qq for ged-emacs-devel@m.gmane.org; Sat, 14 Jul 2007 23:28:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I9pAZ-0007z2-3V for ged-emacs-devel@m.gmane.org; Sat, 14 Jul 2007 17:28:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I9pAV-0007yx-L3 for emacs-devel@gnu.org; Sat, 14 Jul 2007 17:28:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I9pAT-0007yl-8u for emacs-devel@gnu.org; Sat, 14 Jul 2007 17:28:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I9pAT-0007yi-2Z for emacs-devel@gnu.org; Sat, 14 Jul 2007 17:28:45 -0400 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I9pAS-0003WJ-Mk for emacs-devel@gnu.org; Sat, 14 Jul 2007 17:28:44 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-219-223.inter.net.il [83.130.219.223]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id HGE80901 (AUTH halo1); Sun, 15 Jul 2007 00:28:51 +0300 (IDT) In-reply-to: (message from David Reitter on Sat, 14 Jul 2007 21:53:38 +0100) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:74785 Archived-At: > From: David Reitter > Date: Sat, 14 Jul 2007 21:53:38 +0100 > Cc: rms@gnu.org, emacs-devel@gnu.org > > On Mac and Windows window systems, is there a reason why X resources > should be supported in the first place? I don't understand the question. The Windows port reads X resources from the Registry; why shouldn't we support that? > 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. > Can faces be deleted? No? This is probably why more and more faces > accumulate over time (when you use something like color-theme, > e.g.). If color-theme blindly adds faces instead of modifying existing ones, then yes. Does it actually do that? > What is the memory footprint of a single frame then? See struct frame defined on frame.h, but some of its members have variable length.