From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67123 Path: news.gmane.org!not-for-mail From: anhnmncb Newsgroups: gmane.emacs.gnus.general Subject: Non-interactive gnus-agent-batch at all? Date: Fri, 04 Jul 2008 18:11:12 +0800 Message-ID: <87bq1ec62n.fsf@gentoo.hasee.cpu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1215187739 30074 80.91.229.12 (4 Jul 2008 16:08:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2008 16:08:59 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15585@lists.math.uh.edu Fri Jul 04 18:09:45 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KEnqo-0004bm-RB for ding-account@gmane.org; Fri, 04 Jul 2008 18:09:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KEnp6-0007TI-6C; Fri, 04 Jul 2008 11:07:48 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KEiGt-0005uf-2r for ding@lists.math.uh.edu; Fri, 04 Jul 2008 05:12:07 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1KEiGj-0008AQ-TN for ding@lists.math.uh.edu; Fri, 04 Jul 2008 05:12:06 -0500 Original-Received: from smtp.sina.com.cn ([202.108.3.233]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1KEiGv-0005C7-00 for ; Fri, 04 Jul 2008 12:12:10 +0200 Original-Received: from gentoo.hasee.cpu (unknown [116.253.10.111]) by smtp.sina.com.cn (SINAMAIL) with ESMTP id 2740A102D02 for ; Fri, 4 Jul 2008 18:11:42 +0800 (CST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Spam-Score: 3.2 (+++) X-Spam-Report: SpamAssassin (3.1.9 2007-02-13) analysis follows Bayesian score: 0.0312 Ham tokens: 0.000-4145--16357h-0s--0d--H*UA:Emacs, 0.000-3446--13598h-0s--0d--H*UA:Gnus, 0.000-3446--13597h-0s--0d--H*u:Gnus, 0.000-3307--13049h-0s--0d--H*u:Emacs, 0.000-2567--10128h-0s--0d--H*UA:linux Spam tokens: 0.978-1--0h-2s--0d--********, 0.958-1--0h-1s--1d--H*F:D*sina.com, 0.956-8877--2972h-90597s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.956-8877--2972h-90597s--0d--H*RU:quimby.gnus.org, 0.951-8240--3228h-87688s--0d--H*r:quimby.gnus.org Autolearn status: no 2.9 FROM_LOCAL_NOVOWEL From: localpart has series of non-vowel letters -1.1 BAYES_05 BODY: Bayesian spam probability is 1 to 5% [score: 0.0312] 1.4 DNS_FROM_RFC_WHOIS RBL: Envelope sender in whois.rfc-ignorant.org List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67123 Archived-At: Hi, list, I encounter an annoying problem with gnus-agent-batch. My script is: ----------------------------- #!/bin/sh emacs -batch -l ~/.emacs -f -l ~/.gnus.el gnus-agent-batch >/dev/null 2>& ----------------------------- Sometimes when my networking is bad, it can't reach severs, in this case, this script should ask me: ----------------------------- Mail source (pop :server pop.sina.com :user anhnmncb :port pop3 :password ********) error (stringp). Continue? (yes or no) ----------------------------- and wait for my answer, because it's a non-interactive script, I can't type yes at all, so this script will be hung on, how to let gnus-agent-batch always assume the yes answer, so it will go on always? Any hints will be appreciated! -- Regards, anhnmncb gpg key: 44A31344