From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: Re: X-windows performance over slow connections. Date: Fri, 19 Jan 2007 12:49:03 +0200 Message-ID: References: <1169163354.8383.55.camel@localhost> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1169204358 23101 80.91.229.12 (19 Jan 2007 10:59:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Jan 2007 10:59:18 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 19 11:59:16 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 1H7rSl-00023e-K9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Jan 2007 11:59:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7rSl-0003IX-73 for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Jan 2007 05:59:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H7rIr-00062C-PZ for bug-gnu-emacs@gnu.org; Fri, 19 Jan 2007 05:49:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H7rIq-00061q-Mn for bug-gnu-emacs@gnu.org; Fri, 19 Jan 2007 05:49:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7rIp-00061U-HT for bug-gnu-emacs@gnu.org; Fri, 19 Jan 2007 05:49:00 -0500 Original-Received: from [213.8.233.23] (helo=heller.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H7rIp-0006zo-23 for bug-gnu-emacs@gnu.org; Fri, 19 Jan 2007 05:48:59 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-84-229-116-189.inter.net.il [84.229.116.189]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id BQL03280 (AUTH halo1); Fri, 19 Jan 2007 12:48:49 +0200 (IST) Original-To: Bill Zaumen In-reply-to: <1169163354.8383.55.camel@localhost> (message from Bill Zaumen on Thu, 18 Jan 2007 15:35:54 -0800) 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:15537 Archived-At: > 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.