From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: gnus-registry flags API
Date: Wed, 16 Jan 2008 15:52:29 -0600 [thread overview]
Message-ID: <864pddzbdu.fsf@lifelogs.com> (raw)
In-Reply-To: <86ir1u3g8b.fsf@lifelogs.com> (Ted Zlatanov's message of "Tue, 15 Jan 2008 15:56:36 -0600")
On Tue, 15 Jan 2008 15:56:36 -0600 Ted Zlatanov <tzz@lifelogs.com> wrote:
TZ> Sure, but keep in mind the registry in its current form gets big
TZ> quickly. It should probably be compressed, if not trimmed. If it's
TZ> trimmed then you only have the latest anyhow (in my experience 50,000
TZ> entries cover 99% of my needs); if we decide to compress it that's extra
TZ> work but probably good for the user's disk space.
...
TZ> Well, we get to two questions:
TZ> 1) do we push the registry on everyone? If yes, then we should do
TZ> (when (file-exists-p gnus-registry-cache-file)
TZ> (gnus-registry-initialize))
TZ> in gnus.el. If not...
TZ> 2) when we notify the user, we should offer to turn
TZ> gnus-registry-enabled on, and in gnus.el we'll have
TZ> (when gnus-registry-enabled
TZ> (gnus-registry-initialize))
TZ> Either approach is OK with me. It really depends on how much everyone
TZ> likes the registry and wants it on by default. IMO (2) is the better
TZ> approach but complicates the code since we have to do the enabled check
TZ> everywhere we offer user functionality.
...
TZ> It will match an unanchored regular expression, so "^nntp" should do
TZ> it. We could add a gnus-registry-ignored-methods, which by default is
TZ> ("nntp" "nnrss" "nndraft" "nnil") or something similar, and then match
TZ> on "^method:". Let me know which one you like better, I have no
TZ> preference.
Any opinions on the three items above?
Labels are done, but I've called them 'marks' consistently. Before I
had flags, labels, and marks. It was not nice. The label is always
just a symbol.
The mark functionality in gnus-registry.el uses process/prefix
correctly, I think.
gnus-registry-trim will always keep articles with marks and any other
extra symbols you put in gnus-registry-extra-entries-precious.
Please test and review if you have a chance.
Thanks
Ted
next prev parent reply other threads:[~2008-01-16 21:52 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-25 16:26 Ted Zlatanov
2007-09-25 19:58 ` Bastien
2007-09-25 23:40 ` Leo
2007-12-19 1:22 ` Ted Zlatanov
2008-01-03 17:10 ` Reiner Steib
2008-01-03 17:55 ` Ted Zlatanov
2008-01-04 17:43 ` Reiner Steib
2008-01-15 21:56 ` Ted Zlatanov
2008-01-16 21:52 ` Ted Zlatanov [this message]
2008-02-06 17:17 ` Ted Zlatanov
2008-02-16 20:26 ` Reiner Steib
2008-02-28 15:12 ` Ted Zlatanov
2008-02-28 20:04 ` Reiner Steib
2008-02-29 23:19 ` Ted Zlatanov
2008-03-04 22:43 ` Ted Zlatanov
2008-03-05 19:00 ` Ted Zlatanov
2008-03-06 21:50 ` Ted Zlatanov
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=864pddzbdu.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).