comparison man/gnus.texi @ 34547:44a6d536cea3

Changes from Gnus CVS and fixes.
author Dave Love <fx@gnu.org>
date Thu, 14 Dec 2000 11:31:28 +0000
parents ae23bd13d2ee
children 726bca563fbf
comparison
equal deleted inserted replaced
34546:51be06b616bf 34547:44a6d536cea3
362 You can read news (and mail) from within Emacs by using Gnus. The news 362 You can read news (and mail) from within Emacs by using Gnus. The news
363 can be gotten by any nefarious means you can think of---@sc{nntp}, local 363 can be gotten by any nefarious means you can think of---@sc{nntp}, local
364 spool or your mbox file. All at the same time, if you want to push your 364 spool or your mbox file. All at the same time, if you want to push your
365 luck. 365 luck.
366 366
367 This manual corresponds to Gnus 5.8.7. 367 This manual corresponds to Gnus 5.9.0.
368 368
369 @end ifinfo 369 @end ifinfo
370 370
371 @iftex 371 @iftex
372 372
8547 @cindex moving articles 8547 @cindex moving articles
8548 If you move (or copy) articles regularly, you might wish to have Gnus 8548 If you move (or copy) articles regularly, you might wish to have Gnus
8549 suggest where to put the articles. @code{gnus-move-split-methods} is a 8549 suggest where to put the articles. @code{gnus-move-split-methods} is a
8550 variable that uses the same syntax as @code{gnus-split-methods} 8550 variable that uses the same syntax as @code{gnus-split-methods}
8551 (@pxref{Saving Articles}). You may customize that variable to create 8551 (@pxref{Saving Articles}). You may customize that variable to create
8552 suggestions you find reasonable. 8552 suggestions you find reasonable. (Note that
8553 @code{gnus-move-split-methods} uses group names where
8554 @code{gnus-split-methods} uses file names.)
8553 8555
8554 @lisp 8556 @lisp
8555 (setq gnus-move-split-methods 8557 (setq gnus-move-split-methods
8556 '(("^From:.*Lars Magne" "nnml:junk") 8558 '(("^From:.*Lars Magne" "nnml:junk")
8557 ("^Subject:.*gnus" "nnfolder:important") 8559 ("^Subject:.*gnus" "nnfolder:important")
10471 @enumerate 10473 @enumerate
10472 @item 10474 @item
10473 The file contains one or more line, each of which define one server. 10475 The file contains one or more line, each of which define one server.
10474 10476
10475 @item 10477 @item
10476 Each line may contain an arbitrary number of token/value pairs. The 10478 The valid tokens include @samp{machine}, @samp{login}, @samp{password},
10477 valid tokens include @samp{machine}, @samp{login}, @samp{password}, 10479 @samp{default}. In addition Gnus introduces two new tokens, not present
10478 @samp{default}, @samp{port} and @samp{force}. (The latter is not a 10480 in the original @file{.netrc}/@code{ftp} syntax, namely @samp{port} and
10479 valid @file{.netrc}/@code{ftp} token, which is almost the only way the 10481 @samp{force}. (This is the only way the @file{.authinfo} file format
10480 @file{.authinfo} file format deviates from the @file{.netrc} file 10482 deviates from the @file{.netrc} file format.) @samp{port} is used to
10481 format.) 10483 indicate what port on the server the credentials apply to and
10484 @samp{force} is explained below.
10482 10485
10483 @end enumerate 10486 @end enumerate
10484 10487
10485 Here's an example file: 10488 Here's an example file:
10486 10489
11762 In-Reply-To) header of each message to split and searches the file 11765 In-Reply-To) header of each message to split and searches the file
11763 specified by @code{nnmail-message-id-cache-file} for the message ids. 11766 specified by @code{nnmail-message-id-cache-file} for the message ids.
11764 When it has found a parent, it returns the corresponding group name. It 11767 When it has found a parent, it returns the corresponding group name. It
11765 is recommended that you set @code{nnmail-message-id-cache-length} to a 11768 is recommended that you set @code{nnmail-message-id-cache-length} to a
11766 somewhat higher number than the default so that the message ids are 11769 somewhat higher number than the default so that the message ids are
11767 still in the cache. (A value of 5000 appears to create a file some 11770 still in the cache. (A value of 5000 appears to create a file some 300
11768 300 kBytes in size.) 11771 kBytes in size.)
11772 @vindex nnmail-cache-accepted-message-ids
11773 When @code{nnmail-cache-accepted-message-ids} is non-@code{nil}, Gnus
11774 also records the message ids of moved articles, so that the followup
11775 messages goes into the new group.
11769 11776
11770 11777
11771 @node Group Mail Splitting 11778 @node Group Mail Splitting
11772 @subsection Group Mail Splitting 11779 @subsection Group Mail Splitting
11773 @cindex mail splitting 11780 @cindex mail splitting
11808 @code{gnus-group-split} will do cross-posting on all groups that match, 11815 @code{gnus-group-split} will do cross-posting on all groups that match,
11809 by defining a single @code{&} fancy split containing one split for each 11816 by defining a single @code{&} fancy split containing one split for each
11810 group. If a message doesn't match any split, it will be stored in the 11817 group. If a message doesn't match any split, it will be stored in the
11811 group named in @code{gnus-group-split-default-catch-all-group}, unless 11818 group named in @code{gnus-group-split-default-catch-all-group}, unless
11812 some group has @var{split-spec} set to @code{catch-all}, in which case 11819 some group has @var{split-spec} set to @code{catch-all}, in which case
11813 that group is used as the catch-all group. Note that, in this case, 11820 that group is used as the catch-all group. Even though this variable is
11814 there's no cross-posting, as a @code{|} fancy split encloses the 11821 often used just to name a group, it may also be set to an arbitrarily
11815 @code{&} split and the catch-all group. 11822 complex fancy split (after all, a group name is a fancy split), and this
11823 may be useful to split mail that doesn't go to any mailing list to
11824 personal mail folders. Note that this fancy split is added as the last
11825 element of a @code{|} split list that also contains a @code{&} split
11826 with the rules extracted from group parameters.
11816 11827
11817 It's time for an example. Assume the following group parameters have 11828 It's time for an example. Assume the following group parameters have
11818 been defined: 11829 been defined:
11819 11830
11820 @example 11831 @example
11851 @end lisp 11862 @end lisp
11852 11863
11853 @var{groups} may be a regular expression or a list of group names whose 11864 @var{groups} may be a regular expression or a list of group names whose
11854 parameters will be scanned to generate the output split. 11865 parameters will be scanned to generate the output split.
11855 @var{no-crosspost} can be used to disable cross-posting; in this case, a 11866 @var{no-crosspost} can be used to disable cross-posting; in this case, a
11856 single @code{|} split will be output. @var{catch-all} may be the name 11867 single @code{|} split will be output. @var{catch-all} is the fallback
11857 of a group to be used as the default catch-all group. If 11868 fancy split, used like @var{gnus-group-split-default-catch-all-group}.
11858 @var{catch-all} is @code{nil}, or if @var{split-regexp} matches the 11869 If @var{catch-all} is @code{nil}, or if @var{split-regexp} matches the
11859 empty string in any selected group, no catch-all split will be issued. 11870 empty string in any selected group, no catch-all split will be issued.
11860 Otherwise, if some group has @var{split-spec} set to @code{catch-all}, 11871 Otherwise, if some group has @var{split-spec} set to @code{catch-all},
11861 this group will override the value of the @var{catch-all} argument. 11872 this group will override the value of the @var{catch-all} argument.
11862 11873
11863 @findex gnus-group-split-setup 11874 @findex gnus-group-split-setup
11864 Unfortunately, scanning all groups and their parameters can be quite 11875 Unfortunately, scanning all groups and their parameters can be quite
11865 slow, especially considering that it has to be done for every message. 11876 slow, especially considering that it has to be done for every message.
11866 But don't despair! The function @code{gnus-group-split-setup} can be 11877 But don't despair! The function @code{gnus-group-split-setup} can be
11867 used to select @code{gnus-group-split} in a much more efficient way. It 11878 used to enable @code{gnus-group-split} in a much more efficient way. It
11868 sets @code{nnmail-split-methods} to @code{nnmail-split-fancy} and sets 11879 sets @code{nnmail-split-methods} to @code{nnmail-split-fancy} and sets
11869 @code{nnmail-split-fancy} to the split produced by 11880 @code{nnmail-split-fancy} to the split produced by
11870 @code{gnus-group-split-fancy}. Thus, the group parameters are only 11881 @code{gnus-group-split-fancy}. Thus, the group parameters are only
11871 scanned once, no matter how many messages are split. 11882 scanned once, no matter how many messages are split.
11872 11883
11882 @end lisp 11893 @end lisp
11883 11894
11884 If @var{auto-update} is non-@code{nil}, @code{gnus-group-split-update} 11895 If @var{auto-update} is non-@code{nil}, @code{gnus-group-split-update}
11885 will be added to @code{nnmail-pre-get-new-mail-hook}, so you won't ever 11896 will be added to @code{nnmail-pre-get-new-mail-hook}, so you won't ever
11886 have to worry about updating @code{nnmail-split-fancy} again. If you 11897 have to worry about updating @code{nnmail-split-fancy} again. If you
11887 don't omit @var{catch-all} (it's optional), 11898 don't omit @var{catch-all} (it's optional, equivalent to @code{nil}),
11888 @code{gnus-group-split-default-catch-all-group} will be set to its 11899 @code{gnus-group-split-default-catch-all-group} will be set to its
11889 value. 11900 value.
11890 11901
11891 @vindex gnus-group-split-updated-hook 11902 @vindex gnus-group-split-updated-hook
11892 Because you may want to change @code{nnmail-split-fancy} after it is set 11903 Because you may want to change @code{nnmail-split-fancy} after it is set