From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: tramp: Maximum buffer size exceeded Date: Fri, 29 Aug 2003 21:53:42 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84r834uto9.fsf@slowfox.is.informatik.uni-duisburg.de> References: <7id6epp3z7.fsf@neoscale.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1062187553 28118 80.91.224.253 (29 Aug 2003 20:05:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2003 20:05:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 29 22:05:51 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19spVH-0001AL-00 for ; Fri, 29 Aug 2003 22:05:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19spRy-0000Mq-Bk for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2003 16:02:26 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!pd9e1eb0b.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: pd9e1eb0b.dip.t-dialin.net (217.225.235.11) Original-X-Trace: news.uni-berlin.de 1062186822 11296248 217.225.235.11 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:pqXblwn66uBC11ptKcwmIXqb1xo= Original-Xref: shelby.stanford.edu gnu.emacs.help:116267 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12185 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12185 Kin Cho writes: > tramp (2.0.35) seems to have trouble with large file size. > > I was trying to copy /large-file (210 Meg) from foobar to a local > directory. It's a pity. I didn't think of this optimization. If you look at the function tramp-do-copy-or-rename-file, then you will see that it deals with the following special cases: * Both are Tramp files. In that case, I look whether they are from the same user/host/method combo. If so, I invoke "mv"/"cp" on the remote system directly. If not, see the last case. * Neither are Tramp files. Error. * This is the default case: fetch file into a buffer, then save the buffer. I should add another case which looks whether exactly one of them is remote and the method is an out of band method. In that case, I can invoke rcp/scp/... directly. Want to code this? -- Two cafe au lait please, but without milk.