🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265053

Re: 40tude filter

#265053
From: VanguardLH
Date: Tue, 13 Jul 2021 16:52
66 lines
4329 bytes
Jim S <jim@jimXscott.co.uk> wrote:

> On Fri, 9 Jul 2021 21:36:59 -0500, VanguardLH wrote:
> 
>> Jim S <jim@jimXscott.co.uk> wrote:
>> 
>>> I wish to create a filter which will markread (!markread) any article
>>> which conatains a specific word. In one of my groups someone posts a
>>> weather report and others reply withn their own. The inital post
>>> always contains the same three letters e.g. ABC followed by the date.
>>> I want to mark as read solely on ABC not the sender.
>> 
>> !markread Subject {^ABC}
>> for any Subject header that starts with ABC starting in column 1.
>> 
>> !markread Subject {^ABC\b}
>> same as above, but expects a word boundary after the "ABC" string.
>> 
>> To include the date string you say is included means I'd have to see the
>> format for that substring.  However, how many other posts have you seen
>> that start with "ABC"?  Maybe you would just showing an example string,
>> and "ABC" is not what the Subject header begins with.
>> 
>> You also say "article" instead of header.  Are you wanting to search
>> within a header, or within the body of the message?
>> 
>> Also, do you want replies to the markread article also marked as read,
>> or leave them marked unread (when new and not yet selected)?  Dialog has
>> an option "watch/ignore works on subthread" to apply the setting not
>> just to the target article, but also on all replies to that article
>> (parent and children get similarly flagged); however, that only works
>> when you flag an article as ignored (!ignore) or watched (!watch).
> 
> Thanks V
> Yes I am talking about text (ABC) in a header. I see you suggest !ignore
> rather than !markread (I am set up to only see unread). Is that preferable?
> Can you run that bit about not seeing replies to articles I am 'ignoring'
> past me again.

With a view that only shows unread messages, how do you manage to follow
a thread you've been watching and read before?  Once you read a message,
it would get marked as read, and disappear from your Unread view.

^ABC means:
^ = anchor the string to column one; else, the filter might look for a 
    substring anywhere in the header.  {ABC} would find ABC starting in 
    column 1, or somethingABCsomething (e.g., crabcake).  You said the 
    article had a Subject header that *started* with ABC, so use the ^ 
    to anchor the string to column 1.

Although the Subject might start with ABC, does that mean it is a word
of just those 3 characters, or there are more characters to the word,
like ABCsomething?  If ABC is a word, there is a word boundary after the
string, like a space, tab, or newline.  That's why my other suggestion
of ^ABC\b looks for a *word* of ABC at the start of the Subject header
instead of ABCsomething.

Dialog has the ability to apply the ignore or watch flags to subthreads
(replies) of a message.  That means if you are filtering out a poster or
topic, you can also filter out any replies to that unwanted message.
That is, if you filter out a message, perhaps you don't want to see any
replies to it, too.  However, Dialog only applies the ignore or watch
flags to a subthread.  No option to do the same with the markread flag.
If you are firing rules to mark as read a message, do you still want to
see replies to that message?  Or arre you unmarking a message just to
keep your eyes from wandering over to an unwanted message?
Technical Details
Message-ID: <11j7oppigt2hy$.dlg@v.nguard.lh>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <dgytifibzqr8$.cu6hnof0fl2w.dlg@40tude.net> <4em5gs3jr2rt.dlg@v.nguard.lh> <8ni3hmvhbfq0$.1h4w0m31s7r0o$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <11j7oppigt2hy$.dlg@v.nguard.lh>
Subject: Re: 40tude filter
Date: Tue, 13 Jul 2021 11:52:28 -0500
From: VanguardLH <V@nguard.LH>
References: <dgytifibzqr8$.cu6hnof0fl2w.dlg@40tude.net> <4em5gs3jr2rt.dlg@v.nguard.lh> <8ni3hmvhbfq0$.1h4w0m31s7r0o$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Reply-To: invalid@invalid.invalid
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Newsgroups: news.software.readers
Cancel-Lock: sha1:Uka5HWHQoQPfwTXxhU0NtaRJgZc=
Keywords: VanguardLH VLH811
Organization: Usenet Elder
X-Trace: individual.net blObWVkV+yBb5IfF8z4ASgDQXZeFlNdZGFeJUCqEaHayX2G+j4
Content-Transfer-Encoding: 7bit
Lines: 66
User-Agent: 40tude_Dialog/2.0.15.41