Gnus development mailing list
 help / color / mirror / Atom feed
From: Miles Bader <miles@gnu.org>
To: anhnmncb <anhnmncb@sina.com>
Cc: ding@gnus.org
Subject: Re: Make gnus-agent-batch non-interactive at all?
Date: Sat, 05 Jul 2008 10:29:27 +0900	[thread overview]
Message-ID: <871w295dag.fsf@catnip.gol.com> (raw)
In-Reply-To: <87k5g1f7ru.fsf@gentoo.hasee.cpu> (anhnmncb@sina.com's message of "Sat, 05 Jul 2008 09:18:29 +0800")

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)'

-Miles

-- 
Ocean, n. A body of water covering seven-tenths of a world designed for Man -
who has no gills.



  reply	other threads:[~2008-07-05  1:29 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 [this message]
2008-07-05  1:33       ` anhnmncb

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=871w295dag.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=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).