From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16909 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Marcin_W=C5=82odarczak?= Newsgroups: gmane.emacs.gnus.user Subject: Gnus Agent with IMAP Date: Wed, 02 Jul 2014 10:06:35 +0200 Message-ID: <87fvikqj5g.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1404288629 28370 80.91.229.3 (2 Jul 2014 08:10:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jul 2014 08:10:29 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Jul 02 10:10:24 2014 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X2FcW-0007RK-44 for gegu-info-gnus-english@m.gmane.org; Wed, 02 Jul 2014 10:10:24 +0200 Original-Received: from localhost ([::1]:51551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2FcV-0003Rw-Dp for gegu-info-gnus-english@m.gmane.org; Wed, 02 Jul 2014 04:10:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2FcN-0003RV-7z for info-gnus-english@gnu.org; Wed, 02 Jul 2014 04:10:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2FcG-0005IP-JX for info-gnus-english@gnu.org; Wed, 02 Jul 2014 04:10:15 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:53199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2FcG-0005Hp-CP for info-gnus-english@gnu.org; Wed, 02 Jul 2014 04:10:08 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X2FcB-0007CE-88 for info-gnus-english@gnu.org; Wed, 02 Jul 2014 10:10:03 +0200 Original-Received: from lig75.ling.su.se ([130.237.171.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Jul 2014 10:10:03 +0200 Original-Received: from mwlodarczak by lig75.ling.su.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Jul 2014 10:10:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lig75.ling.su.se User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:8o8troVBMspAOdW6GV+DHwBnoLk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16909 Archived-At: 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