From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Tramp default method Date: Mon, 06 Nov 2006 23:33:53 +0100 Message-ID: <87vels8asu.fsf@gmx.de> References: <4544AA3E.9020804@soem.dk> <87k629dds3.fsf@gmx.de> <454F4C2A.8030605@soem.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162852464 1136 80.91.229.2 (6 Nov 2006 22:34:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Nov 2006 22:34:24 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 06 23:34:20 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GhD2k-000196-T2 for ged-emacs-devel@m.gmane.org; Mon, 06 Nov 2006 23:34:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhD2k-0002HL-Ax for ged-emacs-devel@m.gmane.org; Mon, 06 Nov 2006 17:34:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GhD2V-0002D2-Mk for emacs-devel@gnu.org; Mon, 06 Nov 2006 17:33:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GhD2S-000252-Fg for emacs-devel@gnu.org; Mon, 06 Nov 2006 17:33:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhD2S-00024c-AA for emacs-devel@gnu.org; Mon, 06 Nov 2006 17:33:56 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1GhD2S-0003op-1Q for emacs-devel@gnu.org; Mon, 06 Nov 2006 17:33:56 -0500 Original-Received: (qmail invoked by alias); 06 Nov 2006 22:33:54 -0000 Original-Received: from p54BD9E97.dip0.t-ipconnect.de (EHLO localhost.local) [84.189.158.151] by mail.gmx.net (mp042) with SMTP; 06 Nov 2006 23:33:54 +0100 X-Authenticated: #3708877 Original-To: Lars Hansen In-Reply-To: <454F4C2A.8030605@soem.dk> (Lars Hansen's message of "Mon, 06 Nov 2006 15:52:26 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61886 Archived-At: Lars Hansen writes: > Richard Stallman wrote: > >>So how about making the default be "ssh for a file under 10k, scp for >>larger files"? >> >> > Checking the file size before copying is an extra overhead when the file > is remote. Nope. Usually, file-attributes is called before copying a file, the size is known therefore. And Tramp 2.1 caches/reuses such information whenever possible. Best regards, Michael.