🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #234600

--

#234600
From: _
Date: Fri, 24 Jul 2009 12:20
45 lines
3403 bytes
Do you use xEmacs as a “code editor”/IDE, Karl Kleinpaste ?

Like you use Lisp/RegEx in xEmacs, I use VBA/RegEX in Visual Studio;
for example:
“ If ( DTE.Find.FindReplace( vsFindAction.vsFindActionFind _
     , "^  ╱ :z", vsFindOptions.vsFindOptionsRegularExpression _
     , , vsFindTarget.vsFindTargetCurrentDocument _
     , , , vsFindResultsLocation.vsFindResultsNone ) _
     <> vsFindResult.vsFindResultNotFound ) Then

    If ( DTE.Find.FindReplace( vsFindAction.vsFindActionFind _
         , "╱", , , vsFindTarget.vsFindTargetCurrentDocumentSelection _
         , , , vsFindResultsLocation.vsFindResultsNone ) _
         <> vsFindResult.vsFindResultNotFound ) Then
      DTE.ActiveDocument.Selection.Text = "╳"
    End If
  End If ”.
  
The code ( above ) changes an unRead article ( ╱ ) to wasRead ( ╳ );
for greater context, see:
  www.JeffRelf.F-M.FM/Visual_Studio_Macros.TXT
     ――――――――――――――
Usually, I prefer Visual C++ over Regular Expressions.
“ www.JeffRelf.F-M.FM/X.CPP ” would support RegEx if I felt the need.

A “From:” line that contains either “Jeff_Relf” or “Sock·Puppet” is
reduced to “Jeff•Relf” using a simple pattern match, like this:
“ {  Jeff•Relf  Jeff_Relf  Sock·Puppet  } ”.

All “From:” lines are slightly modified, to exclude spaces and such;
yours, for example, is: “ Karl•Kleinpaste<invalid@kleinpaste.org ”.
     ――――――――――――
You told me:
“ any discussion that has already gone 8 levels deep is
  no longer worth reading. This is a simple heuristic that
  I have found profoundly useful in 25+ years on Usenet. ”.
  
People reply to people, threads drift.  Depth doesn't matter.
When someone fails to change the title to something more relevant,
I might skip that post, thinking it was something else.

The NNTP spec for the “References:” line allows
any number of spaces between the Message-IDs, so this makes more sense:
“ ("references"
    ("<[^<]+<[^<]+<[^<]+<[^<]+<[^<]+<[^<]+<[^<]+<[^<]+" -101 nil r)) ”.
Technical Details
Message-ID: <_@Jeff_Relf.Seattle.2009_Jul24.5.20am.Wc>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.teledata-fn.de!news.doubleslash.org!open-news-network.org!news.glorb.com!news2.glorb.com!news-spur2.glorb.com!homer.glorb.com!not-for-mail
References: <slrnh6ghc7.2vp.notsnuggles@localhost.localdomain> <n9Z9m.407497$4p1.256859@en-nntp-03.dc1.easynews.com> <_@Jeff_Relf.Seattle.2009_Jul23.8.02am.vS> <vxk7hxz2y4f.fsf_-_@awol.kleinpaste.org> <_@Jeff_Relf.Seattle.2009_Jul23.10.17am.qF> <vxkk51z1cft.fsf_-_@awol.kleinpaste.org>

Show Full Headers
Complete Article Headers
Message-ID: <_@Jeff_Relf.Seattle.2009_Jul24.5.20am.Wc>
Subject: --
Date: Fri, 24 Jul 2009 12:20:09 +0000
From: _@Jeff_Relf.Seattle.inValid
References: <slrnh6ghc7.2vp.notsnuggles@localhost.localdomain> <n9Z9m.407497$4p1.256859@en-nntp-03.dc1.easynews.com> <_@Jeff_Relf.Seattle.2009_Jul23.8.02am.vS> <vxk7hxz2y4f.fsf_-_@awol.kleinpaste.org> <_@Jeff_Relf.Seattle.2009_Jul23.10.17am.qF> <vxkk51z1cft.fsf_-_@awol.kleinpaste.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.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.teledata-fn.de!news.doubleslash.org!open-news-network.org!news.glorb.com!news2.glorb.com!news-spur2.glorb.com!homer.glorb.com!not-for-mail
Newsgroups: news.software.readers
Organization: Glorb Internet Services, http://www.glorb.com
Lines: 45
NNTP-Posting-Host: v+zWROCDVKFF/wv5Ds6sQA.user.posting2.glorb.com
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@glorb.com
NNTP-Posting-Date: Fri, 24 Jul 2009 12:20:09 +0000 (UTC)
X-Notice: Scanned by Mr. Bill
User-Agent: JeffRelf.F-M.FM/X.ZIP