From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46367 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: diret imap and agentised imap in sync Date: Tue, 03 Sep 2002 18:22:32 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87fzwruqsv.fsf@giotto.sj.ru> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031070141 16165 127.0.0.1 (3 Sep 2002 16:22:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2002 16:22:21 +0000 (UTC) Cc: ding@gnus.org Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17mGRU-0004C3-00 for ; Tue, 03 Sep 2002 18:22:16 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17mGSC-0001eS-00; Tue, 03 Sep 2002 11:23:00 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 03 Sep 2002 11:23:35 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA25872 for ; Tue, 3 Sep 2002 11:23:23 -0500 (CDT) Original-Received: (qmail 1798 invoked by alias); 3 Sep 2002 16:22:43 -0000 Original-Received: (qmail 1792 invoked from network); 3 Sep 2002 16:22:42 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 3 Sep 2002 16:22:42 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.6/8.12.6) with ESMTP id g83GMYn3009284 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 3 Sep 2002 18:22:40 +0200 Original-To: Alexander Kotelnikov Mail-Copies-To: nobody X-Hashcash: 0:020903:sacha@giotto.sj.ru:efd6b9f8f3c13cf2 X-Hashcash: 0:020903:ding@gnus.org:901c0a9c5f79fda6 In-Reply-To: <87fzwruqsv.fsf@giotto.sj.ru> (Alexander Kotelnikov's message of "Tue, 03 Sep 2002 17:49:04 +0400") Original-Lines: 23 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46367 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46367 Alexander Kotelnikov writes: > At work I read mail from local imap server, and at home via > gnus-agent. The trouble is that if I had read a message at home than > at work it appears to be marked as 'read', but *not* visa versa. Mail I > read at work appears to be 'new' when I come home and fetch it with > emacs -batch -l ~/.gnus.el -f gnus-agent-batch-fetch Do you use the agent at work (i.e. read IMAP mail unplugged)? Then you must remember to plug back in to synchronize the flags. If that's not it, it is probably a bug, the gnus at home should pick up the flags from the server. > BTW my gnus info docs says about two ways of batch fetching: > in "Batching Agents": > #!/bin/sh > emacs -batch -l ~/.emacs -f gnus-agent-batch >/dev/null > and in "Agent Commands": > $ emacs -batch -l ~/.gnus.el -f gnus-agent-batch-fetch > They could be not equivalent, I think. The current manual uses only the first variant. It didn't have any docstring though, fixed.