🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #256910

Re: [tin] message-ID

#256910
From: VanguardLH
Date: Wed, 05 Feb 2014 11:28
134 lines
7653 bytes
mechanic wrote:

> On Tue, 4 Feb 2014 23:54:57 -0600, VanguardLH wrote:
> 
>> Oops, I see you are trying to modify your posts in tin, not
>> Dialog.  So do the above suggestions of using a unique nym and
>> adding a header with some unique string so you can use a rule in
>> Dialog to test both on the From header and the other identifier
>> header to detect posts are yours. 
>> 
>> For example, to test on From and Organization in Dialog: 
>> 
>> !setcolor(green;default) From {^moses@gmail-\.com(\b|_)}
>> +@Organization:{(\b|_)Holy Moses It's Moses(\b|_)} 
>> 
>> You can use the Organization header to search for or some other
>> header but your tin client would have to add it so Dialog could
>> test on it.
> 
> Thanks, that's more like it! I'll work on it...

I thought you wanted to identify YOUR posts.  Adding special headers
with unique values on which to test only works to identify your posts,
not replies to your posts.  Replies won't have your headers.  The only
parts of your posts that will be in replies is the MIDs of your posts
(in the References header) and whatever a respondent decides to include
as quoted content of your reply in the body of their reply.  All the
other headers are theirs.

What you need to do is use a rule in 40tude Dialog that fires on your
posts (by your nym in the From header along with any other special
headers you add to your posts to help further identify your posts).
That rule would need to flag as Watched your posts.  That means the rule
finds your posts and sets them to Watched.

Then configure 40tude Dialog's settings to apply flags on an entire
subthread.  Then the rule flags your posts as watched and all replies to
your posts will also get flagged as watched.  Then the threads marked
Watched will be your posts and the replies to them.

Settings -> General Settings -> Misc
Watch/Ignore works on subthreads = enable

This is how, for example, I filter out unwanted posts without deleting
them.  Instead of deleting posts from spammers, trolls, and malcontents,
my rules flag them as Ignored.  If I delete their posts, holes get
punched in threads plus sometimes I need to look at their posts because
someone replied to them or referred to them and I may have to go look at
them.  I use a custom view of Hide Ignored Messages which is the default
view.  Normally I won't see the ignore-flagged posts but I can easily
change to the All Messages view to see them, and then easily switch back
to the Hide Ignored Messages view to hide them again. 

This only works because I can configure Dialog to apply watch/ignore
flags not only on the posts where rules set the flag but also on all
replies to those flagged posts.  If I don't want to see a rule-filtered
post then I also [normally] don't want to read any replies to it.  Posts
I flag as Ignored along with the above setting will hide the entire
subthread starting from and including the flagged post.

In your case, you want to note special attention to posts you start or
to your replies and then to all replies to your posts.  So have the rule
set the Watch flag on your posts.  Then use the above setting to also
set the Watch flag on the entire subthread of replies to your posts.
You can then use a Show Watched Messages view to see the watch-flagged
subthreads and switch back to the All Messages view to see all messages.  

I added toolbar buttons to the header list pane for Hide Ignored
Messages, Show Watched Messages, Show Unread Messages, and Show All
Messages.  Toolbar buttons are easier to use than having to navigate
through the Group -> Message Views menu.  To create the buttons, go to:

Settings -> Scripting -> Scripting ...

Click on "Custom Scripts" to show that category of scripts.  Create new
custom scripts that run the following:

Program ShowWatched;

Begin 
  lockdisplay;      
  try       
    ADo('CollapseAllThreads');  // Collapse all threads for a compact
listing.
  finally
    unlockdisplay;
  end;
  lockdisplay;
  try
    ADo('View2');               // View2 must show Watched posts and
show the complete thread.
  finally
    unlockdisplay;
  end;
End.

Select an icon so you can identify the toolbar button rather than rely
on the popup text when hovering over a button (that shows the name of
the script assigned to the button).  For ShowWatched, I picked the icon
showing a page overlaid with a pair of blue eyeglasses.  Then click on
the Compile Script button to ensure the script checks out okay.  Then
click on the Reload All Scripts button to make sure it is loaded in the
current session of Dialog (instead of having to exit and reload Dialog).

To create the button for that script, click on the "Show button config"
button in the script dialog.  Scroll down the list on the left to pick
Scripts.  Pick the ShowWatched script in the Commands pane.  Drag the
ShowWatched script from the Commands list into the toolbar above the
header list pane in Dialog.

The 'View 2' selection in the ADo command is the view you want to use.
To see which view is assigned to which index, go to Group -> Message
Views menu.  Notice next to each view there is a box on the left with an
index number for the view.  This list shows both the standard views
(that you can modify) along with any custom views you defined.

While all of this is definitely harder the first time than going to
Group -> Message Views, once you have the toolbar buttons for
AllMessages, WatchedMessages, IgnoredMessages, and UnReadMessages (those
are the ones I have in their own group in the toolbar for the headers
list pane), all you have to do thereafter is click on the toolbar
buttons to switch views.

With scripts you can modify a lot about 40tude Dialog GUI and behavior.
The custom scripts I mentioned are those you used to assign to
something, like a toolbar button.  There are also event scripts that
execute when an event fires, like when you retrieve a message or when
you send one.  There are message scipts that run when you click on a
message.  

You can find a whole bunch of pre-written scripts (that you can use
as-is or modify) at:

http://dialog.datalist.org/
Technical Details
Message-ID: <lct78p$s23$1@dont-email.me>
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.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
References: <10sf58ngnm9z8$.dlg@example1357.net> <lcsire$rlc$1@dont-email.me> <lcsjnj$v5q$1@dont-email.me> <cfj0o254wubs.dlg@example1357.net>

Show Full Headers
Complete Article Headers
Message-ID: <lct78p$s23$1@dont-email.me>
Subject: Re: [tin] message-ID
Date: Wed, 5 Feb 2014 05:28:23 -0600
From: VanguardLH <V@nguard.LH>
References: <10sf58ngnm9z8$.dlg@example1357.net> <lcsire$rlc$1@dont-email.me> <lcsjnj$v5q$1@dont-email.me> <cfj0o254wubs.dlg@example1357.net>
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.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Usenet denizen
Lines: 134
Sender: VanguardLH <>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 5 Feb 2014 11:28:25 +0000 (UTC)
Injection-Info: mx05.eternal-september.org;
 posting-host="f65692f1328d27b9dd53e0170aa8b6f1";
 logging-data="28739"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX198ydjxwl3BKyDiFEik5KAhnDnUxXe/9L0="
Keywords: VanguardLH VLH811
User-Agent: 40tude_Dialog/2.0.15.41
Cancel-Lock: sha1:dkSwthGXPDaerta9kS8Qx12kM08=
X-Original-Bytes: 7347