* Running nnml-generate-nov-databases-1 from batch mode with NT
@ 2000-03-23 14:05 Rene Matteau
2000-03-23 16:34 ` Kai Großjohann
0 siblings, 1 reply; 3+ messages in thread
From: Rene Matteau @ 2000-03-23 14:05 UTC (permalink / raw)
Emacs 20.5
User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5
Hi,
I am running Gnus 5.8.2 with Emacs 20.5 on Windows NT and I am using
the agent extensively. Due to connection drops, the .overview and the
content of the agent directories are now out of sync; many downloaded
postings have a size of 0. I already have a program the check for
these and re-create the .agentview file. After it is re-created, I
want to re-generate the .overview file and I would like to do this
from the command line (NT CMD shell). I have the following so far (on
one line):
C:\>C:\emacs.20.5\bin\emacs.bat -batch -l ~/.emacs -eval
'\(nnml-generate-nov-databases-1
C:/matteau/news/agent/nntp/msnews.microsoft.com/microsoft/public/moneycentral\)'
The command complete with no errors or warnings but the .overview is
not re-regenerated. The same command from within Emacs work OK (the
name of the directory is prompted) Any ideas?
--
Rene
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Running nnml-generate-nov-databases-1 from batch mode with NT
2000-03-23 14:05 Running nnml-generate-nov-databases-1 from batch mode with NT Rene Matteau
@ 2000-03-23 16:34 ` Kai Großjohann
2000-03-26 8:28 ` Rene Matteau
0 siblings, 1 reply; 3+ messages in thread
From: Kai Großjohann @ 2000-03-23 16:34 UTC (permalink / raw)
Cc: ding
Rene Matteau <matteau@ca.ibm.com> writes:
> C:\>C:\emacs.20.5\bin\emacs.bat -batch -l ~/.emacs -eval
> '\(nnml-generate-nov-databases-1
> C:/matteau/news/agent/nntp/msnews.microsoft.com/microsoft/public/moneycentral\)'
I think you want quotes around the directory name. The Lisp code to
eval looks like this:
(nnml-generate-nov-databases-1 "..dir.name.goes.here..")
I don't know how you get the spaces and double quotes in there with
the NT shell. But surely you know...
If all else fails, write the above into a file and do "emacs -l file.el".
kai
--
~/.signature: No such file or directory
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Running nnml-generate-nov-databases-1 from batch mode with NT
2000-03-23 16:34 ` Kai Großjohann
@ 2000-03-26 8:28 ` Rene Matteau
0 siblings, 0 replies; 3+ messages in thread
From: Rene Matteau @ 2000-03-26 8:28 UTC (permalink / raw)
Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> Rene Matteau <matteau@ca.ibm.com> writes:
>
> > C:\>C:\emacs.20.5\bin\emacs.bat -batch -l ~/.emacs -eval
> > '\(nnml-generate-nov-databases-1
> > C:/matteau/news/agent/nntp/msnews.microsoft.com/microsoft/public/moneycentral\)'
>
> I think you want quotes around the directory name. The Lisp code to
> eval looks like this:
>
> (nnml-generate-nov-databases-1 "..dir.name.goes.here..")
>
> I don't know how you get the spaces and double quotes in there with
> the NT shell. But surely you know...
>
> If all else fails, write the above into a file and do "emacs -l file.el".
>
Thanks Kai. Unfortunately, with this particular directory, I always
get the message:
Wrong type argument: stringp, nil
I have issued the command from the scratch buffer with eval-last-sexp
and with putting the command in the file.el and using the syntax that
you suggested. The command I used is:
(nnml-generate-nov-databases-1 "C:/matteau/news/agent/nntp/msnews.microsoft.com/microsoft/public/moneycentral")
On the other hand, I wrote a Perl program that generates the .overview
file and the .agentview so I am OK for now. Thanks again...
--
Rene
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-03-26 8:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-23 14:05 Running nnml-generate-nov-databases-1 from batch mode with NT Rene Matteau
2000-03-23 16:34 ` Kai Großjohann
2000-03-26 8:28 ` Rene Matteau
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).