Gnus development mailing list
 help / color / mirror / Atom feed
From: Harry Putnam <reader@newsguy.com>
Subject: Gnus exited on purpose without..
Date: Fri, 10 Sep 2004 07:34:29 -0500	[thread overview]
Message-ID: <m3k6v2mhey.fsf@newsguy.com> (raw)


I have a batch fetch setup that runs from cron when gnus is closed.

When ever I start gnus after that batch command has been running I get:
  Gnus exited on purpose without saving; read auto-save file 
   anyway? (y or n) 

What needs to be added to my batch command code to prevent that?

  emacs -batch -l ~/.emacs \
  -l $HOME/.emacs-dir/batch-fetch.el \
  -l ~/.gnus -f lars-fetch-news-modified


lars-fetch-news-modified looks like this:

(defun lars-fetch-news-modified ()
  (interactive)
  ;; The let below might load ~/.gnus if "" trying nil
  (let ((init-file-user "")
  ;; (let ((init-file-user nil)
   (gnus-always-read-dribble-file t))
    (gnus))
  (let ((gnus-agent-confirmation-function 'gnus-agent-batch-confirmation))
    (gnus-group-send-queue)
    (gnus-agent-fetch-session)
    (gnus-group-quit)))




             reply	other threads:[~2004-09-10 12:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-10 12:34 Harry Putnam [this message]
2004-09-10 17:52 ` colin.rafferty
2004-09-11 19:39   ` Harry Putnam

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=m3k6v2mhey.fsf@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).