Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Gnus Agent with IMAP
@ 2014-07-02  8:06 Marcin Włodarczak
  2014-07-06 19:17 ` Marcin Wlodarczak
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Włodarczak @ 2014-07-02  8:06 UTC (permalink / raw)
  To: info-gnus-english


Hi!

So here I am trying to figure out how to use Gnus agent with IMAP. I
have read the relevant parts in the manual and also found this thread
very useful:
http://lists.gnu.org/archive/html/info-gnus-english/2004-10/msg00157.html.
Nonetheless, there are still some points which baffle me.

My agent-related config is very simple:
;; Disable article caching in agentised groups
(setq gnus-agent-cache nil)
;; Automatically fetch selected articles into the agent
(add-hook 'gnus-select-article-hook 'gnus-agent-fetch-selected-article)
;; Do not expire articles in the agent
(setq gnus-agent-enable-expiration 'DISABLE)
;; Consider all articles for downloading into the agent
(setq gnus-agent-consider-all-articles t)

I have also modified the predicate of the default category to true.
Basically, what I want to achieve is having an offline storage of IMAP
mails which mirrors exactly everything on the server.

Here are the things I have been able to figure out:

1. Even though gnus-agent-consider-all-articles is set to non-nil and
gnus-agent-enable-expiration is disabled, whenever I run
gnus-agent-fetch-session, all articles are downloaded over and over
again. Is this because of the default predicate set to true?

2. Am I right in thinking that deleting an article when plugged removes
it from the agent?

3. When I set gnus-agent-cache to non-nil, and delete an article on the
server behind Gnus' back, I can still see it in the summary buffer. Is
this a feature? The thread I mentioned above claimed this behaviour is
a bug in the agent and I seem to remember reading somewhere else it was
supposed to be fixed. I am using Gnus 5.13 and Emacs 24.3.1.

Could some agent users help me with these?

Cheers,
Marcin



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Gnus Agent with IMAP
  2014-07-02  8:06 Gnus Agent with IMAP Marcin Włodarczak
@ 2014-07-06 19:17 ` Marcin Wlodarczak
  0 siblings, 0 replies; 2+ messages in thread
From: Marcin Wlodarczak @ 2014-07-06 19:17 UTC (permalink / raw)
  To: info-gnus-english

Marcin Włodarczak <mwlodarczak <at> gmail.com> writes:

> Here are the things I have been able to figure out:
> 
> 1. Even though gnus-agent-consider-all-articles is set to non-nil and
> gnus-agent-enable-expiration is disabled, whenever I run
> gnus-agent-fetch-session, all articles are downloaded over and over
> again. Is this because of the default predicate set to true?

After some more investigation, it seems this point is related to
gnus-agent-cache being non-nil. If caching in the agent is disabled, only
the new articles are fetched. Is this a bug or am I missing something?

Cheers,
Marcin


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-06 19:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-02  8:06 Gnus Agent with IMAP Marcin Włodarczak
2014-07-06 19:17 ` Marcin Wlodarczak

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).