From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67128 Path: news.gmane.org!not-for-mail From: anhnmncb Newsgroups: gmane.emacs.gnus.general Subject: Re: Make gnus-agent-batch non-interactive at all? Date: Sat, 05 Jul 2008 09:33:45 +0800 Message-ID: <87mykxf72e.fsf@gentoo.hasee.cpu> References: <877ic1di82.fsf@gentoo.hasee.cpu> <877ic15er9.fsf@catnip.gol.com> <87k5g1f7ru.fsf@gentoo.hasee.cpu> <871w295dag.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1215221751 27070 80.91.229.12 (5 Jul 2008 01:35:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jul 2008 01:35:51 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15590@lists.math.uh.edu Sat Jul 05 03:36:37 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 1KEwhU-0006cx-D8 for ding-account@gmane.org; Sat, 05 Jul 2008 03:36:32 +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 1KEwgR-0001Uf-Pp; Fri, 04 Jul 2008 20:35:27 -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 1KEwgQ-0001UJ-GZ for ding@lists.math.uh.edu; Fri, 04 Jul 2008 20:35:26 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1KEwgJ-0004a0-3o for ding@lists.math.uh.edu; Fri, 04 Jul 2008 20:35:26 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1KEwgd-0005HD-00 for ; Sat, 05 Jul 2008 03:35:39 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KEwgE-0000yw-Jq for ding@gnus.org; Sat, 05 Jul 2008 01:35:15 +0000 Original-Received: from 116.253.28.161 ([116.253.28.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Jul 2008 01:35:14 +0000 Original-Received: from anhnmncb by 116.253.28.161 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Jul 2008 01:35:14 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 116.253.28.161 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:RBwq6YqcCtA+6fTS0SGbpW7K+ZY= X-Spam-Score: 2.0 (++) X-Spam-Report: SpamAssassin (3.1.9 2007-02-13) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-4147--16369h-0s--0d--H*UA:Emacs, 0.000-3447--13605h-0s--0d--H*UA:Gnus, 0.000-3447--13604h-0s--0d--H*u:Gnus, 0.000-3309--13061h-0s--0d--H*u:Emacs, 0.000-2567--10133h-0s--0d--H*UA:linux Spam tokens: 0.978-1--0h-2s--0d--H*F:D*sina.com, 0.978-1--0h-2s--0d--H*Ad:D*sina.com, 0.956-8893--2975h-90721s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.956-8893--2975h-90721s--0d--H*RU:quimby.gnus.org, 0.944-7877--3855h-89681s--0d--HTo:D*gnus.org Autolearn status: no 2.9 FROM_LOCAL_NOVOWEL From: localpart has series of non-vowel letters 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.2 AWL AWL: From: address is in the auto white-list List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67128 Archived-At: Miles Bader writes: > anhnmncb writes: >>> Hmmm...maybe: --eval '(defun yes-or-no-p (p) t)' >> >> I added (defun yes-or-no-p (p) t) to init-gnus.el, but don't know how to >> test it (My networking is damn good now..). So I disconnect my >> net then run the script, after some minutes, I got this log: >> Unable to open server nntp+news.gmane.org, go offline? (y or n) >> So I think it donesn't work, right? > > That's not yes-or-no-p, that's y-or-n-p :-) > > So perhaps: --eval '(defun yes-or-no-p (p) t)' --eval '(defun y-or-n-p (p) t)' Exactly, Thank you! -- Regards, anhnmncb gpg key: 44A31344