aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorAndrew G Cohen2022-11-22 15:39:01 +0800
committerAndrew G Cohen2023-04-15 08:10:04 +0800
commitbf986c1faf53f3abd260f72cb36d9143afac353d (patch)
tree4830dfb3a5b851d339f0ab86a195f2bdd7b9ae89 /doc/misc
parent67ab357cdccbe6e04eb0b5cff1d6265d668116ce (diff)
downloademacs-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.texi23
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)}
10529Display the full thread where the current article appears 10529Display 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
10531articles only in the current group. Some backends (currently only 10531articles 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 10532that has an associated search engine, articles are found by searching.
10533other cases each header in the current group must be fetched and 10533In other cases each header in the current group must be fetched and
10534examined, so it usually takes a while. If you do it often, you may 10534examined, so it usually takes a while. If you do it often, you may
10535consider setting @code{gnus-fetch-old-headers} to @code{invisible} 10535consider 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
10538course, it'll make group entry somewhat slow. 10538course, it'll make group entry somewhat slow.
10539 10539
10540@vindex gnus-refer-thread-use-search 10540@vindex gnus-refer-thread-use-search
10541If @code{gnus-refer-thread-use-search} is non-@code{nil} then those backends 10541If @code{gnus-refer-thread-use-search} is @code{nil} (the default)
10542that know how to find threads directly will search not just in the 10542then thread-referral only looks for articles in the current group. If
10543current group but all groups on the same server. 10543this variable is @code{t} the server to which the current group
10544belongs is searched (provided that searching is available for the
10545server's backend). If this variable is a list of servers, each server
10546in the list is searched.
10544 10547
10545@vindex gnus-refer-thread-limit 10548@vindex gnus-refer-thread-limit
10546The @code{gnus-refer-thread-limit} variable says how many old (i.e., 10549The @code{gnus-refer-thread-limit} variable says how many old (i.e.,
10547articles before the first displayed in the current group) headers to 10550articles before the first displayed in the current group) headers to
10548fetch when doing this command. The default is 200. If @code{t}, all 10551fetch when referring a thread. The default is 500. If @code{t}, all
10549the available headers will be fetched. This variable can be overridden 10552the available headers will be fetched. This variable can be
10550by giving the @kbd{A T} command a numerical prefix. 10553overridden 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
10553In 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
10554the current summary buffer. (When @code{gnus-refer-thread-use-search} 10557the current summary buffer. (When @code{gnus-refer-thread-use-search}
10555is true and the initial referral starts from a summary buffer for a 10558is true and the initial referral starts from a summary buffer for a
10556non-virtual group this may not be possible. In this case a new 10559non-virtual group this may not be possible. In this case a new