🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #39260

Re: indentprefix and quoted text

#39260
From: John Moreno
Date: Tue, 03 Mar 1998 00:00
97 lines
4867 bytes
Sven, why are your messages suddenly not having a References header?

In comp.sys.mac.comm Sven Guckes <guckes@math.fu-berlin.de> wrote:

> phenix@interpath.com (John Moreno):
> > > An how do you define "new text"?
> > 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 ...
> 
> That's nice.  Or so it seems.

It is.

> How does YANW define quoted text?

Well, I haven't seen the code.  But a regular expression to do the same
thing would probably look something like this 

$YAquotestr='> '; # user setable
/($YAquotestr[^a-zA-Z0-9]*)/;

> How does YANW determine that some
> text shell NOT be wrapped at all?

It originally wraps text before quoting (if necessary) and then doesn't
wrap quoted text except upon command.

So if I take the above three lines and past them below.

They don't get wrapped at all since they are too short.  Now the way it
looks you might have intended the lines to be just like that, but the
2nd and 3rd lines look like they should be on the same line if possible,
so I'd just select those two lines and chose the Rewrap command, and I'd
end up with this:

> How does YANW define quoted text?
> How does YANW determine that some text shell NOT be wrapped at all?

So I'd get the two lines above with out having to type at all.

> Usually you do not want text to be wrapped - especially when
> you need the connection between lines, such as in tables:
> 
>   foo/bar     column1 column2
>   row1        1,1 1,2
>   row2        2,1 2,2

Well, you have to do something about lines over 80 chars.  But most
tables don't have to be worried about since it'd take a while for them
to get to the stage where things start looking ugly.  And in any case it
won't look any worse than any other wrapping.

> > ... YANW let's the user set the indentprefix and then
> > looks for non-alphanum to check for the previous prefixes
> 
> So the indentprefix is configurable - thus allowing more confusion.  :-/

Well, not for YA it doesn't!

> How is non-alphanum defined?  [^a-zA-Z0-9] ?

I'm not sure exactly - but that seems approximately right.

> > MacSOUP also does rewrapping but it decides what the prefix is based upon
> > commonality between lines.  If you expect to have people trying to
> > change/hide the prefix then MacSOUPs method will work better.
> 
> So you should use MacSOUP when you expect that
> YANW users will change the indentprefix?  ;-)

Nope, both of them know what THEY are using as a indentprefix - this is
a advantage that standalone programs can have or multiple cooperating
progrmas.
 
> > But, unless the newsreader offers global search/replace (which I'll
> > admit is almost certain with a external editor) YANW3 method would work
> > just fine - and if they bother to go through it by hand and change all
> > of the prefix then at least THEY think everything is necessary.
> 
> Sure.  But why do all programs have to define their own kind of editing?
> Wouldn't it be a lot easier if you could use your favourite editor?

Well, that really depends upon how extensible the editor is and what it
knows about usenet messages.  Most of them don't know anything about
them, and so don't know to wrap before 80 or how to Rewrap or anything
like that.

-- 
John Moreno
I am trying to convince the author of YA-NewsWatcher that the latest
version should be released to the public.  He doesn't think there's much
interest in a new version.  Help me prove him wrong.  To do so, send me
mail <mailto:phenix@interpath.com> with a Subject of New YA.  Comments
on what you like/dislike in the current version will be appreciated.

Technical Details
Message-ID: <9E09BB3870C59D8F.DA946ECA96AC56CD.2442E74CC8329A30@library-proxy.airnews.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.mac.comm.mbox.zip!not-for-mail
References: <slrn6fnk0n.a6e.guckes@rudin.math.fu-berlin.de> <DC3204F56C781251.7E31FD172C053169.431471FE77F65582@library-proxy.airnews.net> <slrn6fof8j.btj.guckes@rudin.math.fu-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <9E09BB3870C59D8F.DA946ECA96AC56CD.2442E74CC8329A30@library-proxy.airnews.net>
Subject: Re: indentprefix and quoted text
Date: Tue, 03 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> <slrn6fof8j.btj.guckes@rudin.math.fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.mac.comm.mbox.zip!not-for-mail
X-Deja-AN: 330483460
X-Orig-Message-ID: <1d5bfyc.qoq3ww3iqr30N@roxboro0-023.dyn.interpath.net>
Mail-Copies-To: never
NNTP-Posting-Time: Tue Mar 3 12:34:42 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,comp.sys.mac.comm,comp.sys.mac.apps