Don't read all headers in gnus thread referral (bug#63842)
Gnus thread referral tries to add newly found articles to an existing summary buffer. When the list of such articles is known from searching we can speed things up by only entering these specific headers into the dependencies table. * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Don't set `gnus-read-all-available-headers' when finding articles by searching.
This commit is contained in:
parent
ef2a9b9779
commit
1e13610b75
1 changed files with 2 additions and 2 deletions
|
@ -9029,7 +9029,6 @@ is non-numeric or nil fetch the number specified by the
|
|||
(id (mail-header-id header))
|
||||
(gnus-inhibit-demon t)
|
||||
(gnus-summary-ignore-duplicates t)
|
||||
(gnus-read-all-available-headers t)
|
||||
(gnus-refer-thread-use-search
|
||||
(if (or (null limit) (numberp limit))
|
||||
gnus-refer-thread-use-search
|
||||
|
@ -9049,7 +9048,8 @@ is non-numeric or nil fetch the number specified by the
|
|||
(gnus-search-thread header))
|
||||
;; Otherwise just retrieve some headers.
|
||||
(t
|
||||
(let* ((limit (if (numberp limit)
|
||||
(let* ((gnus-read-all-available-headers t)
|
||||
(limit (if (numberp limit)
|
||||
limit
|
||||
gnus-refer-thread-limit))
|
||||
(last (if (numberp limit)
|
||||
|
|
Loading…
Add table
Reference in a new issue