Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Marcin Włodarczak" <mwlodarczak@gmail.com>
To: info-gnus-english@gnu.org
Subject: Gnus Agent with IMAP
Date: Wed, 02 Jul 2014 10:06:35 +0200	[thread overview]
Message-ID: <87fvikqj5g.fsf@gmail.com> (raw)


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



             reply	other threads:[~2014-07-02  8:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-02  8:06 Marcin Włodarczak [this message]
2014-07-06 19:17 ` Marcin Wlodarczak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fvikqj5g.fsf@gmail.com \
    --to=mwlodarczak@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).