Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: nnir, gnus-goto-article and such
Date: Thu, 29 Sep 2011 09:58:47 -0500	[thread overview]
Message-ID: <87hb3viee0.fsf@lifelogs.com> (raw)
In-Reply-To: <m2pqij9zt9.fsf@pluto.luannocracy.com>

On Thu, 29 Sep 2011 10:40:50 -0400 Dave Abrahams <dave@boostpro.com> wrote: 

DA> general usage of the registry, which only happens in a very few
DA> circumstances even though the kind of queries the registry can
DA> answer are all over the place.

It's a fairly new component and I haven't pushed it hard on anyone.

>> Users should be able to use every aspect of Gnus without calling
>> `gnus-registru-initialize'.  The memory usage of the gnus-registry, if
>> we enabled it by default, would be unpleasant for many of our users on
>> older or less capable machines.  Thus any general Gnus functionality
>> should not depend on the gnus-registry's availability.

DA> Well, here's an example of a missing generalization then.  The registry
DA> provides a general interface for looking up (information about) articles
DA> based on their message IDs.  However, there's only one of them, and it's
DA> persistent.  nnir would only need a small, special-purpose registry for
DA> each of its groups.  Or, maybe better, one registry could be refcounted
DA> and just discarded when you leave the last nnir group if you haven't
DA> initialized the registry in the meantime.  It wouldn't grow if nobody
DA> was putting things in it.

That's not hard to do using registry.el, which is intended to be a
general-purpose storage facility with or without persistent.  But I
unfortunately don't have the time or need to do what you suggest.

>> Furthermore the gnus-registry should be treated as a lossy cache.  If
>> you find something useful, great.  But don't rely on it.  That attitude
>> lets us expire it more aggressively.  There are "precious" properties
>> you can set, so for instance the registry marks are not lost, but from
>> our side we can't expect that.

DA> Sorry, don't know what you mean by "our side."  You can't make things
DA> precious programmatically?

Sure, but choose not to.  I think it should be entirely up to the user
what he wants to keep around.

Ted




  reply	other threads:[~2011-09-29 14:58 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-15 18:24 Dave Abrahams
2011-09-16 15:05 ` gnus-warp-to-article (was: nnir, gnus-goto-article and such) Dave Abrahams
2011-09-21 18:03 ` nnir, gnus-goto-article and such Lars Magne Ingebrigtsen
2011-09-21 21:16   ` John Wiegley
2011-09-22 13:01     ` Andrew Cohen
2011-09-26 19:17       ` Lars Magne Ingebrigtsen
2011-09-26 20:46       ` Dave Abrahams
2011-09-27  7:04         ` John Wiegley
2011-09-27 15:36           ` Dave Abrahams
2011-09-26 20:01   ` Dave Abrahams
2011-09-26 21:35     ` Ted Zlatanov
2011-09-27 15:35       ` Dave Abrahams
2011-09-27 21:12         ` Ted Zlatanov
2011-09-28 14:34           ` Dave Abrahams
2011-09-29  0:32             ` Ted Zlatanov
2011-09-29  1:19               ` Dave Abrahams
2011-09-29  2:06                 ` Dave Abrahams
2011-09-29  8:27                   ` Ted Zlatanov
2011-09-29 13:40                     ` Dave Abrahams
2011-09-29 14:00                       ` Ted Zlatanov
2011-09-29 14:40                         ` Dave Abrahams
2011-09-29 14:58                           ` Ted Zlatanov [this message]
2011-09-29 20:04                             ` Dave Abrahams
2011-09-29 23:40                               ` Ted Zlatanov
2011-09-29  8:22                 ` Ted Zlatanov
2011-09-27 16:04       ` Dave Abrahams

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=87hb3viee0.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.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).