From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: Tramp keep-time broken Date: Wed, 12 Feb 2003 08:52:46 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <8465rqaqb5.fsf@lucy.is.informatik.uni-duisburg.de> References: <3E49670A.9000404@math.ku.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045045361 8513 80.91.224.249 (12 Feb 2003 10:22:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Feb 2003 10:22:41 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18iu2K-0002DB-00 for ; Wed, 12 Feb 2003 11:22:40 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18iuEF-0005oS-00 for ; Wed, 12 Feb 2003 11:34:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18iu2Q-0005Wm-03 for emacs-devel@quimby.gnus.org; Wed, 12 Feb 2003 05:22:46 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18iu2H-0005Uh-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 05:22:37 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18iu2E-0005Sq-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 05:22:35 -0500 Original-Received: from perikles.informatik.uni-duisburg.de ([134.91.35.3]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18iu2B-0005Dk-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 05:22:31 -0500 Original-Received: from lucy.is.informatik.uni-duisburg.de (postfix@lucy.is.informatik.uni-duisburg.de [134.91.35.216]) h1CANSwJ248273; Wed, 12 Feb 2003 11:23:28 +0100 (CET) Original-Received: by lucy.is.informatik.uni-duisburg.de (Postfix, from userid 1003) id B6A3C439DC; Wed, 12 Feb 2003 09:51:44 +0100 (CET) Original-To: Lars Hansen In-Reply-To: <3E49670A.9000404@math.ku.dk> (Lars Hansen's message of "Tue, 11 Feb 2003 22:11:38 +0100") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11585 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11585 Lars Hansen 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