[gnu.emacs.gnus] batched kills

emv@math.lsa.umich.edu (Edward Vielmetti) (02/13/90)

I'm trying to run all off my kill files from a batch process.

Here's what I have so far, which fails quietly.

% emacs -batch do-gnus-kills -q

where do-gnus-kills is this file.

Any clues as to what's going on would be helped -- I think
I have to get around some functions which want to be
interactive.

--Ed


--- do-gnus-kills ---

(autoload 'gnus "gnus" "Read network news." t)
(setq gnus-nntp-service nil)
(setq gnus-nntp-server "stag")
(setq gnus-your-organization
      "University of Michigan Math Dept., Ann Arbor MI.")
(setq gnus-use-generic-from
      "math.lsa.umich.edu")
(setq gnus-use-generic-path
      "math.lsa.umich.edu")
(setq news-path
      "/usr/spool/news")
(setq nnspool-active-file
      "/usr/spool/news/lib/news/active")
(setq nnspool-history-file
      "/usr/spool/news/lib/news/history")
(setq nnspool-inews-program
      "/usr/spool/news/lib/nntp/inews")
(setq gnus-novice-user nil)
(gnus-Group-jump-to-group "comp.sys.amiga")
(gnus-apply-kill-file)
(gnus-save-newsrc-file)
(gnus-clear-system)
(gnus-close-server)