From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46378 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: emacs -batch -l ~/.emacs -f gnus-agent-batch Date: Tue, 03 Sep 2002 22:12:38 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87it1na5d5.fsf@pale.loc> <87elcb9y7n.fsf@pale.loc> <87ptvvurzj.fsf@giotto.sj.ru> <874rd69as1.fsf@pale.loc> <87ofbe7urz.fsf@pale.loc> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031084006 31496 127.0.0.1 (3 Sep 2002 20:13:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2002 20:13:26 +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 17mK3B-0008Br-00 for ; Tue, 03 Sep 2002 22:13:25 +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 17mK2o-0003Ng-00; Tue, 03 Sep 2002 15:13:03 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 03 Sep 2002 15:13:38 -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 PAA26383 for ; Tue, 3 Sep 2002 15:13:25 -0500 (CDT) Original-Received: (qmail 7068 invoked by alias); 3 Sep 2002 20:12:45 -0000 Original-Received: (qmail 7063 invoked from network); 3 Sep 2002 20:12:44 -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 20:12:44 -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 g83KCen3012830 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 3 Sep 2002 22:12:41 +0200 Original-To: Alexander Kotelnikov Mail-Copies-To: nobody X-Hashcash: 0:020903:sacha@giotto.sj.ru:570c731ad241746d X-Hashcash: 0:020903:ding@gnus.org:0d35e639d8634f70 In-Reply-To: <87ofbe7urz.fsf@pale.loc> (Alexander Kotelnikov's message of "Tue, 03 Sep 2002 23:11:44 +0400") Original-Lines: 28 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:46378 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46378 Alexander Kotelnikov writes: >>>>>> On Tue, 03 Sep 2002 20:53:01 +0200 >>>>>> "SJ" == Simon Josefsson wrote: > SJ> > SJ> Alexander Kotelnikov writes: > KG> If you invoke "emacs -batch -l ~/.emacs -f gnus-agent-batch" without > KG> the redirection, what kind of input is expected from stdin? >>> >>> I never type anything ot emacs when it evaluates gnus-agent-batch. >>> gnus-agent-synchronize-flags is t (means 'always sync flags'). > SJ> > SJ> Is flag synchronizing performed from gnus-agent-batch? > > Yes and no. The command always prints something like > > Checking new news...done > nnimap: Setting marks in IMAP/ding... > nnimap: Setting marks in IMAP/ding...done > Finished fetching articles into the Gnus agent > > But I've never seen it writing lines about getting flags from server. No "Updating info for ..." messages? If so, that explains it; the agent fails to call nnimap-request-group. But `gnus-agent-fetch-group-1' seem to call it (via gnus-activate). Hm. Could you perhaps edebug the function to see what goes wrong?