all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: michael.albinus@gmx.de
To: Gabor Greif <g.greif@lucent.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Tramp questions
Date: Wed, 01 Dec 2010 11:08:54 +0100	[thread overview]
Message-ID: <87d3plajpl.fsf@gmx.de> (raw)
In-Reply-To: <9d50c8be-46a0-436e-b02e-466d04ce6d54@t20g2000yqa.googlegroups.com> (Gabor Greif's message of "Tue, 5 Oct 2010 14:31:22 -0700 (PDT)")

Gabor Greif <g.greif@lucent.com> writes:

> ## Reposting since my original question was posted via
> ## groups.google.com and did not make it to the newsgroup

[This posting didn't make it either; I've seen it on news.alcatel.com. I
suspect, that news server does not feed the article outside]

[Yes, you could find me in the A-LU X500 directory :-) ]

> Hi all,

Hi Gabor,

> first of all, big thank you to all who have developed and as
> maintaining emacs tramp. It is a truly great tool and have saved me
> from countless headaches!
>
> Some remarks and questions follow...
>
> 1) Is there a method which instead of sending back entire files, sends
> only the diffs to the last saved checkpoint of the file? Something
> like '/ssh+patch:...' ? I ask, because in my setup download is very
> fast, but upstream is unreliable for more than a few kB, so saving all
> but tiny files regularly hangs. Maybe the ssh tunnel to the outer
> world is defective or constrained, but I have no control over this
> aspect :-( A patch-based save would work for me, as I tend to save WIP
> files often, so the patches are very small.

Tramp itself does not support this mechanism. You could try the rsync or
rsyncc methods. According to the ChangeLog, there are some optimizations
since Tramp 2.1.17.

Emacs *could* support saving of file pieces, see function
`write-region'. But I believe, the arguments start and end are not used
as much in the codebase, and Tramp is just a library, which implements
such basic functions.

> 2) I have observed that 'M-x compile' will remotely run my (e.g.) make
> command. This is wonderful, and I became even more astonished seeing
> that clicking in compile errors in .c files even opens the remote file
> and positions the cursor. But sometimes the error parser gets confused
> and does not chop off the ":line:column" portion from the filename and
> tries to open e.g. 'foo.c:77:23', which - of course - does not exist.
> Is this a tramp-related problem? (I guess so, since locally all is
> good.)

I'm not aware of this problem. Maybe you could show an example.

> That's it, thanks for any hints in advance!
>
> Cheers,
>
>     Gabor

Best regards, Michael.



       reply	other threads:[~2010-12-01 10:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9d50c8be-46a0-436e-b02e-466d04ce6d54@t20g2000yqa.googlegroups.com>
2010-12-01 10:08 ` michael.albinus [this message]
2010-12-01 13:46   ` Tramp questions Gary
2010-12-01 23:51     ` Michael Albinus
2010-12-02 17:57       ` lists.gnu.org status (Re: Tramp questions) Bob Proulx
2006-09-30 23:30 tramp questions Ajit Mylavarapu
2006-10-01 16:25 ` Tim Heaney
2006-10-07 10:04 ` William Xu
  -- strict thread matches above, loose matches on Subject: below --
2004-02-28 19:53 Michael Powe
2004-02-29 17:48 ` Kai Grossjohann
2004-03-01 15:40   ` Peter Lee
2004-03-01 15:57     ` Kai Grossjohann
2004-03-06 14:18   ` Michael Powe

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=87d3plajpl.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=g.greif@lucent.com \
    --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.