all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Why is Emacs so slow when used remotely?
Date: Wed, 22 Sep 2010 00:19:01 +0200	[thread overview]
Message-ID: <87sk12spt6.fsf@lola.goethe.zz> (raw)
In-Reply-To: 3ebca0e6-c698-44dd-a4fd-6166233f5eba@q26g2000vbn.googlegroups.com

"Russ P." <russ.paielli@gmail.com> writes:

> On Sep 20, 6:40 pm, des...@verizon.net wrote:
>> "Russ P." <russ.paie...@gmail.com> writes:
>> > As I explained a few days ago, I am trying to switch from XEmacs to
>> > Emacs so I can use Ensime (an Emacs-based IDE for Scala). I finally
>> > got my .emacs file debugged, but now I am finding that Emacs seems to
>> > be very slow when used remotely.
>>
>> > When I work from home, I login from one Linux machine to another using
>> > ssh -X over a high-speed Internet connection, using my home machine as
>> > an X terminal for my work machine. I am using Emacs 23.2.1 on Red Hat.
>> > I am finding that opening a file or switching buffers by middle-
>> > clicking in dired or the buffer menu takes approximately 20-30
>> > seconds. With XEmacs it takes less than one second. I hope I am doing
>> > something wrong that can be corrected, because I'll grow old sitting
>> > around that long every time I open a file or switch buffers. Any
>> > suggestions? Thanks.
>>
>> Did you file a bug report?
>
> No. I don't  know if this behavior is a bug or just poor performance.
> (Nor do I know, off hand, how to file a bug report.)
>
> This is disappointing. As far as I can tell, Emacs seems to be
> essentially unusable for remote usage. I can't believe I am the only
> one who has noticed this problem. Am I the only one who uses Emacs/
> XEmacs to work remotely over ssh -X?

For a distant machine with an ssh connection, you are usually quite
better off running Emacs on your _own_ machine and just accessing files
remotely.

Something like

C-x C-f /username@my.remote.host:local.filename RET

This will open an ssh session under username on my.remote.host and use
shell commands for transferring the file to your local Emacs.

Even things like
M-x compile RET

should work reasonably well (executing on the remote host with output to
a window in your local Emacs).

Much better than having to update a graphical display, and you need not
bother installing and maintaining an Emacs on the remote site.

-- 
David Kastrup


  parent reply	other threads:[~2010-09-21 22:19 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-20 23:20 Why is Emacs so slow when used remotely? Russ P.
2010-09-21  1:40 ` despen
2010-09-21 18:29   ` Russ P.
2010-09-21 18:53     ` Thorsten Bonow
2010-09-21 21:19       ` despen
2010-09-21 21:23     ` despen
2010-09-21 22:12     ` Tim X
2010-09-21 22:31       ` Pascal J. Bourguignon
2010-09-22  6:54         ` David Kastrup
2010-09-22 13:05           ` Pascal J. Bourguignon
2010-09-22 13:25             ` David Kastrup
2010-09-22 13:41               ` Pascal J. Bourguignon
2010-09-22 22:33             ` Tim X
2010-09-23 22:50           ` Stefan Monnier
2010-09-21 22:19     ` David Kastrup [this message]
2010-09-22 21:56     ` Andrea Venturoli
2010-09-23 22:54       ` Stefan Monnier
2010-09-24 15:48       ` Giacomo Boffi
2010-09-24 18:01         ` despen
2010-09-23 22:44     ` Stefan Monnier
2010-09-24  2:29       ` despen
2013-11-15 15:47   ` mgrojo
2013-11-15 22:24     ` Bob Proulx
2013-11-15 22:58       ` Drew Adams
2013-11-15 23:30         ` Bob Proulx
2013-11-21 20:13       ` Manuel Gómez
2013-11-21 21:39         ` Bob Proulx
2013-11-27 17:58         ` Ken Goldman
2013-11-27 23:16           ` Peter Dyballa
2013-11-28  2:34             ` Bob Proulx
2013-11-28 11:35               ` Peter Dyballa
2013-11-28 19:48                 ` Bob Proulx
2013-11-28 21:53                   ` Peter Dyballa
2013-11-29 18:56                     ` Bob Proulx
2013-11-30 15:23                       ` Perry Smith
2013-11-30 23:03                         ` Peter Dyballa
2013-12-01 15:41                           ` Perry Smith
2013-11-28  4:11         ` Stefan Monnier
     [not found]       ` <mailman.6780.1385064830.10748.help-gnu-emacs@gnu.org>
2013-11-24 16:17         ` Kenneth Jacker
2013-11-24 20:02           ` Manuel Gómez
     [not found]     ` <mailman.6297.1384554313.10748.help-gnu-emacs@gnu.org>
2013-11-16  2:13       ` Dan Espen
2010-09-22 10:44 ` Uday Reddy
     [not found] ` <306c0aac-97e2-47b4-bf63-afe247dea2b3@u13g2000vbo.googlegroups.com>
2010-09-23 22:06   ` Tim X
2010-09-24 15:45 ` Giacomo Boffi
2010-09-24 22:32   ` Russ P.
2010-09-25  0:39     ` Tim X
2010-09-27 13:30     ` Giacomo Boffi
2010-09-27 21:11       ` Stefan Monnier
2010-09-27 21:16         ` Giacomo Boffi
2010-09-27 23:01           ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2010-09-21 22:32 Russ P.

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sk12spt6.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=help-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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.