From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36681 Path: main.gmane.org!not-for-mail From: wmperry@gnu.org (William M. Perry) Newsgroups: gmane.emacs.gnus.general Subject: Re: continue automatically despite y/n prompt? Date: 21 Jun 2001 13:35:43 -0500 Sender: wmperry@aventail.com Message-ID: <868zilptog.fsf@hel.bp.aventail.com> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035172229 9910 80.91.224.250 (21 Oct 2002 03:50:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:50:29 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 22096 invoked from network); 21 Jun 2001 18:36:37 -0000 Original-Received: from femail17.sdc1.sfba.home.com (24.0.95.144) by gnus.org with SMTP; 21 Jun 2001 18:36:37 -0000 Original-Received: from hel.bp.aventail.com ([24.12.70.142]) by femail17.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010621183607.CZSO5596.femail17.sdc1.sfba.home.com@hel.bp.aventail.com>; Thu, 21 Jun 2001 11:36:07 -0700 Original-Received: from hel.bp.aventail.com (wmperry@localhost [127.0.0.1]) by localhost (8.12.0.Beta10/8.12.0.Beta10/Debian 8.12.0.Beta10) with ESMTP id f5LIZiSP032737; Thu, 21 Jun 2001 13:35:44 -0500 Original-Received: (from wmperry@localhost) by hel.bp.aventail.com (8.12.0.Beta10/8.12.0.Beta10/Debian 8.12.0.Beta10) id f5LIZh8s032733; Thu, 21 Jun 2001 13:35:43 -0500 X-Authentication-Warning: hel.bp.aventail.com: wmperry set sender to wmperry@gnu.org using -f Original-To: Bill White X-Now-Listening-To: Bon Jovi - Wanted Dead or Alive X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7 (Bill White's message of "21 Jun 2001 11:55:55 -0500") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Academic Rigor) Original-Lines: 24 Xref: main.gmane.org gmane.emacs.gnus.general:36681 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36681 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? -bp -- Ceterum censeo vi esse delendam