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:17 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: References: <20021006012932.GA9183@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1034005488 29132 127.0.0.1 (7 Oct 2002 15:44:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 7 Oct 2002 15:44:48 +0000 (UTC) Cc: emacs-devel@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 17ya3q-0007Za-00 for ; Mon, 07 Oct 2002 17:44:46 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17yaqy-00011H-00 for ; Mon, 07 Oct 2002 18:35:33 +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 17yZrt-0003KM-00; Mon, 07 Oct 2002 11:32:25 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17yZrN-0002mQ-00 for emacs-devel@gnu.org; Mon, 07 Oct 2002 11:31:53 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17yZqo-0002AT-00 for emacs-devel@gnu.org; Mon, 07 Oct 2002 11:31:52 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yZqn-00028o-00 for emacs-devel@gnu.org; Mon, 07 Oct 2002 11:31:17 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 17yZqn-0006IC-00; Mon, 07 Oct 2002 11:31:17 -0400 Original-To: usenet@fischman.org In-reply-to: (message from Ami Fischman on Sat, 05 Oct 2002 22:31:07 -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:8442 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8442 It looks like you've done a good job. 4) Adding an option to configure.in to enable a (default=off) switch for USE_XCACHE. I don't feel like learning autoconf for this one thing. Such a feature would be a bad idea--useless complexity. Using a configure option to control something is a last resort. What would be both simpler and more useful is a feature at run time to turn the cache use on and off. A Lisp variable forwarded with DEFVAR_BOOL to a C int variable could control it. The entry points could avoid checking the cache if the C variable is 0.