Gnus development mailing list
 help / color / mirror / Atom feed
From: anhnmncb <anhnmncb@sina.com>
To: ding@gnus.org
Subject: Re: Make gnus-agent-batch non-interactive at all?
Date: Sat, 05 Jul 2008 09:33:45 +0800	[thread overview]
Message-ID: <87mykxf72e.fsf@gentoo.hasee.cpu> (raw)
In-Reply-To: <871w295dag.fsf@catnip.gol.com>

Miles Bader <miles@gnu.org> writes:

> anhnmncb <anhnmncb@sina.com> 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)'

Exactly, Thank you!

-- 
Regards,

  anhnmncb
 gpg key: 44A31344




      reply	other threads:[~2008-07-05  1:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-04 11:03 anhnmncb
2008-07-05  0:57 ` Miles Bader
2008-07-05  1:18   ` anhnmncb
2008-07-05  1:29     ` Miles Bader
2008-07-05  1:33       ` anhnmncb [this message]

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=87mykxf72e.fsf@gentoo.hasee.cpu \
    --to=anhnmncb@sina.com \
    --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).