Article View: news.software.readers
Article #39341Re: indentprefix and quoted text
From: John Moreno
Date: Thu, 05 Mar 1998 00:00
Date: Thu, 05 Mar 1998 00:00
158 lines
7240 bytes
7240 bytes
Russell Schulz <Russell_Schulz@locutus.ofB.ORG> wrote: > phenix@interpath.com (John Moreno) writes: > > > ****************************************************** > >> > This is a comment by person X which was over 80 > >> chars long. > >> > and the wrapping looks terrible. > > ****************************************************** > > broken input => broken output. Even if it is broken a bit of elementry work can do a reasonable job of fixing it. And it might not have (necessarily) been broken when they got it. Say the user reads a article that looks like: ****************************************************** > > This is a comment by person X which is EXACTLY 80 chars long. > > and the wrapping looks terrible. ****************************************************** Now when they go to followup a newsreader that doesn't produce broken output will have something pretty similiar to what I did below, while a newsreader that does produce broken output will do the above (my first example). > > While they should have at least looked like this, if they were going to > > do that: > > > > ****************************************************** > >> > This is a comment by person X which was over 80 > >> > chars long. > >> > and the wrapping looks terrible. > > ****************************************************** > > see my `resent' comment earlier; I can cater to some accidental > rudeness, but I'm not going to cater to all of it. > > I quote (and rewrap as necessary); I don't perfectly rewrap what > others didn't. usually, I'll delete it anyway. Yeah, but if more newsreaders didn't produce bad output and more (not necessarily the exact same set) did offer a way to correct the unavoidable overflow so that it looks nice (Rewrapping) then it'd be better all the way around. As it is we've got people using things that post 120 chars long lines without a fuss and then other things that take those lines and if they were previously quoted will produce a godawful mess. > >> > Well, I've been talking about this recently and there are a > >> > couple of ways to go about it - YANW 3 does rewrapping of quoted > >> > text (which requires finding the prefix of not only THIS article > >> > but that of previous articles also) > >> > >> why `requires'? > > > > Well, even if you stick with the basic '> ' or '>' you still have to > > exame the string and see how much it was used on that line. > > yes; if everyone used `>' you could just count them. > > why is a 2nd level required, and a 3rd level not? Uhm, I'm not sure where you got that - if you do it for anything other than straight new text, then you've pretty much done it for all levels - with the only exception being that depending upon how you decide what is and is not the previous quote string quoting methods like "JM said: " might not be handled. But I don't know of anybody that wouldn't handle the below just fine. > > | this would get > > | wrapped correctly > > > | ] but this would ] not get wrapped ] correctly? If that line was supposed to look like: > > | ] this would get > > | ] wrapped corectly Then the newsreaders (the ones I've used at least) that do rewrapping would handle it just fine: > > | ] this would get wrapped corectly I did it in MacSOUP with the above line (copied, pasted, selected, Rewrap Text). Switched to YA and did the same thing, same resulting text. Actually that's not /quite/ correct. MacSOUP and YA will both handle it correctly, NewsReader.Com can't handle it correctly because you can't tell it what portion of the text is to be rewrapped and which aren't - it only rewraps lines that are too long, it can't handle rewrapping short lines. I don't consider this a failing in NewsReader.Com, but rather a limitation placed upon it by HTML. And as I indicated in my first answer to Sven - the programs use different methods of picking what is and is not a prefix. Both methods have their strengths and weaknesses, but normally do the exact same thing. MacSOUP uses a comparsion of one line and the next, that means it has problems with lines like this: ****************************************************** > This is a very long line. > This is a not so long line. ****************************************************** Rewrapping that gets: ****************************************************** > This is a very long line. not so long line. ****************************************************** YA-NewsWatcher checks for nonalphanums at the begining, which means it has problems with: ****************************************************** > :-) That's funny. Let's make ourselves a long line and let it wrap around and see what we get ****************************************************** After the Rewrap command, that get's you: ****************************************************** > :-) That's funny. Let's make ourselves a long line and let it wrap > :-) around and see what we get ****************************************************** NewsReader.Com seems to work similar to YA-NewsWatcher, except with a more restriceted set of prefix chars: ****************************************************** > :-) That's funny. Let's make ourselves a long line and let it wrap around and see what we get ****************************************************** Get's you: ****************************************************** > :-) That's funny. Let's make ourselves a long line and let it wrap > :around and see what we get ****************************************************** That's a bit long winded - to boil it down, any method of rewrapping is going to have problems, but I can tell you that these three programs get it right about 99% of the time. When they do it's useful and when they dont' it's easy to fix. And in all of them you get a chance to look it over and fix it before posting. -- John Moreno
Technical Details
Message-ID:
<6FB93AF53D1F6BDE.C4DFB00E86F84F9C.5F085A99C31CDB22@library-proxy.airnews.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn6fnk0n.a6e.guckes@rudin.math.fu-berlin.de> <DC3204F56C781251.7E31FD172C053169.431471FE77F65582@library-proxy.airnews.net> <19980304.171440.2e2.rnr.w164w@locutus.ofB.ORG> <3A25518E637CC769.2CE7CFAC073613C7.EDF3B84BA894791F@library-proxy.airnews.net> <19980305.155003.8k5.rnr.w164w@locutus.ofB.ORG>Show Full Headers
Complete Article Headers
Message-ID: <6FB93AF53D1F6BDE.C4DFB00E86F84F9C.5F085A99C31CDB22@library-proxy.airnews.net>
Subject: Re: indentprefix and quoted text
Date: Thu, 05 Mar 1998 00:00:00 +0000
From: phenix@interpath.com (John Moreno)
References: <slrn6fnk0n.a6e.guckes@rudin.math.fu-berlin.de> <DC3204F56C781251.7E31FD172C053169.431471FE77F65582@library-proxy.airnews.net> <19980304.171440.2e2.rnr.w164w@locutus.ofB.ORG> <3A25518E637CC769.2CE7CFAC073613C7.EDF3B84BA894791F@library-proxy.airnews.net> <19980305.155003.8k5.rnr.w164w@locutus.ofB.ORG>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 331184770
X-Orig-Message-ID: <1d5f9hz.142sdr91xkt6maN@roxboro0-043.dyn.interpath.net>
Mail-Copies-To: never
NNTP-Posting-Time: Thu Mar 5 14:32:00 1998
X-Face: $!7l?58&Lro>GQtr;A/P^'38=7{P[jPy/?JF*m`Z2&~@3:P3L81Sa7RQ=Y~o| ?'D1cB]L9V=\OS(\8S,5
Organization: phenix@interpath.com
X-FAQs-Read: perl, pascal.mac
NNTP-Proxy-Relay: library.airnews.net
Newsgroups: news.software.readers