Article View: news.software.readers
Article #60261Re: Wrapping quoted text
From: J. B. Moreno
Date: Fri, 07 Apr 2000 00:00
Date: Fri, 07 Apr 2000 00:00
128 lines
7159 bytes
7159 bytes
<greg@apple2.com> wrote: > planb@newsreaders.com (J. B. Moreno) wrote: > ><greg@apple2.com> wrote: > >>planb@newsreaders.com (J. B. Moreno) wrote: > > >>> What the GNKSA does say "SHOULD" be available is a command that > >>> will do rewrapping with paragraph filling. > > >> There may be a problem having some shoulds in the GNKSA when > >> newsreader authors try to implement them all, particularly when > >> taking a should as a must makes things just as bad or worse. > > > I don't see that have a command for rewrapping a user selection makes > > things worse. Certainly not on balance. > > I apparently responded contextually to the wrong text. The idea is that > the rewrapping itself, being a should, when taken as a must, results in > unfilled paragraphs because as shown in the wild, users are too often > too lazy, ignorant, or both to execute the fill command after rewrapping. Hmn, I believe that the reason w/o filling is being used is in order to avoid having to warn/refuse long quoted lines. I don't believe it's the wrapping that is an issue -- except possibly as a contributing factor "if it annoys them they can fix it". > A better implementation would be to have the newsreader suggest that > lines be rewrapped and refilled by highlighting them in some manner > (colorized) so that the user sees there is a problem and can perform the > wrap-with-fill on the selection of lines. Having it wrap automatically > has been shown to have the result of people posting without filling, > mainly because people are lazy. True, but the real question is "is this good enough". > I'd rather see lazy people posting with long quoted lines than lines that > are wrapped without filling. Proper wrapping of course is better than > improper wrapping, but filling is essential. As below, I'd come a lot closer to agreeing with you if it wasn't for programs like MT 2.4.4, NW 2.2.2, YA 2.4.0 or even worse any version of Win OE. > >> Some users have tried selecting all text and rewrapping the whole > >> message, but this is shown to damage the attributions. > > > Yes, and has other potential problems (mainly wrapping lines that are > > simply contiguous and not part of the same paragraph. Hmn, perhaps I > > should have put it differently, since that's part of the attribution > > problem). > > Does this wrapping code recognize hints provided by the flowed format to > perform appropriate filling? That then would be great as it could > perform both wrap and fill automatically and not produce long-short > lines. (I'm afraid I'm more familiar with MT-NW's implementation of the > concept but not your code. What's the URL again to get the source for > your implementation?) It's available from the GNKSA tools page, it doesn't recognize f=f, but that would not be a hard addition to make (fairly trivial in fact, I just haven't bothered doing so). -snip- > >> To me, wrapping without fill is worse than not wrapping at all. > > > IF that was the end of the matter I might agree with you -- but that > > isn't the end. You either have to wrap individual lines (i.e. without > > filling) or you have to warn/refuse to post because of long quoted > > lines. Otherwise other newsreaders WILL screw it up, and not just OE > > either. > > > > Preventing the extreme damage that thoughtless programs do, is worth the > > occasional "short, but properly quoted" line. Particularly if all of > > the newsreaders have a command to flow a selected paragraph. > > Except now we've substituted thoughtless programs with thoughtless > users. It's a slightly better exchange, but I'd still prefer both the > wrapping and filling be done by user direction than automatically (which > is the elevation of a should of rewrapping in GNKSA to an implementation > of automaticality as if it were a must). I think that with a good implementation (i.e. it doesn't wrap unless the line is too long) thoughtless users are a LOT better. They are rarer and easier to correct in the wild. > >>> Format=flowed is the ideal solution, but it's not yet been widely > >>> adopted -- which is OK, it works well with programs that don't use > >>> it. > > Except apparently Urs and his tin newsreader, which seems bent on the > course of, if it rewraps, it will do it in a manner that prevents > support of format=flowed. Tin doesn't do wrapping at the moment, so the point is rather moot -- if it did do wrapping, then he'd have a point unless information concerning the f=f status of the message was passed into the wrapping routine. In which case I don't believe he WOULD object -- he said he doesn't wanting it introducing spaces where they weren't before, wrapping text that was f=f doesn't INTRODUCE any new white space at the end of lines. > > As I read it there are basically 4 rules [to format=flowed]: > > 1) Lines beginning with a space have the space removed > > 2) Quoting is done using ">" > > 3) A paragraph is one or more contiguous lines at the same quote > > depth where every line but the last ends in a trailing space. > > 4) The sigdash is an exception to rule #3. > > I don't think leading space is actually removed as it is more treated as > if it were not there (i.e. not active in determininte quoting depth). No, if I understand it correctly, the body of the message is supposed to be pre-processed to remove a leading space. It's not \s+ but rather " " (to put it in perl terms). > Otherwise, if paragraphs don't doublespace between them and only end in > a line without trailing whitespace, removed leading whitespace make it > difficult to impossible to visually tell where the next paragraph begins > (unless the article is rerendered to have doublespacing between > paragraphs). No, add a space, strip a space -- this doesn't do anything to blank lines or paragraph indenting. -- John B. Moreno
Technical Details
Message-ID:
<1e8q23d.fqouolbgn9hkN%planb@newsreaders.com>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:
<8ca351$nve$1@news.neth.hp.com> <1e8ih9m.1jz6dbk1odxyajN%planb@newsreaders.com> <greg-F3CA12.13255603042000@news.binary.net> <1e8iqso.m1gqf3137memeN%planb@newsreaders.com> <greg-F87F9B.10134304042000@news.binary.net> <1e8kayx.aw4b3c1ppc3hjN%planb@newsreaders.com> <greg-8EE156.11531407042000@news.binary.net>Show Full Headers
Complete Article Headers
Message-ID: <1e8q23d.fqouolbgn9hkN%planb@newsreaders.com> Subject: Re: Wrapping quoted text Date: Fri, 07 Apr 2000 00:00:00 +0000 From: planb@newsreaders.com (J. B. Moreno) References: <8ca351$nve$1@news.neth.hp.com> <1e8ih9m.1jz6dbk1odxyajN%planb@newsreaders.com> <greg-F3CA12.13255603042000@news.binary.net> <1e8iqso.m1gqf3137memeN%planb@newsreaders.com> <greg-F87F9B.10134304042000@news.binary.net> <1e8kayx.aw4b3c1ppc3hjN%planb@newsreaders.com> <greg-8EE156.11531407042000@news.binary.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-mail X-Deja-AN: 608092539 Mail-Copies-To: nobody X-ACLA-Charter: <http://www.deja.com/msgid.xp?MID=%3Cphenix-121119981748546229@roxboro0-023.dyn.interpath.net%3E&ST=&AH=1> X-Trace: fu-berlin.de 955132530 6985456 207.59.121.31 (16 [22426]) X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8 N*x>d^h Organization: NetNews BOFH wannabe User-Agent: MacSOUP/2.4.2 Newsgroups: news.software.readers