From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.bugs Subject: bug#2912: 23.0.92; Ediff over TRAMP too slow Date: Tue, 7 Apr 2009 09:17:22 -0400 Message-ID: <18584843-972F-4F9C-84FF-A9E621BD39CF@boostpro.com> References: Reply-To: David Abrahams , 2912@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.4) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239111950 18157 80.91.229.12 (7 Apr 2009 13:45:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Apr 2009 13:45:50 +0000 (UTC) Cc: 2912@emacsbugs.donarmstrong.com To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 07 15:47:08 2009 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 1LrBdX-0007Ho-LU for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Apr 2009 15:46:47 +0200 Original-Received: from localhost ([127.0.0.1]:41847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrBc9-0003u0-DC for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Apr 2009 09:45:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrBan-0003Mw-5X for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2009 09:43:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrBah-0003Lh-GR for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2009 09:43:55 -0400 Original-Received: from [199.232.76.173] (port=33046 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrBah-0003Ld-A2 for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2009 09:43:51 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51046) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LrBag-0006Du-Mw for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2009 09:43:51 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n37DhmPF006277; Tue, 7 Apr 2009 06:43:48 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n37DP55C000418; Tue, 7 Apr 2009 06:25:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: David Abrahams Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 07 Apr 2009 13:25:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2912 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2912-submit@emacsbugs.donarmstrong.com id=B2912.123911024731125 (code B ref 2912); Tue, 07 Apr 2009 13:25:05 +0000 Original-Received: (at 2912) by emacsbugs.donarmstrong.com; 7 Apr 2009 13:17:27 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from boost-consulting.com (boost-consulting.com [206.71.190.141]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n37DHOxR031119 for <2912@emacsbugs.donarmstrong.com>; Tue, 7 Apr 2009 06:17:25 -0700 Original-Received: from [192.168.188.134] (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com [207.172.223.249]) (Authenticated sender: dave) by boost-consulting.com (Postfix) with ESMTPSA id 4A1951CC1E; Tue, 7 Apr 2009 06:15:25 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.930.4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 07 Apr 2009 09:43:55 -0400 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:26971 Archived-At: On Apr 7, 2009, at 3:44 AM, Michael Albinus wrote: > David Abrahams writes: > >> Ediff two remote files using /ssh:... protocol >> >> It seems to go over the network for everything. At first I thought >> it >> was the auto-refining, but I turned that off and it didn't seem to >> make >> any difference in speed. > > In case of remote files, ediff compares local copies, indeed. If that's all it was doing, I wouldn't be complaining. Each time I move to the next diff, it appears to be going over the network. > I'm not so > familiar with ediff, therefore I don't know, whether this can be > changed > easily, running the diff command on the remote host. However, this > introduces more complexity into ediff: there might be protocols > which do > not support execution of remote commands (like ftp or smb). > Furthermore, > ediff would need to check, whether the files to be compared reside on > the same remote host. I don't think that would be a big win. There is, however, a lot to be gained somewhere *during* the ediff session. > I don't believe that this shall be changed before the release of Emacs > 23.1. After the release, it might be a new feature somebody (with more > skills than I have on ediff) might implement. > > For larger files, I recommend to use the scp method instead of ssh. Really! I thought they were roughly the same. Thanks for the hint. -- David Abrahams BoostPro Computing http://boostpro.com