diff options
| author | Andrew G Cohen | 2022-11-22 15:39:01 +0800 |
|---|---|---|
| committer | Andrew G Cohen | 2023-04-15 08:10:04 +0800 |
| commit | bf986c1faf53f3abd260f72cb36d9143afac353d (patch) | |
| tree | 4830dfb3a5b851d339f0ab86a195f2bdd7b9ae89 /doc/misc | |
| parent | 67ab357cdccbe6e04eb0b5cff1d6265d668116ce (diff) | |
| download | emacs-bf986c1faf53f3abd260f72cb36d9143afac353d.tar.gz emacs-bf986c1faf53f3abd260f72cb36d9143afac353d.zip | |
Improve gnus thread-referral
Allow thread referral to use search whenever possible, displaying the
results in the current summary buffer if possible and a new nnselect
buffer if not.
* lisp/gnus/nnimap.el (nnimap-request-thread): Obsolete function.
* lisp/gnus/gnus-search.el (gnus-search-thread): Allow detailed
specification of how/where to search. Add found articles to the
current summary buffer if possible, or create a new ephemeral nnselect
group if not.
* lisp/gnus/gnus-sum.el (gnus-refer-thread-use-search): Allow a list
of servers and groups to search.
(gnus-summary-refer-thread): Find thread-related articles by using a
backend-specific method, gnus-search, or retrieving nearby headers in
the current group.
* lisp/gnus/nnselect.el (nnselect-search-thread): Obsolete function.
(nnselect-request-thread): Allow thread referral from nnselect groups.
* doc/misc/gnus.texi (Finding the Parent): Document changes to thread
referral.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/gnus.texi | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index f0d3c75d055..3790a9b12bf 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -10528,9 +10528,9 @@ article (@code{gnus-summary-refer-references}). | |||
| 10528 | @kindex A T @r{(Summary)} | 10528 | @kindex A T @r{(Summary)} |
| 10529 | Display the full thread where the current article appears | 10529 | Display the full thread where the current article appears |
| 10530 | (@code{gnus-summary-refer-thread}). By default this command looks for | 10530 | (@code{gnus-summary-refer-thread}). By default this command looks for |
| 10531 | articles only in the current group. Some backends (currently only | 10531 | articles only in the current group. If the group belongs to a backend |
| 10532 | @code{nnimap}) know how to find articles in the thread directly. In | 10532 | that has an associated search engine, articles are found by searching. |
| 10533 | other cases each header in the current group must be fetched and | 10533 | In other cases each header in the current group must be fetched and |
| 10534 | examined, so it usually takes a while. If you do it often, you may | 10534 | examined, so it usually takes a while. If you do it often, you may |
| 10535 | consider setting @code{gnus-fetch-old-headers} to @code{invisible} | 10535 | consider setting @code{gnus-fetch-old-headers} to @code{invisible} |
| 10536 | (@pxref{Filling In Threads}). This won't have any visible effects | 10536 | (@pxref{Filling In Threads}). This won't have any visible effects |
| @@ -10538,19 +10538,22 @@ normally, but it'll make this command work a whole lot faster. Of | |||
| 10538 | course, it'll make group entry somewhat slow. | 10538 | course, it'll make group entry somewhat slow. |
| 10539 | 10539 | ||
| 10540 | @vindex gnus-refer-thread-use-search | 10540 | @vindex gnus-refer-thread-use-search |
| 10541 | If @code{gnus-refer-thread-use-search} is non-@code{nil} then those backends | 10541 | If @code{gnus-refer-thread-use-search} is @code{nil} (the default) |
| 10542 | that know how to find threads directly will search not just in the | 10542 | then thread-referral only looks for articles in the current group. If |
| 10543 | current group but all groups on the same server. | 10543 | this variable is @code{t} the server to which the current group |
| 10544 | belongs is searched (provided that searching is available for the | ||
| 10545 | server's backend). If this variable is a list of servers, each server | ||
| 10546 | in the list is searched. | ||
| 10544 | 10547 | ||
| 10545 | @vindex gnus-refer-thread-limit | 10548 | @vindex gnus-refer-thread-limit |
| 10546 | The @code{gnus-refer-thread-limit} variable says how many old (i.e., | 10549 | The @code{gnus-refer-thread-limit} variable says how many old (i.e., |
| 10547 | articles before the first displayed in the current group) headers to | 10550 | articles before the first displayed in the current group) headers to |
| 10548 | fetch when doing this command. The default is 200. If @code{t}, all | 10551 | fetch when referring a thread. The default is 500. If @code{t}, all |
| 10549 | the available headers will be fetched. This variable can be overridden | 10552 | the available headers will be fetched. This variable can be |
| 10550 | by giving the @kbd{A T} command a numerical prefix. | 10553 | overridden by giving the @kbd{A T} command a numerical prefix. |
| 10551 | 10554 | ||
| 10552 | @vindex gnus-refer-thread-limit-to-thread | 10555 | @vindex gnus-refer-thread-limit-to-thread |
| 10553 | In most cases @code{gnus-refer-thread} adds any articles it finds to | 10556 | @code{gnus-summary-refer-thread} tries to add any articles it finds to |
| 10554 | the current summary buffer. (When @code{gnus-refer-thread-use-search} | 10557 | the current summary buffer. (When @code{gnus-refer-thread-use-search} |
| 10555 | is true and the initial referral starts from a summary buffer for a | 10558 | is true and the initial referral starts from a summary buffer for a |
| 10556 | non-virtual group this may not be possible. In this case a new | 10559 | non-virtual group this may not be possible. In this case a new |