Gnus development mailing list
 help / color / mirror / Atom feed
From: David Hedbor <david@hedbor.org>
Subject: Re: some mail annoyances [renumbering]
Date: 25 Jun 1999 17:27:45 -0700	[thread overview]
Message-ID: <m3so7fiz5q.fsf@nyarlathotep.home.hedbor.org> (raw)
In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "26 Jun 1999 01:25:58 +0200"

Kai.Grossjohann@CS.Uni-Dortmund.DE writes:

> David Hedbor <david@hedbor.org> writes:
> 
>   > [...] This has of course been discussed many times before but I
>   > have yet to understand why gnus can't check how many messages
>   > there REALLY are in a mail group. How hard can that really be?
>   > [...]
> 
> It is not hard, but slow.  Use nnmh as your mail backend and you will
> see just *how* slow.  (With nnmh, Gnus looks for the exact number of
> messages in a group because nnmh does not have these nifty .overview
> files.  I think.)

Why not simply check the number of entries in the overview files? Or
add a second file that keeps the number of articles cached. I can't
possibly see how this can be slow for nnml. If you don't want to count 
lines, isn't there a getdir function? I mean, in Pike I could do
[ sizeof(get_dir(".")) ]. That takes 10-20 ms on a dir with 3000 files 
in it. wc -l on the .overview file in that directory takes 0.006
seconds. Another option would be to add a first line with num articles 
to the .overview files.

In any case, I still can't see how it would be either hard or slow,
unless emacs is very bad at the above operations (I don't know enough
elisp to try). It would of course be an nnml specific solution (well,
should work with nnmh too possibly). 

-- 
[ Below is a random fortune, which is unrelated to the above message. ]
I didn't believe in reincarnation in any of my other lives.  I don't see why
I should have to believe in it in this one.
		-- Strange de Jim



  reply	other threads:[~1999-06-26  0:27 UTC|newest]

