aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTeodor Zlatanov2011-04-14 10:41:00 +0000
committerKatsumi Yamaoka2011-04-14 10:41:00 +0000
commitc3c65d735bb96d6e6a37ef91b1d5890eba6b6267 (patch)
treecd1c7edb26b148b0c31925882ed94d85c3bedd90 /doc
parent8b913b570b95f17c9380a9b1f3a487e7c098ecaa (diff)
downloademacs-c3c65d735bb96d6e6a37ef91b1d5890eba6b6267.tar.gz
emacs-c3c65d735bb96d6e6a37ef91b1d5890eba6b6267.zip
gnus.texi (nnmairix caveats, Setup, Registry Article Refer Method)
(Fancy splitting to parent, Store arbitrary data): Updated gnus-registry docs. gnus-registry.el: Updated gnus-registry docs.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/ChangeLog6
-rw-r--r--doc/misc/gnus.texi75
2 files changed, 39 insertions, 42 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 4f366cc17ce..49c87078ca9 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,9 @@
12011-04-14 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * gnus.texi (nnmairix caveats, Setup, Registry Article Refer Method)
4 (Fancy splitting to parent, Store arbitrary data): Updated
5 gnus-registry docs.
6
12011-04-13 Juanma Barranquero <lekktu@gmail.com> 72011-04-13 Juanma Barranquero <lekktu@gmail.com>
2 8
3 * ede.texi: Fix typos. 9 * ede.texi: Fix typos.
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index fa417997794..2fa6de005e8 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -22061,10 +22061,11 @@ mairix.)
22061@item 22061@item
22062If you use the Gnus registry: don't use the registry with 22062If you use the Gnus registry: don't use the registry with
22063@code{nnmairix} groups (put them in 22063@code{nnmairix} groups (put them in
22064@code{gnus-registry-unfollowed-groups}). Be @emph{extra careful} if 22064@code{gnus-registry-unfollowed-groups}; this is the default). Be
22065you use @code{gnus-registry-split-fancy-with-parent}; mails which are 22065@emph{extra careful} if you use
22066split into @code{nnmairix} groups are usually gone for good as soon as 22066@code{gnus-registry-split-fancy-with-parent}; mails which are split
22067you check the group for new mail (yes, it has happened to me...). 22067into @code{nnmairix} groups are usually gone for good as soon as you
22068check the group for new mail (yes, it has happened to me...).
22068 22069
22069@item 22070@item
22070Therefore: @emph{Never ever} put ``real'' mails into @code{nnmairix} 22071Therefore: @emph{Never ever} put ``real'' mails into @code{nnmairix}
@@ -25916,8 +25917,7 @@ of all messages matching a particular set of criteria.
25916Fortunately, setting up the Gnus registry is pretty easy: 25917Fortunately, setting up the Gnus registry is pretty easy:
25917 25918
25918@lisp 25919@lisp
25919(setq gnus-registry-max-entries 2500 25920(setq gnus-registry-max-entries 2500)
25920 gnus-registry-use-long-group-names t)
25921 25921
25922(gnus-registry-initialize) 25922(gnus-registry-initialize)
25923@end lisp 25923@end lisp
@@ -25939,16 +25939,16 @@ what they do before you copy them blindly).
25939 ("spam" t) 25939 ("spam" t)
25940 ("train" t)) 25940 ("train" t))
25941 gnus-registry-max-entries 500000 25941 gnus-registry-max-entries 500000
25942 gnus-registry-use-long-group-names t 25942 ;; this is the default
25943 gnus-registry-track-extra '(sender subject)) 25943 gnus-registry-track-extra '(sender subject))
25944@end lisp 25944@end lisp
25945 25945
25946They say: keep a lot of messages around, use long group names, track 25946They say: keep a lot of messages around, track messages by sender and
25947messages by sender and subject (not just parent Message-ID), and when 25947subject (not just parent Message-ID), and when the registry splits
25948the registry splits incoming mail, use a majority rule to decide where 25948incoming mail, use a majority rule to decide where messages should go
25949messages should go if there's more than one possibility. In addition, 25949if there's more than one possibility. In addition, the registry
25950the registry should ignore messages in groups that match ``nntp'', 25950should ignore messages in groups that match ``nntp'', ``nnrss'',
25951``nnrss'', ``spam'', or ``train.'' 25951``spam'', or ``train.''
25952 25952
25953You are doubtless impressed by all this, but you ask: ``I am a Gnus 25953You are doubtless impressed by all this, but you ask: ``I am a Gnus
25954user, I customize to live. Give me more.'' Here you go, these are 25954user, I customize to live. Give me more.'' Here you go, these are
@@ -25958,19 +25958,9 @@ the general settings.
25958The groups that will not be followed by 25958The groups that will not be followed by
25959@code{gnus-registry-split-fancy-with-parent}. They will still be 25959@code{gnus-registry-split-fancy-with-parent}. They will still be
25960remembered by the registry. This is a list of regular expressions. 25960remembered by the registry. This is a list of regular expressions.
25961@end defvar 25961By default any group name that ends with ``delayed,'' ``drafts,''
25962 25962``queue,'' or ``INBOX'', belongs to the nnmairix backend, or contains
25963@defvar gnus-registry-ignored-groups 25963the word ``archive'' is not followed.
25964The groups that will not be remembered by the registry. This is a
25965list of regular expressions, also available through Group/Topic
25966customization (so you can ignore or keep a specific group or a whole
25967topic).
25968@end defvar
25969
25970@defvar gnus-registry-use-long-group-names
25971Whether the registry will use long group names. It's recommended to
25972set this to @code{t}, although everything works if you don't. Future
25973functionality will require it.
25974@end defvar 25964@end defvar
25975 25965
25976@defvar gnus-registry-max-entries 25966@defvar gnus-registry-max-entries
@@ -25978,8 +25968,15 @@ The number (an integer or @code{nil} for unlimited) of entries the
25978registry will keep. 25968registry will keep.
25979@end defvar 25969@end defvar
25980 25970
25971@defvar gnus-registry-max-pruned-entries
25972The maximum number (an integer or @code{nil} for unlimited) of entries
25973the registry will keep after pruning.
25974@end defvar
25975
25981@defvar gnus-registry-cache-file 25976@defvar gnus-registry-cache-file
25982The file where the registry will be stored between Gnus sessions. 25977The file where the registry will be stored between Gnus sessions. By
25978default the file name is @code{.gnus.registry.eioio} in the same
25979directory as your @code{.newsrc.eld}.
25983@end defvar 25980@end defvar
25984 25981
25985@node Registry Article Refer Method 25982@node Registry Article Refer Method
@@ -26003,8 +26000,7 @@ lines:
26003;; Keep enough entries to have a good hit rate when referring to an 26000;; Keep enough entries to have a good hit rate when referring to an
26004;; article using the registry. Use long group names so that Gnus 26001;; article using the registry. Use long group names so that Gnus
26005;; knows where the article is. 26002;; knows where the article is.
26006(setq gnus-registry-max-entries 2500 26003(setq gnus-registry-max-entries 2500)
26007 gnus-registry-use-long-group-names t)
26008 26004
26009(gnus-registry-initialize) 26005(gnus-registry-initialize)
26010 26006
@@ -26050,9 +26046,8 @@ following variables.
26050 26046
26051@defvar gnus-registry-track-extra 26047@defvar gnus-registry-track-extra
26052This is a list of symbols, so it's best to change it from the 26048This is a list of symbols, so it's best to change it from the
26053Customize interface. By default it's @code{nil}, but you may want to 26049Customize interface. By default it's @code{(subject sender)}, which
26054track @code{subject} and @code{sender} as well when splitting by parent. 26050may work for you. It can be annoying if your mail flow is large and
26055It may work for you. It can be annoying if your mail flow is large and
26056people don't stick to the same groups. 26051people don't stick to the same groups.
26057@end defvar 26052@end defvar
26058 26053
@@ -26060,7 +26055,8 @@ people don't stick to the same groups.
26060This is a symbol, so it's best to change it from the Customize 26055This is a symbol, so it's best to change it from the Customize
26061interface. By default it's @code{nil}, but you may want to set it to 26056interface. By default it's @code{nil}, but you may want to set it to
26062@code{majority} or @code{first} to split by sender or subject based on 26057@code{majority} or @code{first} to split by sender or subject based on
26063the majority of matches or on the first found. 26058the majority of matches or on the first found. I find @code{majority}
26059works best.
26064@end defvar 26060@end defvar
26065 26061
26066@node Store custom flags and keywords 26062@node Store custom flags and keywords
@@ -26095,17 +26091,12 @@ The registry has a simple API that uses a Message-ID as the key to
26095store arbitrary data (as long as it can be converted to a list for 26091store arbitrary data (as long as it can be converted to a list for
26096storage). 26092storage).
26097 26093
26098@defun gnus-registry-store-extra-entry (id key value) 26094@defun gnus-registry-set-id-key (id key value)
26099Store @code{value} in the extra data key @code{key} for message 26095Store @code{value} under @code{key} for message @code{id}.
26100@code{id}.
26101@end defun
26102
26103@defun gnus-registry-delete-extra-entry (id key)
26104Delete the extra data key @code{key} for message @code{id}.
26105@end defun 26096@end defun
26106 26097
26107@defun gnus-registry-fetch-extra (id key) 26098@defun gnus-registry-get-id-key (id key)
26108Get the extra data key @code{key} for message @code{id}. 26099Get the data under @code{key} for message @code{id}.
26109@end defun 26100@end defun
26110 26101
26111@defvar gnus-registry-extra-entries-precious 26102@defvar gnus-registry-extra-entries-precious