From: Bill Zaumen <zaumen@pacbell.net>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: X-windows performance over slow connections.
Date: Sat, 20 Jan 2007 22:06:29 -0800 [thread overview]
Message-ID: <1169359589.30561.65.camel@localhost> (raw)
In-Reply-To: <u7ivjwau8.fsf@gnu.org>
On Fri, 2007-01-19 at 12:49 +0200, Eli Zaretskii wrote:
> > From: Bill Zaumen <zaumen@pacbell.net>
> > 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
next prev parent reply other threads:[~2007-01-21 6:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-18 23:35 X-windows performance over slow connections Bill Zaumen
2007-01-19 10:49 ` Eli Zaretskii
2007-01-20 6:17 ` Kevin Rodgers
2007-01-20 14:06 ` Eli Zaretskii
2007-01-22 6:53 ` Kevin Rodgers
2007-01-27 18:13 ` Eli Zaretskii
2007-01-20 18:07 ` Richard Stallman
[not found] ` <mailman.3337.1169273850.2155.bug-gnu-emacs@gnu.org>
2007-01-20 22:53 ` Tom Horsley
2007-01-21 6:06 ` Bill Zaumen [this message]
2007-01-21 10:12 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1169359589.30561.65.camel@localhost \
--to=zaumen@pacbell.net \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).