Thread overview: 152+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-22  0:36 some mail annoyances Per Bothner
1999-06-22  2:04 ` Stainless Steel Rat
1999-06-22  8:20 ` Kai.Grossjohann
1999-06-22  8:23 ` Kai.Grossjohann
1999-06-22 12:00   ` Harry Putnam
1999-06-22 22:34     ` Karl Kleinpaste
1999-06-23  7:39     ` Kai.Grossjohann
1999-06-23 14:25   ` Wes Hardaker
1999-06-22 12:53 ` Per Abrahamsen
1999-06-22 17:48   ` some mail annoyances [renumbering] Per Bothner
1999-06-22 18:20     ` Karl Kleinpaste
1999-06-23  7:00       ` Jaap-Henk Hoepman
1999-06-23  7:44         ` Kai.Grossjohann
1999-06-23  7:50           ` Per Abrahamsen
1999-06-23  8:18           ` Jaap-Henk Hoepman
1999-06-22 18:58     ` Per Abrahamsen
1999-06-22 19:29       ` Sam Falkner
1999-06-22 19:33         ` Finding a given in an nnml group (was: Re: some mail annoyances [renumbering]) Laura Conrad
1999-06-22 19:48           ` Jack Twilley
1999-06-22 19:48           ` Per Abrahamsen
1999-06-23  6:54           ` Kai.Grossjohann
1999-06-23 15:36             ` Laura Conrad
1999-06-23 17:46               ` Per Abrahamsen
1999-06-24  9:10               ` Kai.Grossjohann
1999-06-24 20:39           ` Justin Sheehy
1999-06-22 21:13         ` some mail annoyances [renumbering] Tony Lam
1999-06-23  7:05         ` Steinar Bang
1999-06-23 19:33         ` David Hedbor
1999-06-25 23:25           ` Kai.Grossjohann
1999-06-26  0:27             ` David Hedbor [this message]
1999-06-28 15:45               ` Karl Kleinpaste
1999-06-23  6:45     ` Kai.Grossjohann
1999-06-23 18:34       ` Being forced to deal with message numbers and frustrated Tony Lam
1999-06-23 19:56         ` Stainless Steel Rat
1999-06-23 22:13           ` Tony Lam
1999-06-24  0:20             ` Stainless Steel Rat
1999-06-24  6:44               ` Tony Lam
1999-06-24  9:19                 ` Kai.Grossjohann
1999-06-24  9:21                 ` Kai.Grossjohann
1999-06-24 14:58               ` Peter von der Ahé - at home
1999-06-24 15:37                 ` Norbert Koch
1999-06-24 17:58                   ` Tony Lam
1999-06-25 19:47                   ` David Hedbor
1999-06-25 20:56                     ` Matt Pharr
1999-06-28  1:53                       ` Tony Lam
1999-06-24 15:48                 ` Lee Willis
1999-06-24 18:01                   ` Tony Lam
1999-06-24  8:42             ` Per Abrahamsen
1999-06-24 17:05               ` Sam Falkner
1999-06-24 23:06                 ` Sam Falkner
1999-06-24  9:17             ` Kai.Grossjohann
1999-06-24  9:14         ` Kai.Grossjohann
1999-06-24 19:00           ` Tony Lam
1999-06-24 20:41             ` David S. Goldberg
1999-06-24 21:07             ` Kai.Grossjohann
1999-06-24 21:38               ` Tony Lam
1999-06-25  6:14                 ` Soeren Laursen
1999-07-04  1:30         ` Lars Magne Ingebrigtsen
1999-06-22 18:33   ` some mail annoyances [deleting mail] Per Bothner
1999-06-22 18:33     ` Jack Twilley
1999-06-22 18:54       ` Karl Kleinpaste
1999-06-22 19:15     ` Per Abrahamsen
1999-06-23  7:10       ` Jaap-Henk Hoepman
1999-06-23  7:32         ` Yair Friedman
1999-06-23  7:46         ` Kai.Grossjohann
1999-06-23 12:13         ` Randal L. Schwartz
1999-06-22 19:18     ` Nathan Williams
1999-06-23  7:51       ` Per Bothner
1999-06-23  6:58     ` Kai.Grossjohann
1999-06-23  7:23     ` Yair Friedman
1999-07-04  1:37     ` Lars Magne Ingebrigtsen
1999-06-22 19:37   ` some mail annoyances David S. Goldberg
1999-06-23  0:48   ` Dmitry Yaitskov
1999-06-23  7:42     ` Per Abrahamsen
1999-06-23  7:49       ` Kai.Grossjohann
1999-06-23 14:20       ` Dmitry Yaitskov
1999-06-23 19:15         ` some mail annoyances [article number overflow] Karl Kleinpaste
1999-06-23 21:02           ` Colin Rafferty
1999-06-23 21:09             ` Karl Kleinpaste
1999-06-22 12:58 ` some mail annoyances David S. Goldberg
1999-06-22 14:33 ` Steinar Bang
1999-06-22 16:43   ` Vin Shelton
1999-06-23  6:42     ` Kai.Grossjohann
1999-06-23  6:47     ` Jaap-Henk Hoepman
1999-06-23 14:24 ` Wes Hardaker
1999-06-24 21:19 ` Per Bothner
1999-06-25  3:18   ` Christian Nybø
1999-06-25 20:34     ` Ken McGlothlen
1999-06-25 23:51       ` Harry Putnam
1999-06-26  0:07         ` Ken McGlothlen
1999-06-26  0:19           ` Stainless Steel Rat
1999-06-26  2:05             ` Harry Putnam
1999-06-26  2:28               ` Stainless Steel Rat
1999-06-26  2:46                 ` Harry Putnam
1999-06-27 13:32                   ` Stainless Steel Rat
1999-06-27 21:15                     ` Harry Putnam
1999-06-28 23:43                       ` Stainless Steel Rat
1999-06-27 22:30                     ` Kai.Grossjohann
1999-06-28  2:49                       ` Harry Putnam
1999-06-28  8:09                         ` Kai.Grossjohann
1999-06-28 15:24                           ` Harry Putnam
1999-06-28 15:50                             ` Kai.Grossjohann
1999-06-26  9:32                 ` Kai.Grossjohann
1999-06-27 13:34                   ` Stainless Steel Rat
1999-06-28 13:58             ` Kim-Minh Kaplan
1999-06-26 13:16           ` Per Abrahamsen
1999-06-28 15:37             ` Karl Kleinpaste
1999-06-28 20:43               ` Wes Hardaker
1999-06-28 20:57                 ` Karl Kleinpaste
1999-06-25  5:10   ` Russ Allbery
1999-06-25 13:21   ` Per Abrahamsen
1999-06-25 13:25     ` Didier Verna
1999-06-25 13:39       ` Karl Kleinpaste
1999-06-25 13:43       ` Karl Kleinpaste
1999-06-25 13:52         ` customizing (was Re: some mail annoyances) Paul Stevenson
1999-07-04  2:19 ` some mail annoyances Lars Magne Ingebrigtsen
1999-07-04  2:44   ` Harry Putnam
1999-07-04  3:19     ` Lars Magne Ingebrigtsen
1999-07-04  6:15       ` Harry Putnam
1999-07-04  6:37         ` Lars Magne Ingebrigtsen
1999-07-04  6:51           ` Harry Putnam
1999-07-04 13:15           ` Hrvoje Niksic
1999-07-04 17:00     ` Kai.Grossjohann
1999-07-04 19:01       ` Harry Putnam
1999-07-04 19:31         ` Kai.Grossjohann
1999-07-04  6:37   ` Hans de Graaff
1999-07-05  3:11     ` Lars Magne Ingebrigtsen
1999-07-04 16:58   ` Kai.Grossjohann
1999-07-05  3:13     ` Lars Magne Ingebrigtsen
1999-07-05  9:28       ` Kai.Grossjohann
1999-07-06  3:58         ` Lars Magne Ingebrigtsen
1999-07-05  7:45     ` Jaap-Henk Hoepman
1999-07-06  4:02       ` Lars Magne Ingebrigtsen
1999-07-06  6:47         ` Jaap-Henk Hoepman
1999-07-06 15:54           ` Lars Magne Ingebrigtsen
1999-07-05 16:22     ` Robert Bihlmeyer
1999-07-05 18:32       ` François Pinard
1999-07-07 11:30         ` Robert Bihlmeyer
1999-07-07 14:20           ` François Pinard
1999-07-07 14:22             ` Lee Willis
1999-07-12 11:40             ` Robert Bihlmeyer
1999-07-06  3:59       ` Lars Magne Ingebrigtsen
1999-07-13  5:22     ` Rob Browning
1999-07-13 11:29       ` Kai Großjohann
1999-07-04 18:18   ` lconrad
1999-07-05  3:17     ` Lars Magne Ingebrigtsen
1999-07-07  0:34   ` Peter von der Ahé
1999-07-07  2:46     ` lconrad
1999-07-09 16:59     ` Lars Magne Ingebrigtsen
1999-07-09 18:39       ` Peter von der Ahé
1999-07-09 19:15         ` Lars Magne Ingebrigtsen
1999-07-28  7:36   ` Rob Browning

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=m3so7fiz5q.fsf@nyarlathotep.home.hedbor.org \
    --to=david@hedbor.org \
    /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).