Gnus development mailing list
 help / color / mirror / Atom feed
* Feature wish: replace CR with LF
@ 1998-10-26  9:24 Kai Grossjohann
  1998-10-26 13:03 ` Hrvoje Niksic
  0 siblings, 1 reply; 3+ messages in thread
From: Kai Grossjohann @ 1998-10-26  9:24 UTC (permalink / raw)


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?

kai
-- 
Life is hard and then you die.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Feature wish: replace CR with LF
  1998-10-26  9:24 Feature wish: replace CR with LF Kai Grossjohann
@ 1998-10-26 13:03 ` Hrvoje Niksic
  1998-10-26 21:03   ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Hrvoje Niksic @ 1998-10-26 13:03 UTC (permalink / raw)


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Feature wish: replace CR with LF
  1998-10-26 13:03 ` Hrvoje Niksic
@ 1998-10-26 21:03   ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-10-26 21:03 UTC (permalink / raw)


Hrvoje Niksic <hniksic@srce.hr> writes:

> 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

Yup.  Fix in Pterodactyl Gnus v0.41.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-10-26 21:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-26  9:24 Feature wish: replace CR with LF Kai Grossjohann
1998-10-26 13:03 ` Hrvoje Niksic
1998-10-26 21:03   ` Lars Magne Ingebrigtsen

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).