[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help converting a Pine user

From: Jesse F. Hughes
Subject: Help converting a Pine user
Date: Wed, 14 Jul 2004 10:42:00 +0200
User-agent: Gnus/5.090017 (Oort Gnus v0.17) XEmacs/21.4 (Reasonable Discussion, linux)

Hey ho.

I'm working on getting my wife onto Gnus (and off of Pine).  She likes
some of the features (notably nnir), but she can't stand the fact that
Gnus won't automatically update the summary buffer when new mail comes
in.  I've tried googling for ideas on how to do this (seems like it's
a common wish), but I just don't have the google skills apparently.

I'm using the following function every three minutes or so.  I found
this code in a previous Google post from Karl Kleinpaste.

(defun gnus-demon-scan-mail-or-news-and-update (level)
"Scan for new mail, updating the *Group* buffer."
  (let ((win (current-window-configuration)))
            (when (gnus-alive-p)
                (set-buffer gnus-group-buffer)
                (gnus-group-get-new-news level)))))
      (set-window-configuration win))))

Now I want to update every open summary buffer (and let's not assume
that there's just one).  I guess the easiest method is to form a list
of buffers beginning with "*Summary" and run gnus-summary-rescan-group
on each.  We can assume that the summary buffers are reasonably small
and that there is no sorting involved (aside from message numbers --
she doesn't like threading), so hopefully this won't be a big time

Any comments and tips?

"And that's what's wrong with Usenet.  You people [...] can reply to a
post [...] and then convince yourselves that you're great.  Because
you can open your mouths you think what you have is worth saying that
you have proven your value." -- James S. Harris masters self-diagnosis

reply via email to

[Prev in Thread] Current Thread [Next in Thread]