Gnus development mailing list
 help / color / mirror / Atom feed
From: Hrvoje Niksic <hniksic@srce.hr>
Subject: Re: Feature wish: replace CR with LF
Date: 26 Oct 1998 14:03:39 +0100	[thread overview]
Message-ID: <kigvhl7wk44.fsf@jagor.srce.hr> (raw)
In-Reply-To: Kai Grossjohann's message of "26 Oct 1998 10:24:33 +0100"

Kai Grossjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 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 <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
We must all confront and destroy our own inner geek.


  reply	other threads:[~1998-10-26 13:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-26  9:24 Kai Grossjohann
1998-10-26 13:03 ` Hrvoje Niksic [this message]
1998-10-26 21:03   ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=kigvhl7wk44.fsf@jagor.srce.hr \
    --to=hniksic@srce.hr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).