diff options
| -rw-r--r-- | lisp/gnus/gnus-search.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-search.el b/lisp/gnus/gnus-search.el index 98a7e23428b..839e5d203ff 100644 --- a/lisp/gnus/gnus-search.el +++ b/lisp/gnus/gnus-search.el | |||
| @@ -1434,6 +1434,9 @@ Returns a list of [group article score] vectors." | |||
| 1434 | "")) | 1434 | "")) |
| 1435 | (groups (mapcar #'gnus-group-short-name groups)) | 1435 | (groups (mapcar #'gnus-group-short-name groups)) |
| 1436 | artlist article group) | 1436 | artlist article group) |
| 1437 | (when (>= gnus-verbose 7) | ||
| 1438 | (gnus-message 7 "Search engine returned %d results" | ||
| 1439 | (car (buffer-line-statistics)))) | ||
| 1437 | (goto-char (point-min)) | 1440 | (goto-char (point-min)) |
| 1438 | ;; Prep prefix, we want to at least be removing the root | 1441 | ;; Prep prefix, we want to at least be removing the root |
| 1439 | ;; filesystem separator. | 1442 | ;; filesystem separator. |
| @@ -1485,6 +1488,10 @@ Returns a list of [group article score] vectors." | |||
| 1485 | ;; Are we running an additional grep query? | 1488 | ;; Are we running an additional grep query? |
| 1486 | (when-let ((grep-reg (alist-get 'grep query))) | 1489 | (when-let ((grep-reg (alist-get 'grep query))) |
| 1487 | (setq artlist (gnus-search-grep-search engine artlist grep-reg))) | 1490 | (setq artlist (gnus-search-grep-search engine artlist grep-reg))) |
| 1491 | |||
| 1492 | (when (>= gnus-verbose 7) | ||
| 1493 | (gnus-message 7 "Gnus search returning %d results" | ||
| 1494 | (length artlist))) | ||
| 1488 | ;; Munge into the list of vectors expected by nnselect. | 1495 | ;; Munge into the list of vectors expected by nnselect. |
| 1489 | (mapcar (pcase-lambda (`(,_ ,article ,group ,score)) | 1496 | (mapcar (pcase-lambda (`(,_ ,article ,group ,score)) |
| 1490 | (vector | 1497 | (vector |