all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Abrahams <dave@boostpro.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 2912@emacsbugs.donarmstrong.com
Subject: bug#2912: 23.0.92; Ediff over TRAMP too slow
Date: Tue, 7 Apr 2009 09:17:22 -0400	[thread overview]
Message-ID: <18584843-972F-4F9C-84FF-A9E621BD39CF@boostpro.com> (raw)
In-Reply-To: <nqd4bo9abz.fsf@alcatel-lucent.de>


On Apr 7, 2009, at 3:44 AM, Michael Albinus wrote:

> David Abrahams <dave@boostpro.com> 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










  reply	other threads:[~2009-04-07 13:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4745.1239066236.31690.bug-gnu-emacs@gnu.org>
2009-04-07  7:44 ` bug#2912: 23.0.92; Ediff over TRAMP too slow Michael Albinus
2009-04-07 13:17   ` David Abrahams [this message]
2009-04-07 13:29     ` Michael Albinus
2009-04-07 14:58       ` David Abrahams
2009-04-07 15:26     ` Stefan Monnier

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=18584843-972F-4F9C-84FF-A9E621BD39CF@boostpro.com \
    --to=dave@boostpro.com \
    --cc=2912@emacsbugs.donarmstrong.com \
    --cc=michael.albinus@gmx.de \
    /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.