Article View: news.software.readers
Article #75751Re: Rewrapping Quoted Text (was: XNews 04.04.07!)
From: Angi Long
Date: Sun, 08 Apr 2001 05:19
Date: Sun, 08 Apr 2001 05:19
63 lines
4563 bytes
4563 bytes
This one time (07 Apr 2001), at band camp, planb@newsreaders.com (J.B. Moreno) wrote: >Angi Long <angilong@home.com> wrote: >> And there *is* still one actual quoting problem left in >> X-News. It doesn't work right when quoting a paragraph with >> the first line indented. When it re-wraps the first line, it >> maintains the indent. Then it breaks after that line, and >> re-wraps the rest of the paragraph separately. It does the >> same thing on "reformat" in the composer. >This isn't a problem, this is a trade-off. >Spaces are used for quoting external sources, by some idiots as >their quote char, and in list, this is the wrapping algorithm >trying to account for that as well those that indent not just >the first line of their paragraphs, but the whole paragraph (for >an example of this later, see ><20010403.1700.1040005snz@i-m-t.demon.co.uk>). I know. But the algorithm could be better. It could give the option of deleting blank space at the beginning of lines entirely when responding. You would want to turn this off when responding to something where that blank space was actually important, so it would need to be an option with a toggle. Another option could be to delete blank space at the beginning of lines when responding if and only if all the unquoted text after the attribution lines and before the signature is indented. For mixed indented and left-aligned text, I can't see an easy way to differentiate between normally indented paragraphs (first line indented), and the reverse (text indented like the headers should be, with the first line left-aligned, the rest indented), and indented quotations (legit, if someone is quoting from a book, say, not from a post, which would call for a normal quote character). The best way I can think of to deal with this is to default to the current mode (wrapping blocks of indented text separately from blocks of left-aligned text, keeping indentations intact), but have a second "reformat" button for "reformat: contains indented paragraphs." Something or other would wind up off then if the post contained both indented paragraphs and other indented text, but at least you could usually minimize your need to hand-edit by hitting the proper reformat button. In fact, hmm (sounds of things rattling around in my brain)... This could all be done with the one "reformat" button, by having it cycle between two types of formatting: first, the existing algorithm, and second, an algorithm which eliminates beginning whitespace iff all the poster's text was indented (that is, all unquoted text between the attrib lines and the sig), and otherwise treats indented lines as the first lines of indented paragraphs. Click once (or hit your hotkey), you get the first kind of formatting; click again, you get the second. p.s. One more less-than-neat quoting thingie left in X-News is the lack of a space after the quote character. This only happens when the quoted post contains quoted text. You get a space when you follow up a post that contained no quoted text. Frex, looking above, you can see that you got a space after your > when responding to my post, but I didn't get a space after my > when responding to yours. -- Angi Long of House Windstalker
Technical Details
Message-ID:
<Xns907CE34BA8F54AngiLong@24.7.143.114>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!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!209.81.14.120!feeder.via.net!newshub2.rdc1.sfba.home.com!news.home.com!news1.sttls1.wa.home.com.POSTED!not-for-mailReferences:
<Xns907D122BC9E30renedehosson@news1.chello.nl> <tcvccam9a9fhbc@news.supernews.com> <Xns907CBE8B6557DAngiLong@24.7.143.114> <1eripqp.o0w535tnszmN%planb@newsreaders.com>Show Full Headers
Complete Article Headers
Message-ID: <Xns907CE34BA8F54AngiLong@24.7.143.114>
Subject: Re: Rewrapping Quoted Text (was: XNews 04.04.07!)
Date: Sun, 08 Apr 2001 05:19:13 GMT
From: angilong@home.com (Angi Long)
References: <Xns907D122BC9E30renedehosson@news1.chello.nl> <tcvccam9a9fhbc@news.supernews.com> <Xns907CBE8B6557DAngiLong@24.7.143.114> <1eripqp.o0w535tnszmN%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!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!209.81.14.120!feeder.via.net!newshub2.rdc1.sfba.home.com!news.home.com!news1.sttls1.wa.home.com.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: House Windstalker
User-Agent: Xnews/4.04.07
X-Face: %Yw'5ZaNytT|0fMZX<kpLj!Q/eJf\.DbQ68E#-&;%ao8q?q98BGoLT&+<^ikxYqa5xR!i5y/0Q#XB]ZUPN?8Xy'NrEs5RE7KlY\\KH{myh<VIXcfi?Fr
Lines: 62
NNTP-Posting-Host: 24.16.224.109
X-Complaints-To: abuse@home.net
X-Trace: news1.sttls1.wa.home.com 986707153 24.16.224.109 (Sat, 07 Apr 2001 22:19:13 PDT)
NNTP-Posting-Date: Sat, 07 Apr 2001 22:19:13 PDT