"PeterC" wrote:
> Is there a way for Dialog to remove the blank, quoted lines in received
> items? They make scrolling down a chore - sometimes several pages for a few
> words. e.g:
>
>> [83 quoted lines suppressed]
>
> I plan to use my kitchen for the rest of my life, then pass it on.
>
>> [1 quoted line suppressed]
>
> That is very optimistic for chip. I do however know a real wood kitchen
> still in use that looks over a century old.
>
>> [7 quoted lines suppressed]
See above on how the "Q" (Suppress Quoted Lines) option works. As
further suggestion to Ted's response, notice the down-arrow at the left
of the Subject line in the preview pane's header area? Press it.
Notice the options you can select, like Message View Options. That will
show the "Q" hotkey for the "Suppress quoted lines" option. It's the
same menu as the one for the Message -> Message View Options menu.
Some users add lots of blank lines to their posts as an anti-spoiler
maneuver. To see the answer means having to scroll down to see it.
Another cause is for someone using Outlook Express which quoted the
empty lines at the bottom instead of trimming them (I don't know if this
defect migrated into Windows Live Mail). Probably the biggest cause for
sloppy quoted content are due to the LAZY posters that never bother to
review, trim, and compress their reply. They just slap in their new
content in a reply and immediately click Send without trimming what they
quote. While such laziness is exhibited by many users of all NNTP
clients, OE, WLM, and G2 (Google Groups) users are the worst offenders.
You chose not to provide the news article via MID (Message-ID header
value so I had to go searching based only on some of the content (which
you say contains blanks lines but does not). I found the thread
starting with MID
ca649461-8db0-4244...@googlegroups.com
(
news:ca649461-8db0-4244...@googlegroups.com):
https://groups.google.com/group/uk.d-i-y/browse_frm/thread/bf880d94cac5397b
michael adams reply did not have the blank lines. Meow's reply added
the blank lines (which were NOT part of the original post). That poster
added NEW content by adding blank lines BETWEEN the lines that he quoted
in his reply. The new content constitutes inline replies to each line.
Meow used Google Groups to submit his post but the G2 client (that I
don't use) so I cannot comment if the problem is due to using G2, how
meow has his web browser configured, or if meow deliberately and
willfully added the inline comments that were blank. Then michael
adams, a LAZY user of Outlook Express, didn't bother to trim his reply,
especially the quoted content. meow followed with equal laziness and
didn't bother trimming his reply along with adding yet more blank lines
to the quoted content. The more these two posters reply to each other
the more they fuck up their articles because they are a lazy posters.
Neither one trims their reply and meow keeps inserting blank inline
comments into the quoted content.
Perhaps you should tell meow aka NT to stop inserting blank inline
comments into the quoted portion of his replies. He may not be aware of
the problem since most users that don't bother to trim their replies
also never bother to review their own submitted posts. As far as
suggesting to meow and adams that their review their posts before
submitting them and to trim them, well, I've found lazy poster won't
bother to change so they continue to be lazy.
If sloppiness in replies by lazy posters really upsets you, it is
possible to write a script for use within Dialog that will strip out
blank lines. However, it is unlikly that blank lines used as whitespace
for legibility, like between paragraphs, could be differentiated from
superfluous blank lines added as inline comments (which is what meow did
in his replies). You would end up removing all blank lines. Also,
while it may be possible to have this script get exercised on an article
when it gets retrieved (as part of the OnBeforeSavingMessage event), a
better use would be to employ it when you reply to an article (as part
of the OnBeforeSending event). I'm not good at writing new scripts for
Dialog particularly as the documentation is missing on what objects are
available within the scope in which the script is executed. You end up
writing scripts for an unknown environ. However, you can see example
scripts at
http://dialog.datalist.org/scripts/script_library.html. I've
used those either as-is, modified them, or to write up new scripts.
Then you'll have to figure within which event to add the script
(Settings -> Scripting -> Scripting). The examples may help but not if
you want to define a script within an event not used by those examples
and there's no documentation of what events are available to you.
The "Q" keyboard shortcut smashes all quoted content into a summary
message of "[x quoted lines suppressed]". While that gets rid of
showing all of the quoted content, it really doesn't do what you want
which is to *remove* the blank lines. Dialog supports user-defined
scripts. You would modify the OnBeforeSavingMessage event to add script
that would scan a retrieved article, remove blank lines, and then save
the modified version of that article (which you would then see inside of
Dialog). Besides removing blank lines, you'll probably only want to
remove partially blank lines where the first character of the line is
one, or more, contiguous quoting characters (with intervening spaces
between them ignored) and where the rest of the line is blank. By using
a loop that compresses the spaces after a quoting character until the
next non-blank character, you would end up with lines like ">>> text" or
">>>" where in the last case you removed spaces but never found a
following non-blank character, and that's the line you would then remove
from the article. I've got a script that does something similar. It
removes the worthless PGP sigs that some posters add to their posts
thinking that I'm going to waste my time going elsewhere to validate
their PGP key. It's crap in a post that the script will remove. It
came from
http://dialog.datalist.org/scripts/ScriptNukePGP.html.
Another script that removes content from articles is shown at
http://dialog.datalist.org/scripts/ScriptNukeYahooAds.html. They could
be modified into a new script that removes blank lines and also any
blank quoted lines. They give you an idea of the looping needed and how
to delete a line but you would need to add the logic to test for a blank
line or a quoted blank line to decide that was what you wanted deleted.
Of course, in deleting all blank lines and all quoted blank lines, you
could render the article harder to read since blank lines are often
added as whitespace to improve legibility. I suppose the loop could
keep track of the first blank line and only delete the next line if it
was also blank (and the same when scanning for quoted blank lines) which
would eliminate just the multiply contiguous blank lines but leave one
blank line. Have fun with that. If you that route, and come up with a
robust script that removes [quoted] blank lines or compresses multiple
blank lines, please post it here (as I don't know if anyone at
dialog.datalist.org is administering that site to add new scripts).