* [Q]: Agent expiration and fetching
@ 2004-10-08 23:29 Xavier Maillard
2004-10-13 2:40 ` Kevin Greiner
2004-10-13 13:03 ` Steinar Bang
0 siblings, 2 replies; 6+ messages in thread
From: Xavier Maillard @ 2004-10-08 23:29 UTC (permalink / raw)
Hello,
I want to ask something which tends to make me crazy.
I set the gnus-agent-expiration to enabled. It expires correctly
but I sometimes, when 'J s'ing got old messages just downloaded
again.
How can I prevent this from happening ?
Subsidiary question: how can I cache all articles automatically ?
I, for instance, use this setting:
,----[ C-h v gnus-cache-enter-articles RET ]
| gnus-cache-enter-articles's value is
| (ticked dormant unread)
|
|
| Classes of articles to enter into the cache.
|
| You can customize this variable.
|
| Defined in `gnus-cache'.
|
| [back]
`----
I thought it was enough, but it seems it is not.
And last, what is best to use: ticked/dormant articles or
cached ? (given the fact I have almost all agentized).
Thank you.
--
.o. | zedek (at) gnu-rox.org
..o Hacker Wonderland |
ooo |
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Q]: Agent expiration and fetching
2004-10-08 23:29 [Q]: Agent expiration and fetching Xavier Maillard
@ 2004-10-13 2:40 ` Kevin Greiner
2004-10-13 7:22 ` Xavier Maillard
2004-10-13 13:03 ` Steinar Bang
1 sibling, 1 reply; 6+ messages in thread
From: Kevin Greiner @ 2004-10-13 2:40 UTC (permalink / raw)
Xavier Maillard <zedek@gnu-rox.org> writes:
> Hello,
>
> I want to ask something which tends to make me crazy.
>
> I set the gnus-agent-expiration to enabled. It expires correctly
> but I sometimes, when 'J s'ing got old messages just downloaded
> again.
>
> How can I prevent this from happening ?
Set gnus-agent-consider-all-articles to nil.
> Subsidiary question: how can I cache all articles automatically ?
The cache and the agent are redundant in that both create independent
local copies of your articles. Are you sure that you want to do this?
> And last, what is best to use: ticked/dormant articles or
> cached ? (given the fact I have almost all agentized).
Personally, I either set a group to never expire from the agent (in
which case I never cache those articles) or I expire after a short
time but use the cache for long term storage. Which I do depends upon
the percentage of articles that I expect to keep in a certain group.
Kevin
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Q]: Agent expiration and fetching
2004-10-13 2:40 ` Kevin Greiner
@ 2004-10-13 7:22 ` Xavier Maillard
2004-10-13 11:58 ` Kevin Greiner
0 siblings, 1 reply; 6+ messages in thread
From: Xavier Maillard @ 2004-10-13 7:22 UTC (permalink / raw)
On 13 oct 2004, Kevin Greiner wrote:
> Xavier Maillard <zedek@gnu-rox.org> writes:
>
> > Hello,
> >
> > I want to ask something which tends to make me crazy.
> >
> > I set the gnus-agent-expiration to enabled. It expires
> > correctly but I sometimes, when 'J s'ing got old messages
> > just downloaded again.
> >
> > How can I prevent this from happening ?
>
> Set gnus-agent-consider-all-articles to nil.
Hmm:
,----[ C-h v gnus-agent-consider-all-articles RET ]
| gnus-agent-consider-all-articles's value is nil
|
| [back]
`----
> > Subsidiary question: how can I cache all articles
> > automatically ?
>
> The cache and the agent are redundant in that both create
> independent local copies of your articles. Are you sure that
> you want to do this?
Well, the goal is not to have redundant stuff but, as I
experiment things, I would like to be sure I do not loose
anything.
So the main idea, for instance, is to enter *ALL* unread/unseen
articles into the cache even if I already have fetched them in
the agent.
I tried this:
,----[ C-h v gnus-cache-enter-articles RET ]
| gnus-cache-enter-articles's value is
| (ticked dormant unread unseen)
|
|
| Classes of articles to enter into the cache.
|
| You can customize this variable.
|
| Defined in `gnus-cache'.
|
| [back]
`----
But that doesn't work.
Oh, and yes, I remove articles when read or expired from the
cache off course :/
What is wrong with this ?
> > And last, what is best to use: ticked/dormant articles or
> > cached ? (given the fact I have almost all agentized).
>
> Personally, I either set a group to never expire from the agent
> (in which case I never cache those articles) or I expire after
> a short time but use the cache for long term storage. Which I
> do depends upon the percentage of articles that I expect to
> keep in a certain group.
Thank you for your feedback. There so many features I never ever
have visited before, I am almost thinking I am n00b :/
Regards.
--
GNUSFR.ORG http://gnusfr.org/
EMACSFR.ORG http://emacsfr.org/
Xavier Maillard Tel: +33 6 68 04 64 37
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Q]: Agent expiration and fetching
2004-10-13 7:22 ` Xavier Maillard
@ 2004-10-13 11:58 ` Kevin Greiner
0 siblings, 0 replies; 6+ messages in thread
From: Kevin Greiner @ 2004-10-13 11:58 UTC (permalink / raw)
Xavier Maillard <zedek@gnu-rox.org> writes:
> On 13 oct 2004, Kevin Greiner wrote:
>
>> Xavier Maillard <zedek@gnu-rox.org> writes:
>>
>> > Hello,
>> >
>> > I want to ask something which tends to make me crazy.
>> >
>> > I set the gnus-agent-expiration to enabled. It expires
>> > correctly but I sometimes, when 'J s'ing got old messages
>> > just downloaded again.
>> >
>> > How can I prevent this from happening ?
>>
>> Set gnus-agent-consider-all-articles to nil.
>
> Hmm:
>
> ,----[ C-h v gnus-agent-consider-all-articles RET ]
> | gnus-agent-consider-all-articles's value is nil
> |
> | [back]
> `----
Now that is unfortunate. You'll have to debug to figure this one out.
The critical function is gnus-agent-fetch-headers. The only problem
is that with gnus-agent-consider-all-articles set to nil, the only
articles being fetched by the agent are unread articles. That would
seem to exclude your old articles so...
>> > Subsidiary question: how can I cache all articles
>> > automatically ?
>>
>> The cache and the agent are redundant in that both create
>> independent local copies of your articles. Are you sure that
>> you want to do this?
>
> Well, the goal is not to have redundant stuff but, as I
> experiment things, I would like to be sure I do not loose
> anything.
>
> So the main idea, for instance, is to enter *ALL* unread/unseen
> articles into the cache even if I already have fetched them in
> the agent.
>
> I tried this:
>
> ,----[ C-h v gnus-cache-enter-articles RET ]
> | gnus-cache-enter-articles's value is
> | (ticked dormant unread unseen)
> |
> |
> | Classes of articles to enter into the cache.
> |
> | You can customize this variable.
> |
> | Defined in `gnus-cache'.
> |
> | [back]
> `----
>
> But that doesn't work.
>
> Oh, and yes, I remove articles when read or expired from the
> cache off course :/
>
> What is wrong with this ?
Looking at the code, gnus-use-cache must be active (t). The default
'passive will simply not do. The cacheable filter,
gnus-cacheable-groups, must also be either set to null or a regexp
matching your group.
>> > And last, what is best to use: ticked/dormant articles or
>> > cached ? (given the fact I have almost all agentized).
>>
>> Personally, I either set a group to never expire from the agent
>> (in which case I never cache those articles) or I expire after
>> a short time but use the cache for long term storage. Which I
>> do depends upon the percentage of articles that I expect to
>> keep in a certain group.
>
> Thank you for your feedback. There so many features I never ever
> have visited before, I am almost thinking I am n00b :/
Same here.
Kevin
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Q]: Agent expiration and fetching
2004-10-08 23:29 [Q]: Agent expiration and fetching Xavier Maillard
2004-10-13 2:40 ` Kevin Greiner
@ 2004-10-13 13:03 ` Steinar Bang
2004-10-13 14:39 ` Xavier Maillard
1 sibling, 1 reply; 6+ messages in thread
From: Steinar Bang @ 2004-10-13 13:03 UTC (permalink / raw)
>>>>> Xavier Maillard <zedek@gnu-rox.org>:
> Subsidiary question: how can I cache all articles automatically ?
You mean cache them when reading them, using agent?
I'm just now trying to change the setting of gnus-select-article-hook
from the default nil, to the option provided by the defcustom,
ie. gnus-agent-fetch-selected-article.
You can customize it with
M-x customize-variable RET gnus-select-article-hook RET
and check off for gnus-agent-fetch-selected-article.
The IMAP server at work is down today, so I'm not able to _really_
test it out for myself, by reading some articles here, and checking at
home if they are still present when the this nnimap server is in
offline mode.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-10-13 14:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-08 23:29 [Q]: Agent expiration and fetching Xavier Maillard
2004-10-13 2:40 ` Kevin Greiner
2004-10-13 7:22 ` Xavier Maillard
2004-10-13 11:58 ` Kevin Greiner
2004-10-13 13:03 ` Steinar Bang
2004-10-13 14:39 ` Xavier Maillard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).