From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/32642 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: agent + IMAP Date: 30 Sep 2000 17:16:41 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035168893 20948 80.91.224.250 (21 Oct 2002 02:54:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:54:53 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by mailhost.sclp.com (Postfix) with ESMTP id 1185ED051E for ; Sat, 30 Sep 2000 11:20:09 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id KAC03357; Sat, 30 Sep 2000 10:16:39 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 30 Sep 2000 10:15:36 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id KAA15534 for ; Sat, 30 Sep 2000 10:15:26 -0500 (CDT) Original-Received: from dolk.extundo.com (dolk.extundo.com [195.42.214.242]) by mailhost.sclp.com (Postfix) with ESMTP id 2CAB8D051E for ; Sat, 30 Sep 2000 11:15:50 -0400 (EDT) Original-Received: from barbar.josefsson.org (localhost.localdomain [127.0.0.1]) by dolk.extundo.com (8.11.0/8.11.0) with ESMTP id e8UFFmu26674 for ; Sat, 30 Sep 2000 17:15:49 +0200 Original-To: ding@gnus.org Original-Lines: 49 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:32642 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:32642 I've commited some Agent + IMAP fixes and the following documentation: Agent and IMAP -------------- The Agent work with any Gnus backend, including nnimap. However, since there are some conceptual differences between NNTP and IMAP, this section (should) provide you with some information to make Gnus Agent work smoother as a IMAP Disconnected Mode client. The first thing to keep in mind is that all flags (read, ticked, etc) are kept on the IMAP server, rather than in `.newsrc' as is the case for nntp. Thus Gnus need to remember flag changes when disconnected, and synchronize these flags when you plug back in. Gnus keep track of flag changes when reading nnimap groups under the Agent by default. When you plug back in, by default Gnus will check if you have any changed any flags and ask if you wish to synchronize theese with the server. This behaviour is customizable with `gnus-agent-synchronize-flags'. If `gnus-agent-synchronize-flags' is `nil', the Agent will never automatically synchronize flags. If it is `ask', the default, the Agent will check if you made any changes and if so ask if you wish to synchronize these when you re-connect. If it has any other value, all flags will be synchronized automatically. If you do not wish to automatically synchronize flags when you re-connect, this can be done manually with the `gnus-agent-synchronize-flags' command that is bound to `J Y' in the group buffer by default. Some things are currently not implemented in the Agent that you'd might expect from a disconnected IMAP client, including: * Copying/moving articles into nnimap groups when unplugged. * Creating/deleting nnimap groups when unplugged. Technical note: the synchronization algorithm does not work by "pushing" all local flags to the server, but rather incrementally update the server view of flags by changing only those flags that were changed by the user. Thus, if you set one flag on a article, quit the group and re-select the group and remove the flag; the flag will be set and removed from the server when you "synchronize". The queued flag operations can be found in the per-server `flags' file in the Agent directory. It's emptied when you synchronize flags.