From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [patch] cache color info for remote X sessions [Was: Emacs 21/X11 generating unbelieveable network traffic] Date: Mon, 07 Oct 2002 11:31:04 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1034004925 26988 127.0.0.1 (7 Oct 2002 15:35:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 7 Oct 2002 15:35:25 +0000 (UTC) Cc: emacs-devel@gnu.org, gerd@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17yZul-000716-00 for ; Mon, 07 Oct 2002 17:35:23 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17yaht-0000nd-00 for ; Mon, 07 Oct 2002 18:26:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yZrb-0002zG-00; Mon, 07 Oct 2002 11:32:07 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17yZqd-0001ze-00 for emacs-devel@gnu.org; Mon, 07 Oct 2002 11:31:07 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17yZqa-0001uc-00 for emacs-devel@gnu.org; Mon, 07 Oct 2002 11:31:06 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yZqa-0001uV-00 for emacs-devel@gnu.org; Mon, 07 Oct 2002 11:31:04 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 17yZqa-0006GG-00; Mon, 07 Oct 2002 11:31:04 -0400 Original-To: usenet@fischman.org In-reply-to: (message from Ami Fischman on Sat, 05 Oct 2002 17:21:48 -0700) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8439 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8439 Another obvious thing to cache would be the font data that emacs can request, although it is much less clear to me how to cache the XExtData list that is potentially contained in an XFontStruct (namely, how do you know how big the private data is? If anyone has any suggestions here, I'd like to hear them). Maybe the thing to do is to copy and cache just the data that Emacs actually looks at in that code. For fonts that are actually being used for display, Emacs already has a cache. So I suspect (though I'm partly guessing) that this is for some other part of Emacs which is just thinking about fonts and not actually using them. If that is true, I suspect that the parts of the font data it uses are rather limited.