From: wmperry@gnu.org (William M. Perry)
Cc: ding@gnus.org
Subject: Re: continue automatically despite y/n prompt?
Date: 21 Jun 2001 13:35:43 -0500 [thread overview]
Message-ID: <868zilptog.fsf@hel.bp.aventail.com> (raw)
In-Reply-To: <ruoae31ydpg.fsf@g.wolfram.com> (Bill White's message of "21 Jun 2001 11:55:55 -0500")
Bill White <billw@wolfram.com> 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
next prev parent reply other threads:[~2001-06-21 18:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-21 16:55 Bill White
2001-06-21 18:35 ` William M. Perry [this message]
2001-06-22 13:19 ` Bill White
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=868zilptog.fsf@hel.bp.aventail.com \
--to=wmperry@gnu.org \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).