Gnus development mailing list
 help / color / mirror / Atom feed
From: Colin Rafferty <colin.rafferty@msdw.com>
Subject: Re: Oort Gnus
Date: 18 Jan 2000 15:16:25 -0500	[thread overview]
Message-ID: <vgvn1q3nnja.fsf@ms.com> (raw)
In-Reply-To: merlyn@stonehenge.com's message of "18 Jan 2000 08:35:30 -0800"

Randal L Schwartz writes:

> Well, there's the one major fix that is still necessary so that I
> don't get 752 lines of "No new mail" when I "2 M-g" in the Summary
> buffer.  I'm glad I'm not holding my breath for the fix, but it makes
> some operations next to useless.

If you use nnml, run this function instead.  You will only get the "No
new mail" for the number of folders that have new mail.

(defun gnus-group-get-new-nnml ()
  "Get new mail only."
  (interactive)
  (let ((gnus-group-new-mail-list nil)
	(method '(nnml ""))
	(nnml-prepare-save-mail-hook
	 (cons '(lambda ()
		  (setq gnus-group-new-mail-list
			(union gnus-group-new-mail-list
			       (mapcar 'car group-art))))
	       nnml-prepare-save-mail-hook)))
    (when (gnus-check-server method)
      (gnus-request-scan nil method))
    (while gnus-group-new-mail-list
      (let ((gnus-group-marked (mapcar '(lambda (group)
					  (concat "nnml:" group))
				       gnus-group-new-mail-list)))
	(setq gnus-group-new-mail-list nil)
	(gnus-group-get-new-news-this-group)))
    (when gnus-goto-next-group-when-activating
      (gnus-group-next-unread-group 1 t))
    (gnus-summary-position-point)
    (run-hooks 'gnus-after-getting-new-news-hook)
    (gnus-group-list-groups)))

;; Colin



  reply	other threads:[~2000-01-18 20:16 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-17  0:55 Lars Magne Ingebrigtsen
2000-01-17 20:02 ` Alexandre Oliva
2000-01-17 23:31   ` Denys Duchier
2000-01-18  2:08     ` Eric S. Johansson
2000-01-18  3:59       ` Johan Kullstam
2000-01-18 13:20         ` Kai Großjohann
2000-01-18 13:31           ` Harry Putnam
2000-01-18 20:43             ` Steinar Bang
2000-01-20 13:40             ` Big Gaute
2000-01-18 14:27           ` Raymond Scholz
2000-01-18 16:35           ` Randal L. Schwartz
2000-01-18 20:16             ` Colin Rafferty [this message]
2000-01-19  0:12           ` David Hedbor
2000-01-19  1:05           ` Daniel Pittman
2000-01-19 17:25           ` breaking up .newsrc.eld (was Re: Oort Gnus) Sam Falkner
2000-01-19 17:37             ` lconrad
2000-01-19 17:53               ` Steve Harris
2000-01-19 17:49             ` Steve Harris
2000-01-19 20:50             ` Kai Großjohann
2000-01-20 11:43               ` breaking up .newsrc.eld Toby Speight
2000-01-20 12:21                 ` Kai Großjohann
2000-01-20 12:24                   ` Kai Großjohann
2000-01-29 16:41           ` Oort Gnus Matt Simmons
2000-01-29 17:06             ` Alan Shutko
2000-01-30  2:20               ` Oyvind Moll
2000-01-30 15:18                 ` Colin Rafferty
2000-01-30 15:44                   ` Fabrice Popineau
2000-02-01  6:57               ` Jaap-Henk Hoepman
2000-01-31 16:42             ` Per Abrahamsen
2000-01-17 20:47 ` Steinar Bang
2000-01-18 15:50   ` Mick Gower
2000-01-19 15:31     ` Jerry James

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=vgvn1q3nnja.fsf@ms.com \
    --to=colin.rafferty@msdw.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).