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 19:11:53 +0100 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <84d6lxs712.fsf@lucy.is.informatik.uni-duisburg.de> References: <3E49670A.9000404@math.ku.dk> <8465rqaqb5.fsf@lucy.is.informatik.uni-duisburg.de> <3E4A2D84.20107@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 1045079114 30772 80.91.224.249 (12 Feb 2003 19:45:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Feb 2003 19:45:14 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18j2kw-0007hw-00 for ; Wed, 12 Feb 2003 20:41:18 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18j2x3-0002q8-00 for ; Wed, 12 Feb 2003 20:53:49 +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 18j2mJ-0001Vh-05 for emacs-devel@quimby.gnus.org; Wed, 12 Feb 2003 14:42:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18j2m2-0001UN-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 14:42:26 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18j2m0-0001R4-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 14:42:25 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18j2lA-00016R-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 14:41:32 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18j2dW-00075O-00 for ; Wed, 12 Feb 2003 20:33:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18j2aC-0006qj-00 for ; Wed, 12 Feb 2003 20:30:12 +0100 Original-Lines: 15 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 Cancel-Lock: sha1:spxkQTQ0WVVTC0WpeF3pfNFNrlo= 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:11598 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11598 Lars Hansen writes: > I am using methods pscp under Windows and scp under GNU/Linux. The > time stamp is not preserved in any of the cases. Unless I read the > code in tramp.el in a wrong way, time stamp is never preserved when > copying across machines. It looks to me as a bug. Ah, I've had a look at the code. Indeed, it should be invoking scp in more cases. For example, when one file is local and the other is remote, then scp can be invoked directly. But the code does not do that; it reads the source file into a buffer and then saves it. I'll work on it. -- A turnip curses Elvis