🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #259595

Re: 40tude Dialog: Anyway to keep it from deleting local copies of articles?

#259595
From: VanguardLH
Date: Wed, 30 Sep 2015 05:39
67 lines
4173 bytes
Bernd Rose wrote:

> VanguardLH wrote:
> 
>> Query #1: Don't bold the folder or articles copied into the Repository.
>> [...]
>> !copy(Repository),markread bytes %>0
> 
> !markread,copy(Repository),markunread bytes %>0

Never thought about that.  Did not realize the actions were commited in
the order listed.

>> Query #2: Do !copy only on auto run of filters, not on manual run.
> 
> If I understand your query correctly, then what you fear will not 
> happen: It is possible, that messages appear several times in a
> folder after !copy operations. But /only/, if these !copy operations
> are executed in the same Scoring&Actions run. (I.e. you set S&A up 
> to copy all messages with your From address *and* all messages, that
> are larger than 0 Byte.) Once an article is safely stored inside a
> folder, it will not be duplicated by later runs (manual or automatic).

I feared duplication would ensure by running the filters manually.  Good
to know that doesn't happen.

> You need to note, though, that without explicit !retrieve command,
> your folder Repository will only collect the bodies, that are also
> retrieved inside the main newsgroup folders.

I don't use Dialog for e-mail.  I only want articles in the Repository
that were retrieved into a newsgroup folder.  If, for example, I visit a
newsgroup temporarily, like someone said something and I want to check
the newsgroup they mentioned, I don't want those articles in my
Repository.  So Dialog actually works like how I want: copy the
newsgroup folder articles into the Repository but not if I visit [an
unsubscribed] newsgroup which is a temporary visit.

>> Query #3: Omit a folder (Repository) in script.
> <Script example snipped>
> Without testing: Instead of your approach of an OnMessage script, I'd 
> pack all the code inside an OnGroupEntered(Groupname: string) script.
> This one has the group name as a parameter, which later on can be
> evaluated by "If".

NGLV_WM_LBUTTONUP was someone else's solution to commiting actions, like
changing collapse/expand, when clicking on a newsgroup.  I thought it
was a good place to select the default view for newsgroups (since there
is no such option in Dialog).

I'll comment out the ADo() comamnd to change view in the message script
and see if I can use your suggestion of using the OnGroupEntered event.
Thanks for the coding hint.  I'm assuming Groupname is the parameter
who's value is assigned to a var by the same name that I would test in
an 'if' statement.  I'll have to play around with this.

>> Query #4:  Max size of newsgroup folders?
> The Counter is DWORD, so somewhat over 4 Billion. Dialog becomes unusable 
> quite a bit earlier, though...  ;-)

As I recall, it starts to get slow.  Not just a little slow but quite
slow.  That's probably why I setup the Purge options to keep the record
count low enough to keep Dialog responsive.  While I visit over 50
groups, they are all text-only groups.  

I set the Repository folder's purge options to Never but I might
reconsider that later if Dialog gets slow.  I might change it to 1 year.
Technical Details
Message-ID: <d71armFnem8U1@mid.individual.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.(126883).mbox.7z!not-for-mail
References: <d6optbFjbkcU1@mid.individual.net> <d6ugo3F1q7fU1@mid.individual.net> <1cob0aematw94$.dlg@b.rose.tmpbox.news.arcor.de>

Show Full Headers
Complete Article Headers
Message-ID: <d71armFnem8U1@mid.individual.net>
Subject: Re: 40tude Dialog: Anyway to keep it from deleting local copies of articles?
Date: Wed, 30 Sep 2015 00:39:01 -0500
From: VanguardLH <V@nguard.LH>
References: <d6optbFjbkcU1@mid.individual.net> <d6ugo3F1q7fU1@mid.individual.net> <1cob0aematw94$.dlg@b.rose.tmpbox.news.arcor.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: Usenet Elder
Lines: 67
Sender: VanguardLH <>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net naRtIcifJbNG1NuLpvhF5QMMw7Bq23gKd85PiLQeJ6n+QvNKT/
Keywords: VanguardLH VLH811
Cancel-Lock: sha1:OJ3QGylYE1SvsdsL4f3wuczsKIo=
User-Agent: 40tude_Dialog/2.0.15.41
X-Received-Bytes: 4092
X-Received-Body-CRC: 4204050820