From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18192 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: Feature wish: replace CR with LF Date: 26 Oct 1998 14:03:39 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156760 4888 80.91.224.250 (20 Oct 2002 23:32:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:32:40 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id IAA17833 for ; Mon, 26 Oct 1998 08:04:44 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id HAB00654; Mon, 26 Oct 1998 07:04:21 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 26 Oct 1998 07:04:13 -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 HAA20452 for ; Mon, 26 Oct 1998 07:04:05 -0600 (CST) Original-Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id IAA17812 for ; Mon, 26 Oct 1998 08:03:57 -0500 (EST) Original-Received: (from hniksic@localhost) by jagor.srce.hr (8.9.0/8.9.0) id OAA16573; Mon, 26 Oct 1998 14:03:39 +0100 (MET) Original-To: ding@gnus.org X-Attribution: Hrvoje X-Face: &{dT~)Pu6V<0y?>3p$;@vh\`C7xB~A0T-J%Og)J,@-1%q6Q+, gs<-9M#&`I8cJp2b1{vPE|~+JE+gx;a7%BG{}nY^ehK1"q#rG O,Rn1A_Cy%t]V=Brv7h writes: > Some messages have broken Macintosh newlines (i.e. ^M). WIBNI there > was a function similar to article-remove-cr which replaced ^M with > ^J instead of deleting them? I agree. CR should be deleted only if it is followed by LF; otherwise, it should be turned into LF itself. The conversion algorithm is still relatively simple: Step 1: CRLF -> LF Step 2: CR -> LF -- Hrvoje Niksic | Student at FER Zagreb, Croatia --------------------------------+-------------------------------- We must all confront and destroy our own inner geek.