From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel,gmane.emacs.windows Subject: Tramp adds ^M^M to end of line Date: Fri, 09 Jun 2006 20:24:36 +0200 Message-ID: <4489BCE4.1020000@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1149877540 25638 80.91.229.2 (9 Jun 2006 18:25:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Jun 2006 18:25:40 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 09 20:25:39 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 1FolfB-0003WT-Lu for ged-emacs-devel@m.gmane.org; Fri, 09 Jun 2006 20:24:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FolfA-0004aC-7F for ged-emacs-devel@m.gmane.org; Fri, 09 Jun 2006 14:24:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Folex-0004Ux-V3 for emacs-devel@gnu.org; Fri, 09 Jun 2006 14:24:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Folew-0004OK-6q for emacs-devel@gnu.org; Fri, 09 Jun 2006 14:24:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Folew-0004Nz-2y; Fri, 09 Jun 2006 14:24:38 -0400 Original-Received: from [81.228.11.159] (helo=pne-smtpout2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Foln2-0001QA-8u; Fri, 09 Jun 2006 14:33:00 -0400 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn1.fre.skanova.net (7.2.072.1) id 448978BD0000DF10; Fri, 9 Jun 2006 20:24:36 +0200 User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) Original-To: Emacs Devel , help-emacs-windows 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:55799 gmane.emacs.windows:3076 Archived-At: This is probably specific to w32 and CVS Emacs (I use CVS Emacs from today on w32). I am using `copy-file' to upload single files to a web site on a unix host. I did not notice any problems as long as I just uploaded html-files, but when I uploaded a perl script I got into troubles. I took me quite some time to find out that `copy-file' somehow added ^M^M to end of line for all lines. After some testing I found that this happens when the line ending style is DOS, but not if it is UNIX. So it seems like a ^M is added instead of removed in that case. This site is reached through ftp. I use the ftp program from ftp://ftp.gnu.org/old-gnu/emacs/windows/contrib/ftp-for-win32.zip that is recommended at http://www.emacswiki.org/cgi-bin/wiki/AngeFtp#toc7. And `ange-ftp-ftp-program-args' has the standard value. I do not know if this is a bug in the ftp-program, Emacs or my setup. I would be glad for some hints here! (I am cross-posting to be able to collect more info.)