From fa735ebc0cd4fbb96ae05b494f7728f5707a8536 Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Sun, 7 Feb 2021 13:46:50 -0800 Subject: [PATCH] Fix namazu search result parsing in gnus-search * lisp/gnus/gnus-search.el (gnus-search-indexed-extract): This method is documented to leave point at the end of the extracted search result. The namazu implementation wasn't doing that. --- lisp/gnus/gnus-search.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/gnus/gnus-search.el b/lisp/gnus/gnus-search.el index 0783d34733a..21602f825c1 100644 --- a/lisp/gnus/gnus-search.el +++ b/lisp/gnus/gnus-search.el @@ -1514,6 +1514,7 @@ Namazu provides a little more information, for instance a score." (when (re-search-forward "^\\([0-9,]+\\.\\).*\\((score: \\([0-9]+\\)\\))\n\\([^ ]+\\)" nil t) + (forward-line 1) (list (match-string 4) (match-string 3)))) -- 2.39.2