diff options
| author | Andrew G Cohen | 2022-03-22 12:11:14 +0800 |
|---|---|---|
| committer | Andrew G Cohen | 2022-03-23 08:13:28 +0800 |
| commit | eb25ae3f2db2543bc4c31fbddb4c719e43913ff8 (patch) | |
| tree | 614540978c75303d2ad21755d1434427a421e9ac /doc | |
| parent | c14ce74f3316357489e8dc7de3a75648b6a12757 (diff) | |
| download | emacs-eb25ae3f2db2543bc4c31fbddb4c719e43913ff8.tar.gz emacs-eb25ae3f2db2543bc4c31fbddb4c719e43913ff8.zip | |
Refactor gnus/nnselect artlist saving and getting
* lisp/gnus/nnselect.el (nnselect-generate-run): New function that
replaces nnselect-run.
(nnselect-store-artlist): New function.
(nnselect-get-artlist): Update function.
(nnselect-request-group, nnselect-request-thread)
(nnselect-request-create-group, nnselect-request-group-scan): Use the
new functions.
* doc/misc/gnus.texi (Selection Groups): Document artlist storage and
retrieval.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/gnus.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index f87eab7e513..eb93269721c 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -18078,6 +18078,17 @@ parameter of @code{nnselect-rescan} will allow automatic refreshing. | |||
| 18078 | A refresh can always be invoked manually through | 18078 | A refresh can always be invoked manually through |
| 18079 | @code{gnus-group-get-new-news-this-group}. | 18079 | @code{gnus-group-get-new-news-this-group}. |
| 18080 | 18080 | ||
| 18081 | By default a compressed version of the selection is stored (for | ||
| 18082 | permanent groups) along with other group information in the newsrc. | ||
| 18083 | For cases where this might be undesirable (for example if the | ||
| 18084 | selection is a very long list that doesn't compress well) a | ||
| 18085 | non-@code{nil} group parameter of @code{nnselect-always-regenerate} | ||
| 18086 | will prevent the list from being stored, and instead regenerate the | ||
| 18087 | list each time it is needed. If more flexibility is desired, | ||
| 18088 | @code{nnselect-get-artlist-override-function} and | ||
| 18089 | @code{nnselect-store-artlist-override-function} may be set to | ||
| 18090 | functions that get and store the list of articles. | ||
| 18091 | |||
| 18081 | Gnus includes engines for searching a variety of backends. While the | 18092 | Gnus includes engines for searching a variety of backends. While the |
| 18082 | details of each search engine vary, the result of a search is always a | 18093 | details of each search engine vary, the result of a search is always a |
| 18083 | vector of the sort used by the nnselect method, and the results of | 18094 | vector of the sort used by the nnselect method, and the results of |