From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/41759 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Batch eval problem Date: Tue, 08 Jan 2002 08:37:03 -0800 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035177107 7820 80.91.224.250 (21 Oct 2002 05:11:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:11:47 +0000 (UTC) Return-Path: Original-Received: (qmail 7187 invoked from network); 8 Jan 2002 16:39:44 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 8 Jan 2002 16:39:44 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16NzGG-0005AS-00; Tue, 08 Jan 2002 10:38:04 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 08 Jan 2002 10:37:56 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id KAA10744 for ; Tue, 8 Jan 2002 10:37:46 -0600 (CST) Original-Received: (qmail 7148 invoked by alias); 8 Jan 2002 16:37:45 -0000 Original-Received: (qmail 7142 invoked from network); 8 Jan 2002 16:37:44 -0000 Original-Received: from smtp.newsguy.com (HELO newsguy.com) (209.155.56.71) by gnus.org with SMTP; 8 Jan 2002 16:37:44 -0000 Original-Received: from reader.local.lan (adsl-66.51.210.228.dslextreme.com [66.51.210.228]) by newsguy.com (8.9.1a/8.9.1) with ESMTP id IAA55745 for ; Tue, 8 Jan 2002 08:37:14 -0800 (PST) Original-Received: (from reader@localhost) by reader.local.lan (8.11.6/8.11.6) id g08Gb3423387; Tue, 8 Jan 2002 08:37:03 -0800 Original-To: Original-Lines: 41 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i586-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:41759 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:41759 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.