From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: [levoy@cs.stanford.edu: Poor performance over DSL link] Date: 11 Sep 2002 01:34:16 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5x4rcxv2pz.fsf@kfs2.cua.dk> References: <5xelc3o4wq.fsf@kfs2.cua.dk> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031697366 9683 127.0.0.1 (10 Sep 2002 22:36:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Sep 2002 22:36:06 +0000 (UTC) Cc: levoy@cs.stanford.edu, gerd@gnu.org, 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 17otc2-0002Vo-00 for ; Wed, 11 Sep 2002 00:36:02 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17ouCe-0008IV-00 for ; Wed, 11 Sep 2002 01:13:52 +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 17otc8-0008QM-00; Tue, 10 Sep 2002 18:36:08 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17ota8-0008Mm-00 for emacs-devel@gnu.org; Tue, 10 Sep 2002 18:34:04 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17ota6-0008MJ-00 for emacs-devel@gnu.org; Tue, 10 Sep 2002 18:34:03 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17ota5-0008MA-00; Tue, 10 Sep 2002 18:34:01 -0400 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id E48387C017; Tue, 10 Sep 2002 22:33:59 +0000 (GMT) Original-To: rms@gnu.org In-Reply-To: Original-Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:7825 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7825 Richard Stallman writes: > If you don't need X Input Methods (XIM) for entering text in some > language you use, you can improve performance on WAN links by > configuring Emacs with option `--without-xim'. Configuring Emacs > without XIM does not affect the use of Emacs' own input methods, which > are part of the Leim package. > > Can we add a run-time feature to Emacs to disable the use of them? > Would that get the same speedup? It seems like a fairly trivial change. However, it is not adequate to simply make a variable to control this, as the decision whether to actually use XIM would then have to be made before creating the first frame, so setting that variable to "don't use XIM" too late will not have any effect. The proper solution is probably to make a function to enable/disable XIM on an X display; as I see it, the use of XIM is actually per-display, so this would be more flexible than the current compile-time constant. -- Kim F. Storm http://www.cua.dk