From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18481 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Silent, automatic conversion of line endings (Was: Sharing...) Date: 10 Nov 1998 09:57:31 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <6fww5499vg.fsf@dna.lth.se> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035156997 6364 80.91.224.250 (20 Oct 2002 23:36:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:36:37 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id DAA26313 for ; Tue, 10 Nov 1998 03:58:57 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id CAB15658; Tue, 10 Nov 1998 02:58:05 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 10 Nov 1998 02:57:51 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id CAA10290 for ; Tue, 10 Nov 1998 02:57:40 -0600 (CST) Original-Received: from viffer.oslo.metis.no (viffer.oslo.metis.no [195.0.254.249]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id DAA26300 for ; Tue, 10 Nov 1998 03:57:34 -0500 (EST) Original-Received: (from sb@localhost) by viffer.oslo.metis.no (8.8.7/8.8.7) id JAA26247; Tue, 10 Nov 1998 09:57:31 +0100 Original-To: ding@gnus.org In-Reply-To: Kurt Swanson's message of "Mon, 09 Nov 1998 15:14:13 GMT" Original-Lines: 20 X-Mailer: Gnus v5.6.42/XEmacs 20.4 - "Emerald" Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:18481 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:18481 >>>>> Kurt Swanson : >> What about the file types, though? Maybe you have M$-ish CRLF >> end-of-lines where Linux expects LF? > Doesn't emacs take care of this silently and automatically? *Too* silently! I messed up when doing a CVS import over an old version from UNIX, but with the new version packaged on Win32. I couldn't understand what was wrong, because the files looked fine in Emacs, which has always told me that the file was a DOS file by displaying the ^M characters or by putting a small "dos-mode" on the status line. What was more confusing than anything, was that the little bugger (20.2 MBSK) *showed* the ^M characters in buffers that had both UNIX and DOS line endings on different lines. Arrrgh!