From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67125 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 09:57:46 +0900 Message-ID: <877ic15er9.fsf@catnip.gol.com> References: <877ic1di82.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 1215219553 22750 80.91.229.12 (5 Jul 2008 00:59:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jul 2008 00:59:13 +0000 (UTC) Cc: ding@gnus.org To: anhnmncb Original-X-From: ding-owner+M15587@lists.math.uh.edu Sat Jul 05 02:59:59 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 1KEw85-00011m-7S for ding-account@gmane.org; Sat, 05 Jul 2008 02:59:57 +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 1KEw68-0001EY-5G; Fri, 04 Jul 2008 19:57:56 -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 1KEw66-0001EF-B0 for ding@lists.math.uh.edu; Fri, 04 Jul 2008 19:57:54 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KEw62-0000zs-RE for ding@lists.math.uh.edu; Fri, 04 Jul 2008 19:57:54 -0500 Original-Received: from smtp11.dentaku.gol.com ([203.216.5.73]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1KEw6M-0004ci-00 for ; Sat, 05 Jul 2008 02:58:10 +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 1KEw5z-0002kr-A2; Sat, 05 Jul 2008 09:57:47 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id A23A02F3A; Sat, 5 Jul 2008 09:57:46 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: <877ic1di82.fsf@gentoo.hasee.cpu> (anhnmncb@sina.com's message of "Fri, 04 Jul 2008 19:03:25 +0800") Original-Lines: 12 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:67125 Archived-At: 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)' -Miles -- `Suppose Korea goes to the World Cup final against Japan and wins,' Moon said. `All the past could be forgiven.' [NYT]