Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Subject: Re: demons and handlers
Date: 26 Sep 1999 18:54:30 +0200	[thread overview]
Message-ID: <vafvh8xbol5.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: Harry Putnam's message of "26 Sep 1999 08:53:32 -0700"

Harry Putnam <reader@newsguy.com> writes:

>  (defun lars-fetch-news ()
>    (interactive)
>    (push "/usr/local/pgnus-0.96/lisp" load-path)
>    (let ((init-file-user "")
>  	(gnus-always-read-dribble-file t))
>      (gnus))
>    (gnus-group-send-drafts)
>    (gnus-agent-fetch-session)
>    (gnus-group-quit))

This looks as if it was intended to be run from the command line, like
``emacs -batch -f lars-fetch-news''.

For periodically checking for new mail, I think there are some
ready-made functions.  Load gnus-demon.el and then look for functions
starting with gnus-demon.  gnus-demon-add-scanmail and
gnus-demon-add-rescan look promising, judging solely from their
names. 

kai
-- 
I like BOTH kinds of music.


  reply	other threads:[~1999-09-26 16:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-25 17:09 Harry Putnam
1999-09-26  2:38 ` Karl Kleinpaste
1999-09-26 15:53   ` Harry Putnam
1999-09-26 16:54     ` Kai Großjohann [this message]
1999-09-27  5:36       ` 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=vafvh8xbol5.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    /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).