From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "David Abrahams" Newsgroups: gmane.emacs.bugs,gmane.emacs.devel Subject: Re: Emacs 21/X11 generating unbelieveable network traffic Date: Sat, 5 Oct 2002 16:31:24 -0400 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: References: <3D9AE7AB.3000903@hekimian.com> <5x8z1fqhgk.fsf@kfs2.cua.dk> Reply-To: "David Abrahams" NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1033850611 20830 127.0.0.1 (5 Oct 2002 20:43:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 5 Oct 2002 20:43:31 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17xvlq-0005Pp-00 for ; Sat, 05 Oct 2002 22:43:30 +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 17xvkT-0006GE-00; Sat, 05 Oct 2002 16:42:05 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17xvjb-0004ex-00 for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2002 16:41:11 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17xvjG-00047b-00 for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2002 16:40:51 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17xviy-0003fI-00 for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2002 16:40:32 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17xviU-0005J6-00 for ; Sat, 05 Oct 2002 22:40:02 +0200 Original-To: bug-gnu-emacs@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17xvhq-0005HK-00 for ; Sat, 05 Oct 2002 22:39:22 +0200 Original-Path: not-for-mail Original-Lines: 34 Original-NNTP-Posting-Host: 209-150-60-85.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com Original-X-Trace: main.gmane.org 1033850362 20293 209.150.60.85 (5 Oct 2002 20:39:22 GMT) Original-X-Complaints-To: usenet@main.gmane.org Original-NNTP-Posting-Date: Sat, 5 Oct 2002 20:39:22 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3646 gmane.emacs.devel:8414 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8414 "Richard Stallman" wrote in message news:E17xad1-0003J7-00@fencepost.gnu.org... > Have you tried the advice in PROBLEMS? > In my experience, configure --without-xim makes a significant difference! > > Is there anyone who can provide code to enable and disable xim at run > time, so that people can obtain this speedup when they want it without > having to forfeit the feature completely or recompile Emacs to use it > again? > > Is there a way for Emacs to tell whether the user is using xim > so as to optimize performance when the user is not? The former solution would be an improvement, but probably still very slow unless there's a command-line option because emacs does a lot of this network handshaking at startup, which makes it unbearable just to wait for a prompt. The latter solution sounds like it might work better. My intuition, FWIW, is that neither of these is really the right long-term fix. Even if I was using the "X input method" (I assume that's what xim is), I don't see why emacs should be shuffling fonts, etc., for every .el file that gets loaded. -- ----------------------------------------------------------- David Abrahams * Boost Consulting dave@boost-consulting.com * http://www.boost-consulting.com