Re: Problems with -R option

Urs Janßen <[email protected]> Mon, 7 May 2012 11:47:07 +0200
Newsgroups gmane.network.tin.user
Message-ID <[email protected]>
On Mon, May 07, 2012 at 01:25:34PM +0400, Anton Shepelev wrote:
> Hello all,
> 
> I have a problem with reading articles saved via -S.
> In order to save a thread, I marked  it  as  unread,
> quited tin, run it with -S, and then started it with
> -R.  Only 7 of 163 articles were  visible,  although
> all  163 were present in ~\News.  It turned out that
> after using -R the .newsrc file was changed and that
> thread  was  again  marked  as read except the seven
> messages shown.
> 
> Why does tin do it?  Why, when started with -R, does
> it  show  only part of saved messages, even though I
> had disabled the "Show only read articles"?

-S / -R should work like this:

-S:
for each group present in the given newsrc (via -f etc.pp.) check if
batch_save is set (default is yes, can be changed per group via attributes).
if that's true apply the usual filters to the group (filters may mark 
articles read). now save all remanig unread a articles and if -c was given
on the command line mark all articles in the newsrc as read (if you use -c
you should use diffrent newsrcs for -S and -R).

-R:
for each group present in the given newsrc (via -f etc.pp.) and found below
~/News show all unread articles in the groups specified in the given newsrc.
filters are applied as usual any may mark articles read.

works for me as expected.

If you like -S/-R without any filters but your usualy reading with filters
you should use different $TIN_HOMEs.

urs
-- 
"Only whimps use tape backup: _real_ men just upload their important stuff
 on ftp, and let the rest of the world mirror it ;)" - Linus