From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67126 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:18:29 +0800 Message-ID: <87k5g1f7ru.fsf@gentoo.hasee.cpu> References: <877ic1di82.fsf@gentoo.hasee.cpu> <877ic15er9.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 1215220793 25259 80.91.229.12 (5 Jul 2008 01:19:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jul 2008 01:19:53 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15588@lists.math.uh.edu Sat Jul 05 03:20:40 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 1KEwS7-0004NC-Jn for ding-account@gmane.org; Sat, 05 Jul 2008 03:20:39 +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 1KEwQz-0001M4-O7; Fri, 04 Jul 2008 20:19:29 -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 1KEwQx-0001Lc-B3 for ding@lists.math.uh.edu; Fri, 04 Jul 2008 20:19:27 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1KEwQp-0004Vp-Tm for ding@lists.math.uh.edu; Fri, 04 Jul 2008 20:19:27 -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 1KEwR9-0004yy-00 for ; Sat, 05 Jul 2008 03:19:39 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KEwQn-0000T9-Ic for ding@gnus.org; Sat, 05 Jul 2008 01:19:18 +0000 Original-Received: from 116.253.1.29 ([116.253.1.29]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Jul 2008 01:19:17 +0000 Original-Received: from anhnmncb by 116.253.1.29 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Jul 2008 01:19:17 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 116.253.1.29 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:GYO+XSWxFNzdCsBKyGUqTpRjNi8= X-Spam-Score: 2.1 (++) 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-8892--2975h-90720s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.956-8892--2975h-90720s--0d--H*RU:quimby.gnus.org, 0.944-7876--3855h-89680s--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.4 AWL AWL: From: address is in the auto white-list List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67126 Archived-At: Miles Bader writes: > anhnmncb writes: >> 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? > > 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? -- Regards, anhnmncb gpg key: 44A31344