Gnus development mailing list
 help / color / mirror / Atom feed
* Some MFT doc fixes.
@ 2002-02-05  7:33 Sriram Karra
  2002-02-05 16:50 ` ShengHuo ZHU
  0 siblings, 1 reply; 2+ messages in thread
From: Sriram Karra @ 2002-02-05  7:33 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 198 bytes --]


This patch improves the MFT documentation as per the suggestions of
Matt Armstrong (Message-ID: <87wuyyaw21.fsf@squeaker.lickey.com>) and 
Benjamin Rutt (<wc3sn9m0xi6.fsf@eta.cis.ohio-state.edu>)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: the.diff --]
[-- Type: text/x-patch, Size: 2968 bytes --]

Index: gnus.texi
===================================================================
RCS file: /usr/local/cvsroot/gnus/texi/gnus.texi,v
retrieving revision 6.249
diff -u -r6.249 gnus.texi
--- gnus.texi	2002/02/03 14:24:22	6.249
+++ gnus.texi	2002/02/04 17:11:57
@@ -2678,6 +2678,7 @@
 
 See also @code{gnus-parameter-to-list-alist}.
 
+@anchor{subscribed}
 @item subscribed
 @cindex subscribed
 If this parameter is set to @code{t}, Gnus will consider the
Index: message.texi
===================================================================
RCS file: /usr/local/cvsroot/gnus/texi/message.texi,v
retrieving revision 6.36
diff -u -r6.36 message.texi
--- message.texi	2002/01/22 23:05:51	6.36
+++ message.texi	2002/02/04 17:02:48
@@ -358,6 +358,7 @@
 
 @table @code
 
+@vindex message-subscribed-addresses
 @item message-subscribed-addresses
 This should be a list of addresses the user is subscribed to.  Its
 default value is @code{nil}.   Example: 
@@ -366,20 +367,33 @@
       '("ding@@gnus.org" "bing@@noose.org"))
 @end lisp
 
+@vindex message-subscribed-regexps
 @item message-subscribed-regexps
 This should be a list of regexps denoting the addresses of mailing
 lists subscribed to.  Default value is @code{nil}.  Example: If you
 want to achieve the same result as above:
 @lisp
 (setq message-subscribed-regexps
-      '("[bd]ing@@\\(gnus\\|noose\\)\\.org"))
+      '("\\(ding@@gnus\\)\\|\\(bing@@noose\\)\\.org")
 @end lisp
 
+@vindex message-subscribed-address-functions
 @item message-subscribed-address-functions
 This can be a list of functions to be called (one at a time!!) to
 determine the value of MFT headers.  It is advisable that these
 functions not take any arguments.  Default value is @code{nil}.
 
+There is a pre-defined function in Gnus that is a good candidate for
+this variable.  @code{gnus-find-subscribed-addresses} is a function
+that returns a list of addresses corresponding to the groups that have
+the @code{subscribed} (@pxref{(gnus)subscribed})
+group parameter set to a non-nil value.  This is how you would do it.
+
+@lisp
+(setq message-subscribed-address-functions
+      '(gnus-find-subscribed-addresses))
+@end lisp
+
 @item message-subscribed-address-file
 You might be one organised human freak and have a list of addresses of
 all subscribed mailing lists in a separate file!  Then you can just
@@ -404,11 +418,12 @@
 subscribed to?''  Well, the kind folks at Gnus Towers are working on a
 database of all known mailing list addresses that can be used for this
 purpose.  Till then, you could, like, insert a MFT header manually,
-with the help of @kbd{C-c C-f m} !!
+with the help of @kbd{C-c C-f C-m} !!
 
 @c @node Honoring an MFT post
 @subsection Honoring an MFT post
 
+@vindex message-use-mail-followup-to
 When you followup to a post on a mailing list, and the post has a MFT
 header, Gnus' action will depend on the value of the variable
 @code{message-use-mail-followup-to}.  This variable can be one of:

[-- Attachment #3: Type: text/plain, Size: 78 bytes --]



-- 
"Have you ever fought an IDEA, Picard?"
      -- Gowron, Star Trek TNG.

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

* Re: Some MFT doc fixes.
  2002-02-05  7:33 Some MFT doc fixes Sriram Karra
@ 2002-02-05 16:50 ` ShengHuo ZHU
  0 siblings, 0 replies; 2+ messages in thread
From: ShengHuo ZHU @ 2002-02-05 16:50 UTC (permalink / raw)


Sriram Karra <karra@cs.utah.edu> writes:

> This patch improves the MFT documentation as per the suggestions of
> Matt Armstrong (Message-ID: <87wuyyaw21.fsf@squeaker.lickey.com>) and 
> Benjamin Rutt (<wc3sn9m0xi6.fsf@eta.cis.ohio-state.edu>)

Installed.

ShengHuo



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

end of thread, other threads:[~2002-02-05 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-05  7:33 Some MFT doc fixes Sriram Karra
2002-02-05 16:50 ` ShengHuo ZHU

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