Re: retaining marked articles in summary buffer?

2017-02-27 Thread Eric Abrahamsen
Enrico Schumann  writes:

> On Sun, 26 Feb 2017, Eric Abrahamsen writes:
>
>> Sivaram Neelakantan  writes:
>>
>>> On Sun, Feb 26 2017,Enrico Schumann wrote:
>>>
 On Sun, 26 Feb 2017, Adam Sjøgren writes:
>>>
>>> [snipped 20 lines]
>>>
 When 'gnus-use-cache' is t, ticking (!) will also copy the
 article to the cache. See http://gnus.org/manual/gnus_42.html .

>>>
>>> if it's set to t (gnus-use-cache), won't all articles be cached?  I
>>> only want to do this for interesting articles
>>
>> Its default value, the symbol 'passive, should do what you want: only
>> cache articles when you tell it to, with * or !.
>
> Hm, I've just tested this, and with gnus-use-cache set
> to 'passive, Gnus does *not* cache articles that I tick
> with '!'. It may well be, as always, that I have
> something in my .gnus.el that prevents this :-) But it
> is also in line with the docs
> (http://gnus.org/manual/gnus_42.html):
>
> ,
> | To turn caching on, set gnus-use-cache to t. By
> | default, all articles ticked or marked as dormant
> | will then be copied over to your local cache
> | (gnus-cache-directory). 
> `
>
> So only 'articles ticked or marked as dormant' are
> copied to the cache, not all articles.

Right, I just looked through the code and it won't enter either * or !
articles into the cache when `gnus-use-cache' is 'passive. I guess
you could set `gnus-use-cache' to t and see what happens. There are
plenty of other knobs to twiddle to reduce the scope of articles that
are cached.

Eric


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: retaining marked articles in summary buffer?

2017-02-27 Thread Sivaram Neelakantan
On Mon, Feb 27 2017,Kevin Brubeck Unhammer wrote:


[snipped 12 lines]

>> if it's set to t (gnus-use-cache), won't all articles be cached?  I
>> only want to do this for interesting articles
>
> No, see Info gnus:
>
>  To turn caching on, set ‘gnus-use-cache’ to ‘t’.  By default, all
>   articles ticked or marked as dormant will then be copied over to your
>   local cache (‘gnus-cache-directory’).  
>
> (That probably shouldn've been mentioned in the docstring for
> gnus-use-cache, which is rather misleading: "use the cache to the full
> extent of the law" sounds like "cache everything").
>

so setting cache to t and marking with it ! will keep the article around
forever ignoring the expiry settings too, right?

sivaram
-- 


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: retaining marked articles in summary buffer?

2017-02-27 Thread Kevin Brubeck Unhammer
Sivaram Neelakantan  čálii:

> On Sun, Feb 26 2017,Enrico Schumann wrote:
>
>> On Sun, 26 Feb 2017, Adam Sjøgren writes:
>
> [snipped 20 lines]
>
>> When 'gnus-use-cache' is t, ticking (!) will also copy the
>> article to the cache. See http://gnus.org/manual/gnus_42.html .
>>
>
> if it's set to t (gnus-use-cache), won't all articles be cached?  I
> only want to do this for interesting articles

No, see Info gnus:

 To turn caching on, set ‘gnus-use-cache’ to ‘t’.  By default, all
  articles ticked or marked as dormant will then be copied over to your
  local cache (‘gnus-cache-directory’).  

(That probably shouldn've been mentioned in the docstring for
gnus-use-cache, which is rather misleading: "use the cache to the full
extent of the law" sounds like "cache everything").


signature.asc
Description: PGP signature
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: retaining marked articles in summary buffer?

2017-02-27 Thread Enrico Schumann
On Sun, 26 Feb 2017, Eric Abrahamsen writes:

> Sivaram Neelakantan  writes:
>
>> On Sun, Feb 26 2017,Enrico Schumann wrote:
>>
>>> On Sun, 26 Feb 2017, Adam Sjøgren writes:
>>
>> [snipped 20 lines]
>>
>>> When 'gnus-use-cache' is t, ticking (!) will also copy the
>>> article to the cache. See http://gnus.org/manual/gnus_42.html .
>>>
>>
>> if it's set to t (gnus-use-cache), won't all articles be cached?  I
>> only want to do this for interesting articles
>
> Its default value, the symbol 'passive, should do what you want: only
> cache articles when you tell it to, with * or !.

Hm, I've just tested this, and with gnus-use-cache set
to 'passive, Gnus does *not* cache articles that I tick
with '!'. It may well be, as always, that I have
something in my .gnus.el that prevents this :-) But it
is also in line with the docs
(http://gnus.org/manual/gnus_42.html):

,
| To turn caching on, set gnus-use-cache to t. By
| default, all articles ticked or marked as dormant
| will then be copied over to your local cache
| (gnus-cache-directory). 
`

So only 'articles ticked or marked as dormant' are
copied to the cache, not all articles.


-- 
Enrico Schumann
Lucerne, Switzerland
http://enricoschumann.net

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english