Gnus development mailing list
 help / color / mirror / Atom feed
* "subscribed" has overloaded meaning in gnus?
@ 2002-01-04 15:49 Benjamin Rutt
  2002-01-04 17:02 ` Matt Armstrong
  0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Rutt @ 2002-01-04 15:49 UTC (permalink / raw)


I'm using a couple month-old Oort 0.04.  I'm a little confused as to
what 'subscribed' means as a group parameter.  To me, the concept of
'subscribed' in gnus means that you have used the command 'U' or 'u'
in the *Group* buffer on a group to subscribe it.  But it seems from
the following definition that 'subscribed' takes on another meaning:

,----[ from gnus.el ]
| (defun gnus-find-subscribed-addresses ()
|   "Return a regexp matching the addresses of all subscribed mail groups.
| It consists of the `to-address' or `to-list' parameter of all groups
| with a `subscribed' parameter."
`----

If 'subscribed' is a group parameter, then it should be documented in
the info node "(gnus)Group Parameters".  (Is there any other source of
a list of group parameters that I'm missing?)  I think the prior
meaning of 'subscribed' as a *Group* buffer concept is pretty well
entrenched, and this new meaning may confuse others as it has me.
Maybe the group parameter 'subscribed' should have its name changed to
avoid the confusion from the overloaded meanings?  It's also possible
that I'm just being picky, and everyone can understand the two
meanings without any problems.  Opinions?

BTW, I learned about 'subscribed' as a group parameter a few months
ago in this group during a discussion of MFT.  The following sets
`message-subscribed-regexps' to a regexp matching all my mailing lists
(I've named them all with the prefix "mlist-" and I've set 'to-list'
and 'to-address' on each one).  If there's a better way to do this
please let me know:

(setq gnus-parameters '(("^nnml:mlist-.*" (subscribed . t))))
(add-hook 'gnus-started-hook
	  (lambda ()
	    (setq message-subscribed-regexps
		  (gnus-find-subscribed-addresses))))

Thanks,
-- 
Benjamin



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-01-12  2:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-04 15:49 "subscribed" has overloaded meaning in gnus? Benjamin Rutt
2002-01-04 17:02 ` Matt Armstrong
2002-01-04 18:41   ` Benjamin Rutt
2002-01-11 12:44     ` Sriram Karra
2002-01-12  2:14       ` Benjamin Rutt

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).