From: Harry Putnam <reader@newsguy.com>
Subject: Batch eval problem
Date: Tue, 08 Jan 2002 08:37:03 -0800 [thread overview]
Message-ID: <m1u1twsssw.fsf@reader.newsguy.com> (raw)
Due to complications with homeboy scripting and a shoddy news to mail
setup, I find myself needing to run nnml-generate-nov-databases-1 on a
certain directory to clean up a mess left (duplicates) by flaws in my
imperfect setup. My temporary cure is to delete the dups then run
n-g-n-d-1.
While trying to perfect this setup, I'd like to run that command in
batch mode several times a day. Finally figured out the command line
but don't understand certain aspects. Examples:
$ emacs -batch -f gnus-no-server -eval \
'(nnml-generate-nov-databases-1 "/mnt/hdc2/n2nnml")'
Fails with this error:
[...]
Reading /home/reader/.newsrc-enews.newsguy.com.eld...
Checking new news...
Trying to require a method that doesn't exist
$ emacs -batch -f gnus -eval \
'(nnml-generate-nov-databases-1 "/mnt/hdc2/n2nnml")'
(or -f gnus-slave)
That works but queries the nntp server and does other things I'd
rather not bother with. However in both cases I get queried about
reading the autosave file:
Gnus auto-save file exists. Do you want to read it? (y or n)
Which rules out running this unattended.
1)
Can anyone tell me why using `-f gnus-no-server' fails in that way.
Is it simply that I've told gnus to use no servers then demand an nnml
server be used?
Is there something I could load that would prevent that particular
failure, yet still not query the nntpserver?
2)
How can I prevent the query about autosave file, or at least have it
auto answered.
next reply other threads:[~2002-01-08 16:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-08 16:37 Harry Putnam [this message]
2002-01-19 21:02 ` Lars Magne Ingebrigtsen
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=m1u1twsssw.fsf@reader.newsguy.com \
--to=reader@newsguy.com \
/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).