diff options
| author | Teodor Zlatanov | 2011-04-14 10:41:00 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-04-14 10:41:00 +0000 |
| commit | c3c65d735bb96d6e6a37ef91b1d5890eba6b6267 (patch) | |
| tree | cd1c7edb26b148b0c31925882ed94d85c3bedd90 /doc | |
| parent | 8b913b570b95f17c9380a9b1f3a487e7c098ecaa (diff) | |
| download | emacs-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/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 75 |
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 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-04-13 Juanma Barranquero <lekktu@gmail.com> | 7 | 2011-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 |
| 22062 | If you use the Gnus registry: don't use the registry with | 22062 | If 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 |
| 22065 | you use @code{gnus-registry-split-fancy-with-parent}; mails which are | 22065 | @emph{extra careful} if you use |
| 22066 | split into @code{nnmairix} groups are usually gone for good as soon as | 22066 | @code{gnus-registry-split-fancy-with-parent}; mails which are split |
| 22067 | you check the group for new mail (yes, it has happened to me...). | 22067 | into @code{nnmairix} groups are usually gone for good as soon as you |
| 22068 | check the group for new mail (yes, it has happened to me...). | ||
| 22068 | 22069 | ||
| 22069 | @item | 22070 | @item |
| 22070 | Therefore: @emph{Never ever} put ``real'' mails into @code{nnmairix} | 22071 | Therefore: @emph{Never ever} put ``real'' mails into @code{nnmairix} |
| @@ -25916,8 +25917,7 @@ of all messages matching a particular set of criteria. | |||
| 25916 | Fortunately, setting up the Gnus registry is pretty easy: | 25917 | Fortunately, 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 | ||
| 25946 | They say: keep a lot of messages around, use long group names, track | 25946 | They say: keep a lot of messages around, track messages by sender and |
| 25947 | messages by sender and subject (not just parent Message-ID), and when | 25947 | subject (not just parent Message-ID), and when the registry splits |
| 25948 | the registry splits incoming mail, use a majority rule to decide where | 25948 | incoming mail, use a majority rule to decide where messages should go |
| 25949 | messages should go if there's more than one possibility. In addition, | 25949 | if there's more than one possibility. In addition, the registry |
| 25950 | the registry should ignore messages in groups that match ``nntp'', | 25950 | should ignore messages in groups that match ``nntp'', ``nnrss'', |
| 25951 | ``nnrss'', ``spam'', or ``train.'' | 25951 | ``spam'', or ``train.'' |
| 25952 | 25952 | ||
| 25953 | You are doubtless impressed by all this, but you ask: ``I am a Gnus | 25953 | You are doubtless impressed by all this, but you ask: ``I am a Gnus |
| 25954 | user, I customize to live. Give me more.'' Here you go, these are | 25954 | user, I customize to live. Give me more.'' Here you go, these are |
| @@ -25958,19 +25958,9 @@ the general settings. | |||
| 25958 | The groups that will not be followed by | 25958 | The 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 |
| 25960 | remembered by the registry. This is a list of regular expressions. | 25960 | remembered by the registry. This is a list of regular expressions. |
| 25961 | @end defvar | 25961 | By 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 | 25963 | the word ``archive'' is not followed. |
| 25964 | The groups that will not be remembered by the registry. This is a | ||
| 25965 | list of regular expressions, also available through Group/Topic | ||
| 25966 | customization (so you can ignore or keep a specific group or a whole | ||
| 25967 | topic). | ||
| 25968 | @end defvar | ||
| 25969 | |||
| 25970 | @defvar gnus-registry-use-long-group-names | ||
| 25971 | Whether the registry will use long group names. It's recommended to | ||
| 25972 | set this to @code{t}, although everything works if you don't. Future | ||
| 25973 | functionality 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 | |||
| 25978 | registry will keep. | 25968 | registry will keep. |
| 25979 | @end defvar | 25969 | @end defvar |
| 25980 | 25970 | ||
| 25971 | @defvar gnus-registry-max-pruned-entries | ||
| 25972 | The maximum number (an integer or @code{nil} for unlimited) of entries | ||
| 25973 | the registry will keep after pruning. | ||
| 25974 | @end defvar | ||
| 25975 | |||
| 25981 | @defvar gnus-registry-cache-file | 25976 | @defvar gnus-registry-cache-file |
| 25982 | The file where the registry will be stored between Gnus sessions. | 25977 | The file where the registry will be stored between Gnus sessions. By |
| 25978 | default the file name is @code{.gnus.registry.eioio} in the same | ||
| 25979 | directory 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 |
| 26052 | This is a list of symbols, so it's best to change it from the | 26048 | This is a list of symbols, so it's best to change it from the |
| 26053 | Customize interface. By default it's @code{nil}, but you may want to | 26049 | Customize interface. By default it's @code{(subject sender)}, which |
| 26054 | track @code{subject} and @code{sender} as well when splitting by parent. | 26050 | may work for you. It can be annoying if your mail flow is large and |
| 26055 | It may work for you. It can be annoying if your mail flow is large and | ||
| 26056 | people don't stick to the same groups. | 26051 | people 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. | |||
| 26060 | This is a symbol, so it's best to change it from the Customize | 26055 | This is a symbol, so it's best to change it from the Customize |
| 26061 | interface. By default it's @code{nil}, but you may want to set it to | 26056 | interface. 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 |
| 26063 | the majority of matches or on the first found. | 26058 | the majority of matches or on the first found. I find @code{majority} |
| 26059 | works 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 | |||
| 26095 | store arbitrary data (as long as it can be converted to a list for | 26091 | store arbitrary data (as long as it can be converted to a list for |
| 26096 | storage). | 26092 | storage). |
| 26097 | 26093 | ||
| 26098 | @defun gnus-registry-store-extra-entry (id key value) | 26094 | @defun gnus-registry-set-id-key (id key value) |
| 26099 | Store @code{value} in the extra data key @code{key} for message | 26095 | Store @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) | ||
| 26104 | Delete 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) |
| 26108 | Get the extra data key @code{key} for message @code{id}. | 26099 | Get 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 |