all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Cc: emacs-devel@gnu.org
Subject: Re: Tramp keep-time broken
Date: Wed, 12 Feb 2003 08:52:46 +0100	[thread overview]
Message-ID: <8465rqaqb5.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: <3E49670A.9000404@math.ku.dk> (Lars Hansen's message of "Tue, 11 Feb 2003 22:11:38 +0100")

Lars Hansen <larsh@math.ku.dk> writes:

> `copy-file' does not keep time although KEEP-TIME is t when one copies
> a file from the local computer to a remote one using Emacs Tramp from
> today's CVS.
> When I look into tramp.el it seems that copying is handled by
> tramp-do-copy-or-rename-via-buffer' and that this function does not
> support KEEP-TIME. It seems that `tramp-rcp-program' is not used at
> all!
> Is this true?

It depends on the tramp method that you are using.  There are inline
methods (which transfer the file through the shell connection using
base64 or uu encoding) and there are out-of-band methods (which
invoke an external program such as rcp or scp or rsync to actually
transfer the file).

Should Tramp barf if it is requested to keep the time but can't?

Is there a way to set the mtime of a file that's created by
redirecting a program's stdout to a file?  Maybe some machines have a
"touch" program that can set the mtime to an arbitrary value.
-- 
A turnip curses Elvis

  reply	other threads:[~2003-02-12  7:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-11 21:11 Tramp keep-time broken Lars Hansen
2003-02-12  7:52 ` Kai Großjohann [this message]
2003-02-12 11:18   ` Lars Hansen
2003-02-12 11:55     ` Kai Großjohann
2003-02-12 18:11     ` Kai Großjohann

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=8465rqaqb5.fsf@lucy.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@uni-duisburg.de \
    --cc=emacs-devel@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.