From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67127 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.gnus.general Subject: Re: Make gnus-agent-batch non-interactive at all? Date: Sat, 05 Jul 2008 10:29:27 +0900 Message-ID: <871w295dag.fsf@catnip.gol.com> References: <877ic1di82.fsf@gentoo.hasee.cpu> <877ic15er9.fsf@catnip.gol.com> <87k5g1f7ru.fsf@gentoo.hasee.cpu> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1215221395 26330 80.91.229.12 (5 Jul 2008 01:29:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jul 2008 01:29:55 +0000 (UTC) Cc: ding@gnus.org To: anhnmncb Original-X-From: ding-owner+M15589@lists.math.uh.edu Sat Jul 05 03:30:42 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 1KEwbp-0005pV-Ts for ding-account@gmane.org; Sat, 05 Jul 2008 03:30:42 +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 1KEwam-0001Qv-Sg; Fri, 04 Jul 2008 20:29:36 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KEwal-0001Qc-Lz for ding@lists.math.uh.edu; Fri, 04 Jul 2008 20:29:35 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KEwah-00014Y-W4 for ding@lists.math.uh.edu; Fri, 04 Jul 2008 20:29:35 -0500 Original-Received: from smtp11.dentaku.gol.com ([203.216.5.73]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1KEwb1-000594-00 for ; Sat, 05 Jul 2008 03:29:51 +0200 Original-Received: from 218.33.235.146.eo.eaccess.ne.jp ([218.33.235.146] helo=catnip.gol.com) by smtp11.dentaku.gol.com with esmtpa (Dentaku) id 1KEwae-0004Z3-HI; Sat, 05 Jul 2008 10:29:28 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id BEF2E2F3A; Sat, 5 Jul 2008 10:29:27 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: <87k5g1f7ru.fsf@gentoo.hasee.cpu> (anhnmncb@sina.com's message of "Sat, 05 Jul 2008 09:18:29 +0800") Original-Lines: 18 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67127 Archived-At: 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)' -Miles -- Ocean, n. A body of water covering seven-tenths of a world designed for Man - who has no gills.