Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: Problems with gnus-registry
Date: Thu, 07 Feb 2008 09:43:34 -0600	[thread overview]
Message-ID: <86odasai1l.fsf@lifelogs.com> (raw)
In-Reply-To: <v9sl05sveh.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Wed, 06 Feb 2008 21:05:26 +0100")

On Wed, 06 Feb 2008 21:05:26 +0100 Reiner Steib <reinersteib+gmane@imap.cc> wrote: 

RS> On Wed, Feb 06 2008, Ted Zlatanov wrote:
RS> [ gnus-registry-ignored-groups ]
>> Sorry, I gave you the wrong variable name.  This is the right one with
>> the default value:
>> 
>> (setq gnus-registry-unfollowed-groups 
>> '("delayed$" "drafts$" "queue$" "INBOX$"))

RS> IMHO, something with "-ignore-"/"-ignored-" would be a better name for
RS> consistency with many other Gnus variable including
RS> `nnmail-split-fancy-with-parent-ignore-groups' and
RS> `nnmail-cache-ignore-groups'.

There's two variables:

(in gnus.el)

;; The Gnus registry's ignored groups
(gnus-define-group-parameter
 registry-ignore
 :type list
 :function-document
 "Whether this group should be ignored by the registry."
 :variable gnus-registry-ignored-groups
 :variable-default nil
 :variable-document
 "*Groups in which the registry should be turned off."
 :variable-group gnus-registry
 :variable-type '(repeat
		  (list
		   (regexp :tag "Group Name Regular Expression")
		   (boolean :tag "Ignored")))

 :parameter-type '(boolean :tag "Group Ignored by the Registry")
 :parameter-document
 "Whether the Gnus Registry should ignore this group.")

(in gnus-registry.el)

(defcustom gnus-registry-unfollowed-groups '("delayed$" "drafts$" "queue$" "INBOX$")
  "List of groups that gnus-registry-split-fancy-with-parent won't return.
The group names are matched, they don't have to be fully
qualified.  This parameter tells the Registry 'never split a
message into a group that matches one of these, regardless of
references.'"
  :group 'gnus-registry
  :type '(repeat regexp))

They are used differently.  Ignored groups are not saved in the
registry, but they are followed for splitting (this is incorrect, I
think).  Unfollowed groups are not followed by
gnus-registry-split-fancy-with-parent function but they are saved.

I think the two should be united in one variable, specifically
gnus-registry-ignored-groups since it's more powerful and should do the
same thing.  I'm not sure why I didn't do it so far.  Is it OK to make
that change?  I'll deprecate gnus-registry-unfollowed-groups, emit a
message when it's set, but still respect it as equivalent to
gnus-registry-ignored-groups.

Ted



  reply	other threads:[~2008-02-07 15:43 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-18 15:21 Jake Colman
2008-02-01 20:57 ` Ted Zlatanov
2008-02-04 13:38   ` Jake Colman
2008-02-04 21:03     ` Ted Zlatanov
     [not found]       ` <76y7a0nyo3.fsf@dev-d01.ppllc.com>
     [not found]         ` <86lk60uwwq.fsf@lifelogs.com>
     [not found]           ` <764pconmz4.fsf@dev-d01.ppllc.com>
2008-02-05 15:15             ` Ted Zlatanov
2008-02-05 21:51               ` Jake Colman
2008-02-05 22:15                 ` Ted Zlatanov
2008-02-05 22:24                   ` Jake Colman
2008-02-06 14:21                     ` Ted Zlatanov
2008-02-06 16:54                       ` Jake Colman
2008-02-06 17:31                         ` Ted Zlatanov
2008-02-07 15:42                           ` Jake Colman
2008-02-06 20:05                       ` Reiner Steib
2008-02-07 15:43                         ` Ted Zlatanov [this message]
2008-02-07 17:29                           ` Reiner Steib
2008-02-08 11:58                             ` David
2008-02-14 17:51                               ` Ted Zlatanov
2008-02-28 15:01                                 ` Ted Zlatanov
2008-02-28 15:53                                   ` David
2008-02-14 17:45                             ` Ted Zlatanov
2008-02-28 15:03                               ` 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=86odasai1l.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).