From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bill Zaumen Newsgroups: gmane.emacs.bugs Subject: Re: X-windows performance over slow connections. Date: Sat, 20 Jan 2007 22:06:29 -0800 Message-ID: <1169359589.30561.65.camel@localhost> References: <1169163354.8383.55.camel@localhost> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1169361032 5521 80.91.229.12 (21 Jan 2007 06:30:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 Jan 2007 06:30:32 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 21 07:30:29 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H8WDi-0003Sx-Bz for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Jan 2007 07:30:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H8WDh-0000Ey-Pk for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Jan 2007 01:30:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H8Vpp-0005n9-RU for bug-gnu-emacs@gnu.org; Sun, 21 Jan 2007 01:05:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H8Vpm-0005lU-Vs for bug-gnu-emacs@gnu.org; Sun, 21 Jan 2007 01:05:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H8Vpm-0005lM-6S for bug-gnu-emacs@gnu.org; Sun, 21 Jan 2007 01:05:42 -0500 Original-Received: from [207.115.36.44] (helo=nlpi015.sbcis.sbc.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H8Vpk-0002ih-Md; Sun, 21 Jan 2007 01:05:40 -0500 X-ORBL: [209.233.20.69] Original-Received: from [192.168.1.11] (adsl-209-233-20-69.dsl.snfc21.pacbell.net [209.233.20.69]) by nlpi015.sbcis.sbc.com (8.13.8 out.dk.spool/8.13.8) with ESMTP id l0L65Vxp014104; Sun, 21 Jan 2007 00:05:32 -0600 Original-To: Eli Zaretskii In-Reply-To: X-Mailer: Evolution 2.6.1 X-Mailman-Approved-At: Sun, 21 Jan 2007 01:30:17 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15543 Archived-At: On Fri, 2007-01-19 at 12:49 +0200, Eli Zaretskii wrote: > > From: Bill Zaumen > > Date: Thu, 18 Jan 2007 15:35:54 -0800 > > > > When I run ssh -C -X to connect to my home system over an ADSL > > connection (unfortunately, in the 'slow' direction), it takes > > well over a minute to start emacs. I suspect this is due to the > > menu, toolbar, scrollbars, and other X-windows features it uses. > > Compression helps slightly, but is not quite enough. I tried > > to fix the problem by defining an environment variable named > > EMACS_NET_PROFILE which, if defined, has the value "slow", "medium" > > or "fast" to denote the speed of one's connection. For slower > > connections, it then turns off scroll bars, tool tips, menus, and > > the tool bar based on the value of this variable. Functionally, > > this works as one would expect, however over a slow connection, I > > can see the tool bar appear and then eventually go away: it seems > > that the tool bar is created before my .emacs file is read, so > > emacs takes about as long as before to get started. > > Did you try the advice in etc/PROBLEMS? Look for "Improving > performance with slow X connections". > > As for turning off various decorations, I think if you disable them in > your X resources, they will never come up. Thanks for your advice. I looked through etc/PROBLEMS. When I tried the option --without-xim emacs reports that this is an unknown option (I'm running ubuntu 6.0 (dapper), and I guess emacs was compiled without XIM). I couldn't find lbxproxy in a package search for the version of ubuntu linux I'm running, but I was using the -C option to ssh. I did find a bug report about lbxproxy being missing, although lbxproxy was available in older versions. Unfortunately, disabling decorations in X resources is a bit problematic for what I'm doing: the problem came up when I was trying to use a system at home from a coffee shop using a laptop, connecting to my desktop system via ssh, but I would also use emacs on the laptop to edit files there, so both were using the same X server, sometimes at the same time. Given that I'm using a slow connection infrequently, making emacs less capable the rest of the time is not an attractive option. Regards, Bill