Gnus development mailing list
 help / color / mirror / Atom feed
From: colin.rafferty@morganstanley.com
Subject: Re: Gnus exited on purpose without..
Date: Fri, 10 Sep 2004 13:52:03 -0400	[thread overview]
Message-ID: <vgvwtz2f1vg.wl@paias746.morganstanley.com> (raw)
In-Reply-To: <m3k6v2mhey.fsf@newsguy.com>

You have to save the newsrc.  See my inline change.

Speaking of saving, these are three good hooks for general gnus usage:

(add-hook 'gnus-summary-exit-hook 'gnus-dribble-save)
(add-hook 'gnus-after-getting-new-news-hook 'gnus-dribble-save)
(add-hook 'gnus-group-catchup-group-hook 'gnus-dribble-save)

Harry Putnam wrote:

> (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-save-newsrc)
>     (gnus-group-quit)))



  reply	other threads:[~2004-09-10 17:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-10 12:34 Harry Putnam
2004-09-10 17:52 ` colin.rafferty [this message]
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=vgvwtz2f1vg.wl@paias746.morganstanley.com \
    --to=colin.rafferty@morganstanley.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).