From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Why is Emacs so slow when used remotely? Date: Wed, 22 Sep 2010 00:19:01 +0200 Organization: Organization?!? Message-ID: <87sk12spt6.fsf@lola.goethe.zz> References: <76f5ba95-cc68-4326-a962-f515c0fb70cd@y31g2000vbt.googlegroups.com> <3ebca0e6-c698-44dd-a4fd-6166233f5eba@q26g2000vbn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1291871487 17224 80.91.229.12 (9 Dec 2010 05:11:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 05:11:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 06:11:21 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQYmm-00013r-ET for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 06:11:20 +0100 Original-Received: from localhost ([127.0.0.1]:43315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQYml-0008IP-N6 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 00:11:19 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!noris.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:3Q5zBDg275OzPPPBR55wfwNmzjA= Original-Lines: 51 Original-NNTP-Posting-Date: 22 Sep 2010 00:19:02 CEST Original-NNTP-Posting-Host: 6745398f.newsspool2.arcor-online.net Original-X-Trace: DXC=2BBEOkM]10PaAeROF2PWMQA9EHlD; 3YcR4Fo<]lROoRQ8kF5MOK`al0oRZAbigRcDS=A]?I@oUAIQTjS Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: usenet.stanford.edu gnu.emacs.help:181406 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76715 Archived-At: "Russ P." writes: > On Sep 20, 6:40 pm, des...@verizon.net wrote: >> "Russ P." 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