From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36690 Path: main.gmane.org!not-for-mail From: Bill White Newsgroups: gmane.emacs.gnus.general Subject: Re: continue automatically despite y/n prompt? Date: 22 Jun 2001 08:19:28 -0500 Message-ID: References: <868zilptog.fsf@hel.bp.aventail.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035172236 9952 80.91.224.250 (21 Oct 2002 03:50:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:50:36 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 8691 invoked from network); 22 Jun 2001 13:19:31 -0000 Original-Received: from wri-dns0.wolfram.com (HELO wolfram.com) (140.177.205.10) by gnus.org with SMTP; 22 Jun 2001 13:19:31 -0000 Original-Received: from g.wolfram.com (billwpc.wolfram.com [140.177.5.16]) by wolfram.com (8.11.2/8.11.2) with ESMTP id f5MDJSA26956; Fri, 22 Jun 2001 08:19:28 -0500 Original-Received: (from billw@localhost) by g.wolfram.com (8.9.3/8.9.2) id IAA13573; Fri, 22 Jun 2001 08:19:28 -0500 X-Authentication-Warning: g.wolfram.com: billw set sender to billw@wolfram.com using -f Original-To: wmperry@gnu.org (William M. Perry) X-Face: #t7>yWrgv~u6*cn3(6X"z={I/l%nH{(W:#WS-kA|s(Kcu`,=9qGWth&; @\^1U5s"'~/hhBr)ZU0<$?W:C33QJ}$t)m`&?8POaq*>5@/7xEPo!>gb;9Z[x)n%:yE#{A)6rNV_Ow ;vCO&LS=@3c=j'6@^T#Mic6zfW|Ehj0~2;jG9Df+DK'h`bTj>XsArg2CH`jW whq]J?SsvWnqa,{.C\,j]u*L:z6/2am5n5Q~6vC0fKPAMa7?Y6:eC.ThbVX In-Reply-To: <868zilptog.fsf@hel.bp.aventail.com> (wmperry@gnu.org's message of "21 Jun 2001 13:35:43 -0500") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.103 Original-Lines: 33 Xref: main.gmane.org gmane.emacs.gnus.general:36690 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36690 On Thu Jun 21 2001 at 13:35, wmperry@gnu.org (William M. Perry) said: > Bill White writes: > >> When I'm out of the office for the day I like to do this: >> >> (gnus-demon-add-handler 'gnus-demon-scan-mail 5 1) >> >> which automatically retrieves email from various pop accounts, >> which are set up like this: > > What about something like: > > (defun ignore-prompts-scan-mail () > (let ((orig-ynp (symbol-function 'y-or-n-p))) > (unwind-protect > (progn > (fset 'y-or-n-p (lambda (&rest args) t)) > (gnus-demon-scan-mail)) > (fset 'y-or-n-p orig-ynp)))) > > And use that as your handler? Well that looks cool - I'll give it a try over the weekend. Thanks! bw -- Bill White Office: 5E-Z15 Documentation Programmer Phone: 217-398-0700 x 234 Wolfram Research Fax: 217-398-0747 http://members.wri.com/billw nunc scripsi totum da mihi potum